Home
last modified time | relevance | path

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

/lib/
Dgenalloc.c198 atomic_long_set(&chunk->avail, size); in gen_pool_add_owner()
296 if (size > atomic_long_read(&chunk->avail)) in gen_pool_alloc_algo_owner()
316 atomic_long_sub(size, &chunk->avail); in gen_pool_alloc_algo_owner()
508 atomic_long_add(size, &chunk->avail); in gen_pool_free_owner()
580 size_t avail = 0; in gen_pool_avail() local
584 avail += atomic_long_read(&chunk->avail); in gen_pool_avail()
586 return avail; in gen_pool_avail()