Searched refs:order (Results 1 – 7 of 7) sorted by relevance
/lib/ |
D | genalloc.c | 245 int order = pool->min_alloc_order; in gen_pool_destroy() local 252 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy() 277 int order = pool->min_alloc_order; in gen_pool_alloc() local 287 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_alloc() 294 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc() 308 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc() 309 size = nbits << order; in gen_pool_alloc() 360 int order = pool->min_alloc_order; in gen_pool_free() local 367 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_free() 372 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free() [all …]
|
D | swiotlb.c | 248 unsigned int order; in swiotlb_late_init_with_default_size() local 259 order = get_order(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_late_init_with_default_size() 260 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size() 263 while ((SLABS_PER_PAGE << order) > IO_TLB_MIN_SLABS) { in swiotlb_late_init_with_default_size() 265 order); in swiotlb_late_init_with_default_size() 268 order--; in swiotlb_late_init_with_default_size() 275 if (order != get_order(bytes)) { in swiotlb_late_init_with_default_size() 277 (PAGE_SIZE << order) >> 20); in swiotlb_late_init_with_default_size() 278 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size() 282 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size() [all …]
|
D | bitmap.c | 947 static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op) in __reg_op() argument 962 nbits_reg = 1 << order; in __reg_op() 1013 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() argument 1017 for (pos = 0 ; (end = pos + (1U << order)) <= bits; pos = end) { in bitmap_find_free_region() 1018 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_find_free_region() 1020 __reg_op(bitmap, pos, order, REG_OP_ALLOC); in bitmap_find_free_region() 1038 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region() argument 1040 __reg_op(bitmap, pos, order, REG_OP_RELEASE); in bitmap_release_region() 1055 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region() argument 1057 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_allocate_region() [all …]
|
D | percpu_ida.c | 289 unsigned i, cpu, order; in __percpu_ida_init() local 305 order = get_order(nr_tags * sizeof(unsigned)); in __percpu_ida_init() 306 pool->freelist = (void *) __get_free_pages(GFP_KERNEL, order); in __percpu_ida_init()
|
D | Kconfig | 304 values for parameters 'm' (Galois field order) and 't' 320 Constant value for Galois field order 'm'. If 'k' is the
|
D | Kconfig.debug | 252 "page_owner=on" to boot parameter in order to enable it. Eats 312 - Enable verbose reporting from modpost in order to help resolve 487 order find ways to optimize the allocator. This should never be 517 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()
|