Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/iommu/
H A Diommu-pages.h28 static inline void __iommu_alloc_account(struct page *page, int order) in __iommu_alloc_account()
41 static inline void __iommu_free_account(struct page *page, int order) in __iommu_free_account()
56 static inline struct page *__iommu_alloc_pages(gfp_t gfp, int order) in __iommu_alloc_pages()
74 static inline void __iommu_free_pages(struct page *page, int order) in __iommu_free_pages()
92 static inline void *iommu_alloc_pages_node(int nid, gfp_t gfp, int order) in iommu_alloc_pages_node()
111 static inline void *iommu_alloc_pages(gfp_t gfp, int order) in iommu_alloc_pages()
149 static inline void iommu_free_pages(void *virt, int order) in iommu_free_pages()
/linux/lib/
H A Dtest_xarray.c72 unsigned order, void *entry, gfp_t gfp) in xa_store_order() argument
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; check_cmpxchg_order() local
585 check_multi_store_1(struct xarray * xa,unsigned long index,unsigned int order) check_multi_store_1() argument
610 check_multi_store_2(struct xarray * xa,unsigned long index,unsigned int order) check_multi_store_2() argument
624 check_multi_store_3(struct xarray * xa,unsigned long index,unsigned int order) check_multi_store_3() argument
734 check_xa_multi_store_adv_add(struct xarray * xa,unsigned long index,unsigned int order,void * p) check_xa_multi_store_adv_add() argument
766 check_xa_multi_store_adv_del_entry(struct xarray * xa,unsigned long index,unsigned int order) check_xa_multi_store_adv_del_entry() argument
777 check_xa_multi_store_adv_delete(struct xarray * xa,unsigned long index,unsigned int order) check_xa_multi_store_adv_delete() argument
819 check_xa_multi_store_adv(struct xarray * xa,unsigned long pos,unsigned int order) check_xa_multi_store_adv() argument
1101 __check_store_iter(struct xarray * xa,unsigned long start,unsigned int order,unsigned int present) __check_store_iter() argument
1167 check_multi_find_1(struct xarray * xa,unsigned order) check_multi_find_1() argument
1225 unsigned int order; check_multi_find_3() local
1388 unsigned int order; check_find_entry() local
1421 unsigned int order; check_pause() local
1614 xa_store_many_order(struct xarray * xa,unsigned long index,unsigned order) xa_store_many_order() argument
1637 check_create_range_1(struct xarray * xa,unsigned long index,unsigned order) check_create_range_1() argument
1647 check_create_range_2(struct xarray * xa,unsigned order) check_create_range_2() argument
1668 check_create_range_4(struct xarray * xa,unsigned long index,unsigned order) check_create_range_4() argument
1700 check_create_range_5(struct xarray * xa,unsigned long index,unsigned int order) check_create_range_5() argument
1720 unsigned int order; check_create_range() local
1788 check_split_1(struct xarray * xa,unsigned long index,unsigned int order,unsigned int new_order) check_split_1() argument
1827 unsigned int order, new_order; check_split() local
1958 unsigned int order; check_account() local
1987 unsigned int order; check_get_order() local
[all...]
/linux/mm/
H A Dpage_alloc.c316 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
505 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex()
526 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local
538 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order()
561 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
573 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
592 int order, int migratetype) in compaction_capture()
625 int order, int migratetype) in compaction_capture()
645 unsigned int order, int migratetype, in __add_to_free_list()
667 unsigned int order, int old_mt, int new_mt) in move_to_free_list()
[all …]
H A Dcompaction.c50 static inline bool is_via_compact_memory(int order) in is_via_compact_memory()
58 static inline bool is_via_compact_memory(int order) { return false; } in is_via_compact_memory()
66 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument
67 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument
82 static struct page *mark_allocated_noprof(struct page *page, unsigned int order, gfp_t gfp_flags) in mark_allocated_noprof()
91 unsigned int i, order; in split_map_pages() local
118 int order; in release_free_list() local
184 static void defer_compaction(struct zone *zone, int order) in defer_compaction()
199 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
222 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
[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 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 Ddebug_page_alloc.c35 bool __set_page_guard(struct zone *zone, struct page *page, unsigned int order) in __set_page_guard() argument
51 __clear_page_guard(struct zone * zone,struct page * page,unsigned int order,int migratetype) __clear_page_guard() argument
/linux/include/linux/
H A Dgfp.h172 arch_free_page(struct page * page,int order) arch_free_page() argument
175 arch_alloc_page(struct page * page,int order) arch_alloc_page() argument
233 __alloc_pages_node(int nid,gfp_t gfp_mask,unsigned int order) __alloc_pages_node() argument
242 __folio_alloc_node(gfp_t gfp,unsigned int order,int nid) __folio_alloc_node() argument
256 alloc_pages_node(int nid,gfp_t gfp_mask,unsigned int order) alloc_pages_node() argument
272 alloc_pages(gfp_t gfp_mask,unsigned int order) alloc_pages() argument
276 alloc_pages_mpol(gfp_t gfp,unsigned int order,struct mempolicy * mpol,pgoff_t ilx,int nid) alloc_pages_mpol() argument
281 folio_alloc(gfp_t gfp,unsigned int order) folio_alloc() argument
285 vma_alloc_folio(gfp,order,vma,addr,hugepage) global() argument
307 __get_dma_pages(gfp_mask,order) global() 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 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()
H A 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()
H A Dkasan.h111 unsigned int order, bool init) in kasan_poison_pages()
119 unsigned int order, bool init) in kasan_unpoison_pages()
254 unsigned int order) in kasan_mempool_poison_pages()
276 unsigned int order) in kasan_mempool_unpoison_pages()
357 static inline void kasan_poison_pages(struct page *page, unsigned int order, in kasan_poison_pages()
359 static inline bool kasan_unpoison_pages(struct page *page, unsigned int order, in kasan_unpoison_pages()
398 static inline bool kasan_mempool_poison_pages(struct page *page, unsigned int order) in kasan_mempool_poison_pages()
402 static inline void kasan_mempool_unpoison_pages(struct page *page, unsigned int order) {} in kasan_mempool_unpoison_pages()
/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 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/drivers/gpu/drm/
H A Ddrm_buddy.c16 unsigned int order, in drm_block_alloc() argument
125 unsigned int order; in __drm_buddy_free() local
169 unsigned int order; in __force_merge() local
284 unsigned int order; in drm_buddy_init() local
328 unsigned int order; drm_buddy_fini() local
478 __alloc_range_bias(struct drm_buddy * mm,u64 start,u64 end,unsigned int order,unsigned long flags,bool fallback) __alloc_range_bias() argument
570 __drm_buddy_alloc_range_bias(struct drm_buddy * mm,u64 start,u64 end,unsigned int order,unsigned long flags) __drm_buddy_alloc_range_bias() argument
586 get_maxblock(struct drm_buddy * mm,unsigned int order,unsigned long flags) get_maxblock() argument
622 alloc_from_freelist(struct drm_buddy * mm,unsigned int order,unsigned long flags) alloc_from_freelist() argument
806 unsigned int order; __alloc_contig_try_harder() local
926 __drm_buddy_alloc_blocks(struct drm_buddy * mm,u64 start,u64 end,unsigned int order,unsigned long flags) __drm_buddy_alloc_blocks() argument
966 unsigned int min_order, order; drm_buddy_alloc_blocks() local
1128 int order; drm_buddy_print() local
[all...]
/linux/arch/riscv/kvm/
H A 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/drivers/gpu/drm/tests/
H A Ddrm_buddy_test.c19 static inline u64 get_size(int order, u64 chunk_size) in get_size() argument
28 unsigned int i, count, *order; in drm_test_buddy_alloc_range_bias() local
270 unsigned int order; in drm_test_buddy_alloc_clear() local
495 int order, top; drm_test_buddy_alloc_pathological() local
577 unsigned int order; drm_test_buddy_alloc_pessimistic() local
674 int order; drm_test_buddy_alloc_optimistic() local
[all...]
/linux/tools/testing/radix-tree/
H A 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/arch/riscv/mm/
H A 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; huge_ptep_set_access_flags() local
314 unsigned long order; huge_ptep_set_wrprotect() local
369 unsigned long order; is_napot_size() local
384 unsigned long order; napot_hugetlbpages_init() local
[all...]
/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/
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.c81 unsigned int order) in ttm_pool_alloc_page()
134 unsigned int order, struct page *p) in ttm_pool_free_page()
186 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
260 enum ttm_caching caching, unsigned int order) in ttm_pool_type_init()
289 unsigned int order) in ttm_pool_select_type()
358 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated()
397 unsigned int order; in ttm_pool_free_range() local
438 unsigned int order; in ttm_pool_alloc() local
/linux/arch/s390/mm/
H A Dpage-states.c17 void arch_free_page(struct page *page, int order) in arch_free_page()
24 void arch_alloc_page(struct page *page, int order) in arch_alloc_page()
/linux/drivers/gpu/drm/lib/
H A 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/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
251 int order; in pci_epc_mem_free_addr() local

12345678910>>...15