Home
last modified time | relevance | path

Searched defs:order (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/linux-6.6.21/mm/
Dpage_alloc.c331 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
520 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex()
536 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local
548 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order()
559 static inline void free_the_page(struct page *page, unsigned int order) in free_the_page()
579 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
605 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
624 int order, int migratetype) in compaction_capture()
655 int order, int migratetype) in compaction_capture()
663 unsigned int order, int migratetype) in add_to_free_list()
[all …]
Dcompaction.c53 #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 …]
Dpage_reporting.h33 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()
Dshuffle.h28 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()
Ddebug_page_alloc.c35 bool __set_page_guard(struct zone *zone, struct page *page, unsigned int order, in __set_page_guard()
51 void __clear_page_guard(struct zone *zone, struct page *page, unsigned int order, in __clear_page_guard()
Dpage_reporting.c117 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-6.6.21/include/linux/
Dgfp.h171 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page()
174 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page()
232 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
241 struct folio *__folio_alloc_node(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node()
255 unsigned int order) in alloc_pages_node()
269 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
273 static inline struct folio *folio_alloc(gfp_t gfp, unsigned int order) in folio_alloc()
277 #define vma_alloc_folio(gfp, order, vma, addr, hugepage) \ argument
299 #define __get_dma_pages(gfp_mask, order) \ argument
Dpage_owner.h21 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()
Dpage_table_check.h28 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
36 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
107 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
111 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
Dcompaction.h65 static inline unsigned long compact_gap(unsigned int order) in compact_gap()
110 static inline bool compaction_suitable(struct zone *zone, int order, in compaction_suitable()
124 int order, int highest_zoneidx) in wakeup_kcompactd()
Dkmsan.h244 unsigned int order) in kmsan_memblock_free_pages()
257 static inline void kmsan_alloc_page(struct page *page, unsigned int order, in kmsan_alloc_page()
262 static inline void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page()
/linux-6.6.21/lib/
Dtest_xarray.c72 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 …]
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-mailbox.c231 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 …]
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dpage_alloc.c35 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()
/linux-6.6.21/arch/s390/mm/
Dpage-states.c61 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()
/linux-6.6.21/drivers/gpu/drm/ttm/tests/
Dttm_pool_test.c14 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
/linux-6.6.21/tools/testing/radix-tree/
Dmultiorder.c16 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
/linux-6.6.21/arch/riscv/kvm/
Dtlb.c22 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()
/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_pool.c80 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()
349 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated()
388 unsigned int order; in ttm_pool_free_range() local
429 unsigned int order; in ttm_pool_alloc() local
/linux-6.6.21/arch/riscv/mm/
Dhugetlbpage.c35 unsigned long order; in huge_pte_alloc() local
88 unsigned long order; in huge_pte_offset() local
186 unsigned long order; in arch_make_huge_pte() local
270 unsigned long order; in huge_ptep_set_access_flags() local
314 unsigned long order; in huge_ptep_set_wrprotect() local
369 unsigned long order; in is_napot_size() local
384 unsigned long order; in napot_hugetlbpages_init() local
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_buddy_test.c21 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
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_buddy.c75 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()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_buddy.c16 unsigned int order, in drm_block_alloc()
146 unsigned int order; in drm_buddy_init() local
333 unsigned int order) in alloc_range_bias()
418 get_maxblock(struct drm_buddy *mm, unsigned int order) in get_maxblock()
445 unsigned int order, in alloc_from_freelist()
678 unsigned int min_order, order; in drm_buddy_alloc_blocks() local
780 int order; in drm_buddy_print() local
/linux-6.6.21/drivers/gpu/drm/lib/
Ddrm_random.c16 void drm_random_reorder(unsigned int *order, unsigned int count, in drm_random_reorder()
31 unsigned int *order, i; in drm_random_order() local
/linux-6.6.21/drivers/pci/endpoint/
Dpci-epc-mem.c25 int order; in pci_epc_mem_get_order() local
186 int order; in pci_epc_mem_alloc_addr() local
251 int order; in pci_epc_mem_free_addr() local

12345678910>>...15