Searched refs:remain (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | genalloc.c | 281 int nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local 306 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc_algo_owner() 307 if (remain) { in gen_pool_alloc_algo_owner() 308 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc_algo_owner() 309 nbits - remain); in gen_pool_alloc_algo_owner() 310 BUG_ON(remain); in gen_pool_alloc_algo_owner() 490 int start_bit, nbits, remain; in gen_pool_free_owner() local 505 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free_owner() 506 BUG_ON(remain); in gen_pool_free_owner()
|