Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/include/asm/
Didals.h121 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local
123 nr_ptrs = (size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_alloc()
125 ib = kmalloc(sizeof(struct idal_buffer) + nr_ptrs*sizeof(void *), in idal_buffer_alloc()
131 for (i = 0; i < nr_ptrs; i++) { in idal_buffer_alloc()
158 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local
160 nr_ptrs = (ib->size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_free()
162 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()