Searched refs:pool_idx (Results 1 – 1 of 1) sorted by relevance
/external/fio/ |
D | smalloc.c | 101 static int blocks_iter(struct pool *pool, unsigned int pool_idx, in blocks_iter() argument 110 if (pool_idx >= pool->nr_blocks) in blocks_iter() 113 map = &pool->bitmap[pool_idx]; in blocks_iter() 131 pool_idx++; in blocks_iter() 156 static int blocks_free(struct pool *pool, unsigned int pool_idx, in blocks_free() argument 159 return blocks_iter(pool, pool_idx, idx, nr_blocks, mask_cmp); in blocks_free() 162 static void set_blocks(struct pool *pool, unsigned int pool_idx, in set_blocks() argument 165 blocks_iter(pool, pool_idx, idx, nr_blocks, mask_set); in set_blocks() 168 static void clear_blocks(struct pool *pool, unsigned int pool_idx, in clear_blocks() argument 171 blocks_iter(pool, pool_idx, idx, nr_blocks, mask_clear); in clear_blocks()
|