Lines Matching refs:order
246 int order = pool->min_alloc_order; in gen_pool_destroy() local
253 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy()
282 int order = pool->min_alloc_order; in gen_pool_alloc_algo_owner() local
295 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_alloc_algo_owner()
302 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc_algo_owner()
316 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc_algo_owner()
317 size = nbits << order; in gen_pool_alloc_algo_owner()
491 int order = pool->min_alloc_order; in gen_pool_free_owner() local
501 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_free_owner()
506 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free_owner()
509 size = nbits << order; in gen_pool_free_owner()
672 int order; in gen_pool_first_fit_align() local
675 order = pool->min_alloc_order; in gen_pool_first_fit_align()
676 align_mask = ((alignment->align + (1UL << order) - 1) >> order) - 1; in gen_pool_first_fit_align()
677 align_off = (start_addr & (alignment->align - 1)) >> order; in gen_pool_first_fit_align()
699 int order; in gen_pool_fixed_alloc() local
704 order = pool->min_alloc_order; in gen_pool_fixed_alloc()
705 offset_bit = fixed_data->offset >> order; in gen_pool_fixed_alloc()
706 if (WARN_ON(fixed_data->offset & ((1UL << order) - 1))) in gen_pool_fixed_alloc()