Searched refs:end_bit (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | genalloc.c | 239 int bit, end_bit; in gen_pool_destroy() local 245 end_bit = (chunk->end_addr - chunk->start_addr) >> order; in gen_pool_destroy() 246 bit = find_next_bit(chunk->bits, end_bit, 0); in gen_pool_destroy() 247 BUG_ON(bit < end_bit); in gen_pool_destroy() 271 int nbits, start_bit = 0, end_bit, remain; in gen_pool_alloc() local 286 end_bit = (chunk->end_addr - chunk->start_addr) >> order; in gen_pool_alloc() 288 start_bit = pool->algo(chunk->bits, end_bit, start_bit, nbits, in gen_pool_alloc() 290 if (start_bit >= end_bit) in gen_pool_alloc()
|