Searched refs:order_per_bit (Results 1 – 5 of 5) sorted by relevance
/linux/mm/ |
A D | cma.c | 59 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask() 61 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask() 72 >> cma->order_per_bit; in cma_bitmap_aligned_offset() 78 return ALIGN(pages, 1UL << cma->order_per_bit) >> cma->order_per_bit; in cma_bitmap_pages_to_bits() 87 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap() 166 unsigned int order_per_bit, in cma_init_reserved_mem() argument 206 cma->order_per_bit = order_per_bit; in cma_init_reserved_mem() 236 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous_nid() argument 287 if (!IS_ALIGNED(size >> PAGE_SHIFT, 1 << order_per_bit)) in cma_declare_contiguous_nid() 403 nr_part = nr_zero << cma->order_per_bit; in cma_debug_show_areas() [all …]
|
A D | cma_debug.c | 43 *val = (u64)used << cma->order_per_bit; in cma_used_get() 65 *val = (u64)maxchunk << cma->order_per_bit; in cma_maxchunk_get() 105 } else if (cma->order_per_bit == 0) { in cma_free_mem() 178 &cma->order_per_bit, &cma_debugfs_fops); in cma_debugfs_add_one()
|
A D | cma.h | 17 unsigned int order_per_bit; /* Order of pages represented by one bit */ member 40 return cma->count >> cma->order_per_bit; in cma_bitmap_maxno()
|
/linux/include/linux/ |
A D | cma.h | 32 phys_addr_t alignment, unsigned int order_per_bit, 37 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous() argument 41 order_per_bit, fixed, name, res_cma, NUMA_NO_NODE); in cma_declare_contiguous() 44 unsigned int order_per_bit,
|
/linux/Documentation/admin-guide/mm/ |
A D | cma_debugfs.rst | 17 - [RO] order_per_bit: Order of pages represented by one bit.
|
Completed in 8 milliseconds