Searched refs:nr_ptrs (Results 1 – 1 of 1) sorted by relevance
121 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local123 nr_ptrs = (size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_alloc()125 ib = kmalloc(struct_size(ib, data, nr_ptrs), GFP_DMA | GFP_KERNEL); in idal_buffer_alloc()130 for (i = 0; i < nr_ptrs; i++) { in idal_buffer_alloc()157 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local159 nr_ptrs = (ib->size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_free()161 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()