Home
last modified time | relevance | path

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

/lib/
Dgenalloc.c271 int nbits, start_bit = 0, end_bit, remain; in gen_pool_alloc() local
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()
292 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc()
294 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc()
300 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc()
324 int start_bit, nbits, remain; in gen_pool_free() local
335 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free()
336 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free()
464 unsigned long start_bit = size; in gen_pool_best_fit() local
[all …]