| /kernel/linux/linux-6.6/mm/ |
| D | page_alloc.c | 337 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 526 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() 547 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local 559 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order() 570 static inline void free_the_page(struct page *page, unsigned int order) in free_the_page() 590 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page() 614 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order() 633 int order, int migratetype) in compaction_capture() 664 int order, int migratetype) in compaction_capture() 672 unsigned int order, int migratetype) in add_to_free_list() [all …]
|
| D | compaction.c | 53 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument 54 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument 87 unsigned int i, order, nr_pages; in split_map_pages() local 153 static void defer_compaction(struct zone *zone, int order) in defer_compaction() 168 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 191 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 205 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting() 596 unsigned int order; in isolate_freepages_block() local 627 const unsigned int order = compound_order(page); in isolate_freepages_block() local 1019 const unsigned int order = compound_order(page); in isolate_migratepages_block() local [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| 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 532 unsigned int order) in check_multi_store_1() 557 unsigned int order) in check_multi_store_2() 571 unsigned int order) in check_multi_store_3() 868 unsigned int order, unsigned int present) in __check_store_iter() 934 static noinline void check_multi_find_1(struct xarray *xa, unsigned order) in check_multi_find_1() 992 unsigned int order; in check_multi_find_3() local 1155 unsigned int order; in check_find_entry() local [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | gfp.h | 177 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() 180 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() 238 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node() 247 struct folio *__folio_alloc_node(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node() 261 unsigned int order) in alloc_pages_node() 275 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() 279 static inline struct folio *folio_alloc(gfp_t gfp, unsigned int order) in folio_alloc() 283 #define vma_alloc_folio(gfp, order, vma, addr, hugepage) \ argument 305 #define __get_dma_pages(gfp_mask, order) \ argument
|
| D | page_owner.h | 21 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() 28 unsigned short order, gfp_t gfp_mask) in set_page_owner() 55 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() 59 unsigned int order, gfp_t gfp_mask) in set_page_owner() 63 unsigned short order) in split_page_owner()
|
| /kernel/linux/linux-5.10/arch/s390/mm/ |
| D | page-states.c | 71 static inline void set_page_unused(struct page *page, int order) in set_page_unused() 82 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat() 93 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat() 208 void arch_free_page(struct page *page, int order) in arch_free_page() 215 void arch_alloc_page(struct page *page, int order) in arch_alloc_page() 225 void arch_set_page_dat(struct page *page, int order) in arch_set_page_dat() 232 void arch_set_page_nodat(struct page *page, int order) in arch_set_page_nodat() 251 unsigned long flags, order, t; in arch_set_page_states() local
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | page_owner.h | 21 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() 28 unsigned int order, gfp_t gfp_mask) in set_page_owner() 55 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() 59 unsigned int order, gfp_t gfp_mask) in set_page_owner() 63 unsigned int order) in split_page_owner()
|
| D | gfp.h | 503 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() 506 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() 520 __alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid) in __alloc_pages() 530 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node() 544 unsigned int order) in alloc_pages_node() 556 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() 563 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument 566 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() 570 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument 572 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument [all …]
|
| D | compaction.h | 65 static inline unsigned long compact_gap(unsigned int order) in compact_gap() 191 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable() 197 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction() 201 static inline bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 235 int order, int highest_zoneidx) in wakeup_kcompactd()
|
| /kernel/linux/linux-5.10/lib/ |
| 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 532 unsigned int order) in check_multi_store_1() 557 unsigned int order) in check_multi_store_2() 571 unsigned int order) in check_multi_store_3() 868 unsigned int order, unsigned int present) in __check_store_iter() 934 static noinline void check_multi_find_1(struct xarray *xa, unsigned order) in check_multi_find_1() 992 unsigned int order; in check_multi_find_3() local 1155 unsigned int order; in check_find_entry() local [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
| D | page_alloc.c | 35 unsigned short order) in __find_buddy_nocheck() 54 unsigned short order) in __find_buddy_avail() 97 unsigned short order = p->order; in __hyp_attach_page() local 132 unsigned short order) in __hyp_extract_page() 186 unsigned short order = p->order; in hyp_split_page() local 198 void *hyp_alloc_pages(struct hyp_pool *pool, unsigned short order) in hyp_alloc_pages()
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
| D | cx18-mailbox.c | 231 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done() 324 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug() 335 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd() 364 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order() 371 struct cx18_in_work_order *order = in cx18_in_work_handler() local 383 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq() 417 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq() 445 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq() 466 int epu_cmd_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd_irq() 501 struct cx18_in_work_order *order = NULL; in alloc_in_work_order_irq() local [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| D | cx18-mailbox.c | 230 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done() 323 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug() 334 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd() 363 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order() 370 struct cx18_in_work_order *order = in cx18_in_work_handler() local 382 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq() 416 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq() 444 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq() 465 int epu_cmd_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd_irq() 500 struct cx18_in_work_order *order = NULL; in alloc_in_work_order_irq() local [all …]
|
| /kernel/linux/linux-6.6/arch/s390/mm/ |
| D | page-states.c | 61 static inline void set_page_unused(struct page *page, int order) in set_page_unused() 72 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat() 83 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat() 204 void arch_free_page(struct page *page, int order) in arch_free_page() 211 void arch_alloc_page(struct page *page, int order) in arch_alloc_page() 221 void arch_set_page_dat(struct page *page, int order) in arch_set_page_dat()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/ |
| D | ttm_pool_test.c | 14 unsigned int order; member 81 unsigned long order = __fls(size / PAGE_SIZE); in ttm_pool_pre_populated() local 245 unsigned int order = 0; in ttm_pool_alloc_order_caching_match() local 275 unsigned int order = 0; in ttm_pool_alloc_caching_mismatch() local 307 unsigned int order = 2; in ttm_pool_alloc_order_mismatch() local 343 unsigned int order = 2; in ttm_pool_free_dma_alloc() local 374 unsigned int order = 2; in ttm_pool_free_no_dma_alloc() local 402 unsigned int order = 0; in ttm_pool_fini_basic() local
|
| /kernel/linux/linux-6.6/tools/testing/radix-tree/ |
| D | multiorder.c | 16 unsigned order) in item_insert_order() 42 int order[NUM_ENTRIES] = {1, 1, 2, 3, 4, 1, 0, 1, 3, 0, 7}; in multiorder_iteration() local 82 int order[MT_NUM_ENTRIES] = {1, 0, 2, 4, 3, 1, 3, 0, 7}; in multiorder_tagged_iteration() local 167 unsigned int order = RADIX_TREE_MAP_SHIFT - 1; in creator_func() local 218 unsigned int order; in load_creator() local
|
| /kernel/linux/linux-5.10/mm/ |
| D | page_alloc.c | 419 static inline void kasan_free_nondeferred_pages(struct page *page, int order) in kasan_free_nondeferred_pages() 703 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page() 768 unsigned int order, int migratetype) in set_page_guard() 786 unsigned int order, int migratetype) in clear_page_guard() 799 unsigned int order, int migratetype) { return false; } in set_page_guard() 801 unsigned int order, int migratetype) {} in clear_page_guard() 804 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order() 824 unsigned int order) in page_is_buddy() 857 int order, int migratetype) in compaction_capture() 888 int order, int migratetype) in compaction_capture() [all …]
|
| D | compaction.c | 48 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument 49 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument 89 unsigned int i, order, nr_pages; in split_map_pages() local 160 void defer_compaction(struct zone *zone, int order) in defer_compaction() 175 bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 198 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 212 bool compaction_restarting(struct zone *zone, int order) in compaction_restarting() 565 unsigned int order; in isolate_freepages_block() local 599 const unsigned int order = compound_order(page); in isolate_freepages_block() local 926 const unsigned int order = compound_order(page); in isolate_migratepages_block() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
| D | i915_buddy.c | 202 unsigned int order; in igt_check_mm() local 307 int *order; in igt_buddy_alloc_smoke() local 329 int order; in igt_buddy_alloc_smoke() local 412 unsigned int order; in igt_buddy_alloc_pessimistic() local 505 int order; in igt_buddy_alloc_optimistic() local 556 int order, top; in igt_buddy_alloc_pathological() local
|
| /kernel/linux/linux-5.10/arch/c6x/mm/ |
| D | dma-coherent.c | 43 static inline u32 __alloc_dma_pages(int order) in __alloc_dma_pages() 55 static void __free_dma_pages(u32 addr, int order) in __free_dma_pages() 79 int order; in arch_dma_alloc() local 105 int order; in arch_dma_free() local
|
| /kernel/linux/linux-6.6/arch/riscv/kvm/ |
| D | tlb.c | 22 unsigned long order) in kvm_riscv_local_hfence_gvma_vmid_gpa() 50 unsigned long order) in kvm_riscv_local_hfence_gvma_gpa() 81 unsigned long order) in kvm_riscv_local_hfence_vvma_asid_gva() 121 unsigned long order) in kvm_riscv_local_hfence_vvma_gva() 335 unsigned long order) in kvm_riscv_hfence_gvma_vmid_gpa() 358 unsigned long order, unsigned long asid) in kvm_riscv_hfence_vvma_asid_gva() 387 unsigned long order) in kvm_riscv_hfence_vvma_gva()
|
| /kernel/linux/linux-5.10/tools/testing/radix-tree/ |
| D | multiorder.c | 16 unsigned order) in item_insert_order() 42 int order[NUM_ENTRIES] = {1, 1, 2, 3, 4, 1, 0, 1, 3, 0, 7}; in multiorder_iteration() local 82 int order[MT_NUM_ENTRIES] = {1, 0, 2, 4, 3, 1, 3, 0, 7}; in multiorder_tagged_iteration() local 167 unsigned int order = RADIX_TREE_MAP_SHIFT - 1; in creator_func() local
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_buddy.c | 75 unsigned int *order) in dr_buddy_find_free_seg() 120 unsigned int order, in mlx5dr_buddy_alloc_mem() 151 unsigned int seg, unsigned int order) in mlx5dr_buddy_free_mem()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
| D | ttm_pool.c | 80 unsigned int order) in ttm_pool_alloc_page() 133 unsigned int order, struct page *p) in ttm_pool_free_page() 185 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map() 259 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init() 288 unsigned int order) in ttm_pool_select_type() 355 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated() 394 unsigned int order; in ttm_pool_free_range() local 435 unsigned int order; in ttm_pool_alloc() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
| D | drm_buddy_test.c | 21 static inline u64 get_size(int order, u64 chunk_size) in get_size() 228 unsigned int order; in check_mm() local 331 int order, top; in drm_test_buddy_alloc_pathological() local 411 int *order; in drm_test_buddy_alloc_smoke() local 432 int order, err; in drm_test_buddy_alloc_smoke() local 503 unsigned int order; in drm_test_buddy_alloc_pessimistic() local 600 int order; in drm_test_buddy_alloc_optimistic() local
|