Home
last modified time | relevance | path

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

/lib/
Dgenalloc.c158 INIT_LIST_HEAD(&pool->chunks); in gen_pool_create()
201 list_add_rcu(&chunk->next_chunk, &pool->chunks); in gen_pool_add_owner()
221 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_virt_to_phys()
247 list_for_each_safe(_chunk, _next_chunk, &pool->chunks) { in gen_pool_destroy()
295 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_alloc_algo_owner()
501 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_free_owner()
536 list_for_each_entry_rcu(chunk, &(pool)->chunks, next_chunk) in gen_pool_for_each_chunk()
559 list_for_each_entry_rcu(chunk, &(pool)->chunks, next_chunk) { in addr_in_gen_pool()
583 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) in gen_pool_avail()
602 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) in gen_pool_size()
Dscatterlist.c394 unsigned int chunks, cur_page, seg_len, i; in __sg_alloc_table_from_pages() local
402 chunks = 1; in __sg_alloc_table_from_pages()
408 chunks++; in __sg_alloc_table_from_pages()
413 ret = sg_alloc_table(sgt, chunks, gfp_mask); in __sg_alloc_table_from_pages()
Ddebugobjects.c932 unsigned long flags, oaddr, saddr, eaddr, paddr, chunks; in __debug_check_no_obj_freed() local
943 chunks = ((eaddr - paddr) + (ODEBUG_CHUNK_SIZE - 1)); in __debug_check_no_obj_freed()
944 chunks >>= ODEBUG_CHUNK_SHIFT; in __debug_check_no_obj_freed()
946 for (;chunks > 0; chunks--, paddr += ODEBUG_CHUNK_SIZE) { in __debug_check_no_obj_freed()
DKconfig587 Provides a helper to split scatterlists into chunks, each chunk being