Home
last modified time | relevance | path

Searched refs:nr_chunks (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/arch/s390/include/asm/
Didals.h134 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local
139 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() local
175 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()
/linux-6.12.1/mm/
Dpercpu-internal.h174 u32 nr_chunks; /* current # of live chunks */ member
244 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()
Dpercpu-stats.c187 PU(nr_chunks); in percpu_stats_show()
/linux-6.12.1/drivers/md/
Ddm-zoned-metadata.c61 __le32 nr_chunks; /* 36 */ member
172 unsigned int nr_chunks; member
270 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()