Searched refs:chunks (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | genalloc.c | 155 INIT_LIST_HEAD(&pool->chunks); in gen_pool_create() 195 list_add_rcu(&chunk->next_chunk, &pool->chunks); in gen_pool_add_virt() 215 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_virt_to_phys() 241 list_for_each_safe(_chunk, _next_chunk, &pool->chunks) { in gen_pool_destroy() 282 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_alloc() 332 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) { in gen_pool_free() 365 list_for_each_entry_rcu(chunk, &(pool)->chunks, next_chunk) in gen_pool_for_each_chunk() 383 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) in gen_pool_avail() 402 list_for_each_entry_rcu(chunk, &pool->chunks, next_chunk) in gen_pool_size()
|
D | scatterlist.c | 358 unsigned int chunks; in sg_alloc_table_from_pages() local 365 chunks = 1; in sg_alloc_table_from_pages() 368 ++chunks; in sg_alloc_table_from_pages() 370 ret = sg_alloc_table(sgt, chunks, gfp_mask); in sg_alloc_table_from_pages()
|
D | debugobjects.c | 659 unsigned long flags, oaddr, saddr, eaddr, paddr, chunks; in __debug_check_no_obj_freed() local 671 chunks = ((eaddr - paddr) + (ODEBUG_CHUNK_SIZE - 1)); in __debug_check_no_obj_freed() 672 chunks >>= ODEBUG_CHUNK_SHIFT; in __debug_check_no_obj_freed() 674 for (;chunks > 0; chunks--, paddr += ODEBUG_CHUNK_SIZE) { in __debug_check_no_obj_freed()
|