Home
last modified time | relevance | path

Searched refs:start_bit (Results 1 – 1 of 1) sorted by relevance

/lib/
Dgenalloc.c281 int nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local
299 start_bit = 0; in gen_pool_alloc_algo_owner()
302 start_bit = algo(chunk->bits, end_bit, start_bit, in gen_pool_alloc_algo_owner()
304 if (start_bit >= end_bit) in gen_pool_alloc_algo_owner()
306 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc_algo_owner()
308 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc_algo_owner()
314 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc_algo_owner()
490 int start_bit, nbits, remain; in gen_pool_free_owner() local
504 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free_owner()
505 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free_owner()
[all …]