Searched refs:order_per_bit (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/mm/ |
H A D | cma.c | 61 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask() 63 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask() 74 >> cma->order_per_bit; in cma_bitmap_aligned_offset() 80 return ALIGN(pages, 1UL << cma->order_per_bit) >> cma->order_per_bit; in cma_bitmap_pages_to_bits() 89 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap() 175 unsigned int order_per_bit, in cma_init_reserved_mem() argument 207 cma->order_per_bit = order_per_bit; in cma_init_reserved_mem() 237 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous_nid() argument 285 if (!IS_ALIGNED(size >> PAGE_SHIFT, 1 << order_per_bit)) in cma_declare_contiguous_nid() 402 nr_part = nr_zero << cma->order_per_bit; in cma_debug_show_areas() [all …]
|
H A D | cma.h | 17 unsigned int order_per_bit; /* Order of pages represented by one bit */ member 41 return cma->count >> cma->order_per_bit; in cma_bitmap_maxno()
|
H 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() 175 &cma->order_per_bit, &cma_debugfs_fops); in cma_debugfs_add_one()
|
/openbmc/linux/include/linux/ |
H A D | cma.h | 36 phys_addr_t alignment, unsigned int order_per_bit, 41 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous() argument 45 order_per_bit, fixed, name, res_cma, NUMA_NO_NODE); in cma_declare_contiguous() 48 unsigned int order_per_bit,
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | cma_debugfs.rst | 17 - [RO] order_per_bit: Order of pages represented by one bit.
|