Home
last modified time | relevance | path

Searched refs:order (Results 1 – 6 of 6) sorted by relevance

/lib/
Dgenalloc.c238 int order = pool->min_alloc_order; in gen_pool_destroy() local
245 end_bit = (chunk->end_addr - chunk->start_addr) >> order; in gen_pool_destroy()
270 int order = pool->min_alloc_order; in gen_pool_alloc() local
280 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_alloc()
286 end_bit = (chunk->end_addr - chunk->start_addr) >> order; in gen_pool_alloc()
300 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc()
301 size = nbits << order; in gen_pool_alloc()
323 int order = pool->min_alloc_order; in gen_pool_free() local
330 nbits = (size + (1UL << order) - 1) >> order; in gen_pool_free()
335 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free()
[all …]
Dswiotlb.c236 unsigned int order; in swiotlb_late_init_with_default_size() local
247 order = get_order(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_late_init_with_default_size()
248 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size()
251 while ((SLABS_PER_PAGE << order) > IO_TLB_MIN_SLABS) { in swiotlb_late_init_with_default_size()
253 order); in swiotlb_late_init_with_default_size()
256 order--; in swiotlb_late_init_with_default_size()
263 if (order != get_order(bytes)) { in swiotlb_late_init_with_default_size()
265 "for software IO TLB\n", (PAGE_SIZE << order) >> 20); in swiotlb_late_init_with_default_size()
266 io_tlb_nslabs = SLABS_PER_PAGE << order; in swiotlb_late_init_with_default_size()
270 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size()
[all …]
Dbitmap.c1049 static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) in __reg_op() argument
1064 nbits_reg = 1 << order; in __reg_op()
1115 int bitmap_find_free_region(unsigned long *bitmap, int bits, int order) in bitmap_find_free_region() argument
1119 for (pos = 0 ; (end = pos + (1 << order)) <= bits; pos = end) { in bitmap_find_free_region()
1120 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_find_free_region()
1122 __reg_op(bitmap, pos, order, REG_OP_ALLOC); in bitmap_find_free_region()
1140 void bitmap_release_region(unsigned long *bitmap, int pos, int order) in bitmap_release_region() argument
1142 __reg_op(bitmap, pos, order, REG_OP_RELEASE); in bitmap_release_region()
1157 int bitmap_allocate_region(unsigned long *bitmap, int pos, int order) in bitmap_allocate_region() argument
1159 if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE)) in bitmap_allocate_region()
[all …]
DKconfig259 values for parameters 'm' (Galois field order) and 't'
275 Constant value for Galois field order 'm'. If 'k' is the
DKconfig.debug156 - Enable verbose reporting from modpost in order to help resolve
457 order find ways to optimize the allocator. This should never be
487 In order to access the kmemleak file, debugfs needs to be
/lib/zlib_inflate/
Dinflate.c347 static const unsigned short order[19] = /* permutation of code lengths */ in zlib_inflate() local
482 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate()
486 state->lens[order[state->have++]] = 0; in zlib_inflate()