Lines Matching full:remain
81 * users set the same bit, one user will return remain bits, otherwise
117 * users clear the same bit, one user will return remain bits,
283 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local
308 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc_algo_owner()
309 if (remain) { in gen_pool_alloc_algo_owner()
310 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc_algo_owner()
311 nbits - remain); in gen_pool_alloc_algo_owner()
312 BUG_ON(remain); in gen_pool_alloc_algo_owner()
492 unsigned long start_bit, nbits, remain; in gen_pool_free_owner() local
507 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free_owner()
508 BUG_ON(remain); in gen_pool_free_owner()