Searched refs:nr_ptrs (Results 1 – 1 of 1) sorted by relevance
133 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local135 nr_ptrs = (size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_alloc()137 ib = kmalloc(struct_size(ib, data, nr_ptrs), GFP_DMA | GFP_KERNEL); in idal_buffer_alloc()142 for (i = 0; i < nr_ptrs; i++) { in idal_buffer_alloc()169 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local171 nr_ptrs = (ib->size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_free()173 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()