Searched refs:chunk_size (Results 1 – 2 of 2) sorted by relevance
38 static inline size_t chunk_size(const struct gen_pool_chunk *chunk) in chunk_size() function253 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy()302 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc_algo_owner()606 size += chunk_size(chunk); in gen_pool_size()
500 unsigned int j, chunk_size; in sg_alloc_append_table_from_pages() local524 chunk_size = ((j - cur_page) << PAGE_SHIFT) - offset; in sg_alloc_append_table_from_pages()526 min_t(unsigned long, size, chunk_size), offset); in sg_alloc_append_table_from_pages()528 size -= chunk_size; in sg_alloc_append_table_from_pages()