Searched refs:nr_chunks (Results 1 – 4 of 4) sorted by relevance
134 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local139 nr_chunks = (PAGE_SIZE << page_order) >> IDA_SIZE_SHIFT; in idal_buffer_alloc()146 if (i & (nr_chunks - 1)) { in idal_buffer_alloc()157 while (i >= nr_chunks) { in idal_buffer_alloc()158 i -= nr_chunks; in idal_buffer_alloc()171 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local175 nr_chunks = (PAGE_SIZE << ib->page_order) >> IDA_SIZE_SHIFT; in idal_buffer_free()176 for (i = 0; i < nr_ptrs; i += nr_chunks) { in idal_buffer_free()
174 u32 nr_chunks; /* current # of live chunks */ member244 pcpu_stats.nr_chunks++; in pcpu_stats_chunk_alloc()246 max(pcpu_stats.nr_max_chunks, pcpu_stats.nr_chunks); in pcpu_stats_chunk_alloc()259 pcpu_stats.nr_chunks--; in pcpu_stats_chunk_dealloc()
187 PU(nr_chunks); in percpu_stats_show()
61 __le32 nr_chunks; /* 36 */ member172 unsigned int nr_chunks; member270 return zmd->nr_chunks; in dmz_nr_chunks()797 sb->nr_chunks = cpu_to_le32(zmd->nr_chunks); in dmz_write_sb()1077 if (le32_to_cpu(sb->nr_chunks) > nr_data_zones) { in dmz_check_sb()1079 le32_to_cpu(sb->nr_chunks), nr_data_zones); in dmz_check_sb()1086 zmd->nr_chunks = le32_to_cpu(sb->nr_chunks); in dmz_check_sb()1700 while (chunk < zmd->nr_chunks) { in dmz_load_mapping()2967 zmd->nr_data_zones, zmd->nr_chunks); in dmz_ctr_metadata()