Searched refs:nr_chunks (Results 1 – 2 of 2) sorted by relevance
140 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local143 nr_chunks = (4096 << page_order) >> IDA_SIZE_LOG; in idal_buffer_alloc()151 if ((i & (nr_chunks - 1)) != 0) { in idal_buffer_alloc()160 while (i >= nr_chunks) { in idal_buffer_alloc()161 i -= nr_chunks; in idal_buffer_alloc()177 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local180 nr_chunks = (4096 << ib->page_order) >> IDA_SIZE_LOG; in idal_buffer_free()181 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()