Home
last modified time | relevance | path

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

/linux/arch/s390/include/asm/
H A 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/mm/
H A 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()
H A Dpercpu-stats.c187 PU(nr_chunks); in percpu_stats_show()