Searched refs:remain (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | genalloc.c | 271 int nbits, start_bit = 0, end_bit, remain; in gen_pool_alloc() local 292 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc() 293 if (remain) { in gen_pool_alloc() 294 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc() 295 nbits - remain); in gen_pool_alloc() 296 BUG_ON(remain); in gen_pool_alloc() 324 int start_bit, nbits, remain; in gen_pool_free() local 336 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free() 337 BUG_ON(remain); in gen_pool_free()
|