Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-s390x/
Didals.h140 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local
142 nr_ptrs = (size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_alloc()
144 ib = kmalloc(sizeof(struct idal_buffer) + nr_ptrs*sizeof(void *), in idal_buffer_alloc()
150 for (i = 0; i < nr_ptrs; i++) { in idal_buffer_alloc()
177 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local
179 nr_ptrs = (ib->size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_free()
181 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()
/linux-2.4.37.9/include/asm-s390/
Didals.h140 int nr_chunks, nr_ptrs, i; in idal_buffer_alloc() local
142 nr_ptrs = (size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_alloc()
144 ib = kmalloc(sizeof(struct idal_buffer) + nr_ptrs*sizeof(void *), in idal_buffer_alloc()
150 for (i = 0; i < nr_ptrs; i++) { in idal_buffer_alloc()
177 int nr_chunks, nr_ptrs, i; in idal_buffer_free() local
179 nr_ptrs = (ib->size + IDA_BLOCK_SIZE - 1) >> IDA_SIZE_LOG; in idal_buffer_free()
181 for (i = 0; i < nr_ptrs; i += nr_chunks) in idal_buffer_free()