| /linux/mm/ |
| H A D | page_alloc.c | 346 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 356 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 684 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() 705 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local 717 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order() 740 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page() 752 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order() 771 int order, int migratetype) in compaction_capture() 808 int order, int migratetype) in compaction_capture() 833 unsigned int order, int migratetype, in __add_to_free_list() [all …]
|
| H A D | compaction.c | 51 static inline bool is_via_compact_memory(int order) in is_via_compact_memory() 59 static inline bool is_via_compact_memory(int order) { return false; } in is_via_compact_memory() 67 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument 68 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument 83 static struct page *mark_allocated_noprof(struct page *page, unsigned int order, gfp_t gfp_flags) in mark_allocated_noprof() 93 int order; in release_free_list() local 126 static void defer_compaction(struct zone *zone, int order) in defer_compaction() 141 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 164 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 178 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting() [all …]
|
| H A D | page_reporting.h | 33 static inline void page_reporting_notify_free(unsigned int order) in page_reporting_notify_free() 49 static inline void page_reporting_notify_free(unsigned int order) in page_reporting_notify_free()
|
| H A D | debug_page_alloc.c | 35 bool __set_page_guard(struct zone *zone, struct page *page, unsigned int order) in __set_page_guard() 47 void __clear_page_guard(struct zone *zone, struct page *page, unsigned int order) in __clear_page_guard()
|
| H A D | shuffle.h | 28 static inline bool is_shuffle_order(int order) in is_shuffle_order() 48 static inline bool is_shuffle_order(int order) in is_shuffle_order()
|
| H A D | page_reporting.c | 117 unsigned int order = get_order(sg->length); in page_reporting_drain() local 147 unsigned int order, unsigned int mt, in page_reporting_cycle() 263 unsigned int order, mt, leftover, offset = PAGE_REPORTING_CAPACITY; in page_reporting_process_zone() local
|
| /linux/lib/ |
| H A D | test_xarray.c | 72 unsigned order, void *entry, gfp_t gfp) in xa_store_order() 177 unsigned int order; in check_xa_mark_1() local 328 unsigned int order; in check_xa_shrink() local 430 unsigned int i, order = 3; in check_cmpxchg_order() local 585 unsigned int order) in check_multi_store_1() 610 unsigned int order) in check_multi_store_2() 624 unsigned int order) in check_multi_store_3() 734 unsigned int order, in check_xa_multi_store_adv_add() 766 unsigned int order) in check_xa_multi_store_adv_del_entry() 777 unsigned int order) in check_xa_multi_store_adv_delete() [all …]
|
| /linux/include/linux/ |
| H A D | gfp.h | 223 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() 226 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() 284 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof() 295 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() 311 unsigned int order) in alloc_pages_node_noprof() 329 static inline struct page *alloc_pages_noprof(gfp_t gfp_mask, unsigned int order) in alloc_pages_noprof() 333 static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) in folio_alloc_noprof() 337 static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, in folio_alloc_mpol_noprof() 342 static inline struct folio *vma_alloc_folio_noprof(gfp_t gfp, int order, in vma_alloc_folio_noprof() 386 #define __get_dma_pages(gfp_mask, order) \ argument
|
| H A D | compaction.h | 65 static inline unsigned long compact_gap(unsigned int order) in compact_gap() 115 static inline bool compaction_suitable(struct zone *zone, int order, in compaction_suitable() 130 int order, int highest_zoneidx) in wakeup_kcompactd()
|
| H A D | kasan.h | 115 unsigned int order, bool init) in kasan_poison_pages() 123 unsigned int order, bool init) in kasan_unpoison_pages() 306 unsigned int order) in kasan_mempool_poison_pages() 328 unsigned int order) in kasan_mempool_unpoison_pages() 409 static inline void kasan_poison_pages(struct page *page, unsigned int order, in kasan_poison_pages() 411 static inline bool kasan_unpoison_pages(struct page *page, unsigned int order, in kasan_unpoison_pages() 458 static inline bool kasan_mempool_poison_pages(struct page *page, unsigned int order) in kasan_mempool_poison_pages() 462 static inline void kasan_mempool_unpoison_pages(struct page *page, unsigned int order) {} in kasan_mempool_unpoison_pages()
|
| H A D | huge_mm.h | 104 #define thp_vma_allowable_order(vma, vm_flags, type, order) \ argument 155 static inline void mod_mthp_stat(int order, enum mthp_stat_item item, int delta) in mod_mthp_stat() 163 static inline void count_mthp_stat(int order, enum mthp_stat_item item) in count_mthp_stat() 169 static inline void mod_mthp_stat(int order, enum mthp_stat_item item, int delta) in mod_mthp_stat() 173 static inline void count_mthp_stat(int order, enum mthp_stat_item item) in count_mthp_stat() 221 unsigned long addr, int order) in thp_vma_suitable_order() 248 int order; in thp_vma_suitable_orders() local 318 int order; member 579 unsigned long addr, int order) in thp_vma_suitable_order()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_buddy.c | 29 unsigned int order, in drm_block_alloc() 105 unsigned int order = drm_buddy_block_order(block); in rbtree_remove() local 186 unsigned int order; in __drm_buddy_free() local 230 unsigned int tree, order; in __force_merge() local 349 unsigned int order; in drm_buddy_init() local 395 unsigned int order; in drm_buddy_fini() local 487 unsigned int order; in drm_buddy_reset_clear() local 599 unsigned int order, in __alloc_range_bias() 691 unsigned int order, in __drm_buddy_alloc_range_bias() 708 unsigned int order, in get_maxblock() [all …]
|
| /linux/kernel/liveupdate/ |
| H A D | kexec_handover.c | 46 unsigned int order; member 147 unsigned int order) in __kho_unpreserve_order() 167 unsigned int order; in __kho_unpreserve() local 179 unsigned int order) in __kho_preserve_order() 226 static void kho_init_folio(struct page *page, unsigned int order) in kho_init_folio() 311 const unsigned int order = in kho_restore_pages() local 345 unsigned int order; member 361 unsigned long order) in new_chunk() 416 unsigned long order; in kho_mem_serialize() local 460 static void __init deserialize_bitmap(unsigned int order, in deserialize_bitmap() [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | tlb.c | 25 unsigned long order) in kvm_riscv_local_hfence_gvma_vmid_gpa() 53 unsigned long order) in kvm_riscv_local_hfence_gvma_gpa() 84 unsigned long order) in kvm_riscv_local_hfence_vvma_asid_gva() 124 unsigned long order) in kvm_riscv_local_hfence_vvma_gva() 374 unsigned long order, unsigned long vmid) in kvm_riscv_hfence_gvma_vmid_gpa() 403 unsigned long order, unsigned long asid, in kvm_riscv_hfence_vvma_asid_gva() 434 unsigned long order, unsigned long vmid) in kvm_riscv_hfence_vvma_gva()
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_pool.c | 114 unsigned int order; member 137 unsigned int order) in ttm_pool_alloc_page() 198 unsigned int order, struct page *p) in ttm_pool_free_page() 250 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map() 320 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() 349 unsigned int order) in ttm_pool_select_type() 424 unsigned int order = ttm_pool_page_order(pool, p); in ttm_pool_split_for_swap() local 469 unsigned int order; in ttm_pool_unmap_and_free() local 591 ttm_pool_page_allocated_restore(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated_restore() 614 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_buddy.c | 71 unsigned int *order) in dr_buddy_find_free_seg() 116 unsigned int order, in mlx5dr_buddy_alloc_mem() 147 unsigned int seg, unsigned int order) in mlx5dr_buddy_free_mem()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | buddy.c | 85 u32 *order) in hws_buddy_find_free_seg() 113 int mlx5hws_buddy_alloc_mem(struct mlx5hws_buddy_mem *buddy, u32 order) in mlx5hws_buddy_alloc_mem() 136 void mlx5hws_buddy_free_mem(struct mlx5hws_buddy_mem *buddy, u32 seg, u32 order) in mlx5hws_buddy_free_mem()
|
| /linux/drivers/pci/endpoint/ |
| H A D | pci-epc-mem.c | 25 int order; in pci_epc_mem_get_order() local 186 int order; in pci_epc_mem_alloc_addr() local 254 int order; in pci_epc_mem_free_addr() local
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 97 #define for_each_napot_order(order) \ argument 99 #define for_each_napot_order_rev(order) \ argument 104 #define napot_cont_shift(order) ((order) + PAGE_SHIFT) argument 105 #define napot_cont_size(order) BIT(napot_cont_shift(order)) argument 106 #define napot_cont_mask(order) (~(napot_cont_size(order) - 1UL)) argument 107 #define napot_pte_num(order) BIT(order) argument
|
| /linux/lib/crc/arm64/ |
| H A D | crc32-core.S | 56 .macro __crc32, c, order=le 150 .macro crc4way, insn, table, order=le
|
| /linux/kernel/dma/ |
| H A D | coherent.c | 145 int order = get_order(size); in __dma_alloc_from_coherent() local 200 int order, void *vaddr) in __dma_release_from_coherent() 227 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr) in dma_release_from_dev_coherent() 292 int dma_release_from_global_coherent(int order, void *vaddr) in dma_release_from_global_coherent()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_random.c | 70 void i915_random_reorder(unsigned int *order, unsigned int count, in i915_random_reorder() 78 unsigned int *order, i; in i915_random_order() local
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | gk104.c | 34 const struct gk104_clkgate_engine_info *order = therm->clkgate_order; in gk104_clkgate_enable() local 63 const struct gk104_clkgate_engine_info *order = therm->clkgate_order; in gk104_clkgate_fini() local
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_db.c | 94 struct hns_roce_db *db, int order) in hns_roce_alloc_db_from_pgdir() 125 int order) in hns_roce_alloc_db()
|
| /linux/tools/testing/radix-tree/ |
| H A D | iteration_check.c | 25 int order; in my_item_insert() local 165 void iteration_test(unsigned order, unsigned test_duration) in iteration_test()
|