Home
last modified time | relevance | path

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

12345678910>>...14

/linux/mm/ !
H A Dpage_alloc.c319 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
329 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
658 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex()
679 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local
691 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order()
714 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
726 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
745 int order, int migratetype) in compaction_capture()
782 int order, int migratetype) in compaction_capture()
807 unsigned int order, int migratetype, in __add_to_free_list()
[all …]
H A Dcompaction.c51 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 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()
H A Ddebug_page_alloc.c35 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 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()
H A 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/lib/ !
H A 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
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 Dgfp.h218 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page()
221 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page()
279 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof()
290 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof()
306 unsigned int order) in alloc_pages_node_noprof()
324 static inline struct page *alloc_pages_noprof(gfp_t gfp_mask, unsigned int order) in alloc_pages_noprof()
328 static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) in folio_alloc_noprof()
332 static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, in folio_alloc_mpol_noprof()
337 #define vma_alloc_folio_noprof(gfp, order, vma, addr) \ argument
378 #define __get_dma_pages(gfp_mask, order) \ argument
[all …]
H A Dpage_owner.h22 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner()
29 unsigned short order, gfp_t gfp_mask) in set_page_owner()
57 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner()
61 unsigned short order, gfp_t gfp_mask) in set_page_owner()
H A Dcompaction.h65 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 Dpage_table_check.h30 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
38 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
109 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
113 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
H A Dhuge_mm.h101 #define thp_vma_allowable_order(vma, vm_flags, tva_flags, order) \ argument
152 static inline void mod_mthp_stat(int order, enum mthp_stat_item item, int delta) in mod_mthp_stat()
160 static inline void count_mthp_stat(int order, enum mthp_stat_item item) in count_mthp_stat()
166 static inline void mod_mthp_stat(int order, enum mthp_stat_item item, int delta) in mod_mthp_stat()
170 static inline void count_mthp_stat(int order, enum mthp_stat_item item) in count_mthp_stat()
218 unsigned long addr, int order) in thp_vma_suitable_order()
245 int order; in thp_vma_suitable_orders() local
312 int order; member
516 unsigned long addr, int order) in thp_vma_suitable_order()
/linux/drivers/media/pci/cx18/ !
H A 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/arch/arm64/kvm/hyp/nvhe/ !
H A Dpage_alloc.c35 u8 order) in __find_buddy_nocheck()
54 u8 order) in __find_buddy_avail()
97 u8 order = p->order; in __hyp_attach_page() local
132 u8 order) in __hyp_extract_page()
186 u8 order = p->order; in hyp_split_page() local
198 void *hyp_alloc_pages(struct hyp_pool *pool, u8 order) in hyp_alloc_pages()
/linux/drivers/gpu/drm/ !
H A Ddrm_buddy.c19 unsigned int order, in drm_block_alloc()
128 unsigned int order; in __drm_buddy_free() local
172 unsigned int order; in __force_merge() local
287 unsigned int order; in drm_buddy_init() local
331 unsigned int order; in drm_buddy_fini() local
420 unsigned int order; in drm_buddy_reset_clear() local
527 unsigned int order, in __alloc_range_bias()
619 unsigned int order, in __drm_buddy_alloc_range_bias()
635 get_maxblock(struct drm_buddy *mm, unsigned int order, in get_maxblock()
671 unsigned int order, in alloc_from_freelist()
[all …]
/linux/drivers/gpu/drm/tests/ !
H A Ddrm_buddy_test.c19 static inline u64 get_size(int order, u64 chunk_size) in get_size()
28 unsigned int i, count, *order; in drm_test_buddy_alloc_range_bias() local
269 unsigned int order; in drm_test_buddy_alloc_clear() local
505 int order, top; in drm_test_buddy_alloc_pathological() local
587 unsigned int order; in drm_test_buddy_alloc_pessimistic() local
684 int order; in drm_test_buddy_alloc_optimistic() local
/linux/arch/riscv/kvm/ !
H A Dtlb.c25 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()
344 unsigned long order, unsigned long vmid) in kvm_riscv_hfence_gvma_vmid_gpa()
373 unsigned long order, unsigned long asid, in kvm_riscv_hfence_vvma_asid_gva()
404 unsigned long order, unsigned long vmid) in kvm_riscv_hfence_vvma_gva()
/linux/arch/riscv/mm/ !
H A Dhugetlbpage.c35 unsigned long order; in huge_pte_alloc() local
88 unsigned long order; in huge_pte_offset() local
189 unsigned long order; in arch_make_huge_pte() local
281 unsigned long order; in huge_ptep_set_access_flags() local
326 unsigned long order; in huge_ptep_set_wrprotect() local
383 unsigned long order; in is_napot_size() local
398 unsigned long order; in napot_hugetlbpages_init() local
/linux/drivers/gpu/drm/ttm/tests/ !
H A Dttm_pool_test.c14 unsigned int order; member
244 unsigned int order = 0; in ttm_pool_alloc_order_caching_match() local
274 unsigned int order = 0; in ttm_pool_alloc_caching_mismatch() local
306 unsigned int order = 2; in ttm_pool_alloc_order_mismatch() local
342 unsigned int order = 2; in ttm_pool_free_dma_alloc() local
373 unsigned int order = 2; in ttm_pool_free_no_dma_alloc() local
401 unsigned int order = 0; in ttm_pool_fini_basic() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ !
H A 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/drivers/gpu/drm/ttm/ !
H A Dttm_pool.c113 unsigned int order; member
136 unsigned int order) in ttm_pool_alloc_page()
189 unsigned int order, struct page *p) in ttm_pool_free_page()
241 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
311 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init()
340 unsigned int order) in ttm_pool_select_type()
415 unsigned int order = ttm_pool_page_order(pool, p); in ttm_pool_split_for_swap() local
460 unsigned int order; in ttm_pool_unmap_and_free() local
582 ttm_pool_page_allocated_restore(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated_restore()
605 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/hws/ !
H A Dbuddy.c85 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/kernel/ !
H A Dkexec_handover.c125 const unsigned int order = in __kho_unpreserve() local
144 unsigned int order) in __kho_preserve_order()
167 static void kho_restore_page(struct page *page, unsigned int order) in kho_restore_page()
193 unsigned long order; in kho_restore_folio() local
228 unsigned int order; member
244 unsigned long order) in new_chunk()
274 unsigned long order; in kho_mem_serialize() local
313 static void __init deserialize_bitmap(unsigned int order, in deserialize_bitmap()
660 const unsigned int order = folio_order(folio); in kho_preserve_folio() local
696 const unsigned int order = in kho_preserve_phys() local
[all …]
/linux/drivers/gpu/drm/lib/ !
H A Ddrm_random.c17 void drm_random_reorder(unsigned int *order, unsigned int count, in drm_random_reorder()
32 unsigned int *order, i; in drm_random_order() local
/linux/drivers/pci/endpoint/ !
H A Dpci-epc-mem.c25 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

12345678910>>...14