Searched refs:order (Results 1 – 7 of 7) sorted by relevance
/lib/ |
D | genalloc.c | 243 int order = pool->min_alloc_order; in gen_pool_destroy() local 250 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy() 275 int order = pool->min_alloc_order; in gen_pool_alloc() local 285 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_alloc() 291 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc() 305 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc() 306 size = nbits << order; in gen_pool_alloc() 357 int order = pool->min_alloc_order; in gen_pool_free() local 364 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_free() 369 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free() [all …]
|
D | swiotlb.c | 247 unsigned int order; in swiotlb_late_init_with_default_size() local 258 order = get_order(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_late_init_with_default_size() 259 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size() 262 while ((SLABS_PER_PAGE << order) > IO_TLB_MIN_SLABS) { in swiotlb_late_init_with_default_size() 264 order); in swiotlb_late_init_with_default_size() 267 order--; in swiotlb_late_init_with_default_size() 274 if (order != get_order(bytes)) { in swiotlb_late_init_with_default_size() 276 "for software IO TLB\n", (PAGE_SIZE << order) >> 20); in swiotlb_late_init_with_default_size() 277 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size() 281 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size() [all …]
|
D | bitmap.c | 1058 static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op) in __reg_op() argument 1073 nbits_reg = 1 << order; in __reg_op() 1124 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() argument 1128 for (pos = 0 ; (end = pos + (1U << order)) <= bits; pos = end) { in bitmap_find_free_region() 1129 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_find_free_region() 1131 __reg_op(bitmap, pos, order, REG_OP_ALLOC); in bitmap_find_free_region() 1149 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region() argument 1151 __reg_op(bitmap, pos, order, REG_OP_RELEASE); in bitmap_release_region() 1166 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region() argument 1168 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_allocate_region() [all …]
|
D | percpu_ida.c | 292 unsigned i, cpu, order; in __percpu_ida_init() local 308 order = get_order(nr_tags * sizeof(unsigned)); in __percpu_ida_init() 309 pool->freelist = (void *) __get_free_pages(GFP_KERNEL, order); in __percpu_ida_init()
|
D | Kconfig | 290 values for parameters 'm' (Galois field order) and 't' 306 Constant value for Galois field order 'm'. If 'k' is the
|
D | Kconfig.debug | 284 - Enable verbose reporting from modpost in order to help resolve 450 order find ways to optimize the allocator. This should never be 480 In order to access the kmemleak file, debugfs needs to be
|
/lib/zlib_inflate/ |
D | inflate.c | 332 static const unsigned short order[19] = /* permutation of code lengths */ in zlib_inflate() local 467 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate() 471 state->lens[order[state->have++]] = 0; in zlib_inflate()
|