Searched refs:nr_chunks (Results 1 – 3 of 3) 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()