/linux/drivers/iommu/ |
H A D | iommu-pages.h | 28 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/mm/ |
H A D | page_alloc.c | 314 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 324 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 509 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() 530 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local 542 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order() 565 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page() 577 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order() 596 int order, int migratetype) in compaction_capture() 629 int order, int migratetype) in compaction_capture() 654 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 159 static void defer_compaction(struct zone *zone, int order) in defer_compaction() 174 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 197 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 211 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 | 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 | debug_page_alloc.c | 35 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
|
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/drivers/media/pci/cx18/ |
H A 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 …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | page_alloc.c | 35 u8 order) in __find_buddy_nocheck() argument 54 u8 order) in __find_buddy_avail() argument 97 unsigned short order = p->order; __hyp_attach_page() local 132 __hyp_extract_page(struct hyp_pool * pool,struct hyp_page * p,unsigned short order) __hyp_extract_page() argument 186 unsigned short order = p->order; hyp_split_page() local 198 hyp_alloc_pages(struct hyp_pool * pool,unsigned short order) hyp_alloc_pages() argument [all...] |
/linux/drivers/gpu/drm/ |
H A D | drm_buddy.c | 16 unsigned int order, in drm_block_alloc() 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; in drm_buddy_fini() local 478 unsigned int order, in __alloc_range_bias() 570 unsigned int order, in __drm_buddy_alloc_range_bias() 586 get_maxblock(struct drm_buddy *mm, unsigned int order, in get_maxblock() 622 unsigned int order, in alloc_from_freelist() 806 unsigned int order; in __alloc_contig_try_harder() local [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 19 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 270 unsigned int order; in drm_test_buddy_alloc_clear() local 495 int order, top; in drm_test_buddy_alloc_pathological() local 577 unsigned int order; in drm_test_buddy_alloc_pessimistic() local 674 int order; in drm_test_buddy_alloc_optimistic() local
|
/linux/include/linux/ |
H A D | page_owner.h | 22 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 D | page_table_check.h | 28 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 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() 129 int order, int highest_zoneidx) in wakeup_kcompactd()
|
/linux/tools/testing/radix-tree/ |
H A D | multiorder.c | 16 unsigned order) in item_insert_order() argument 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}; multiorder_tagged_iteration() local 167 unsigned int order = RADIX_TREE_MAP_SHIFT - 1; creator_func() local 218 unsigned int order; load_creator() local [all...] |
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 14 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/arch/riscv/mm/ |
H A D | hugetlbpage.c | 35 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/drivers/gpu/drm/ttm/ |
H A D | ttm_pool.c | 81 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 D | page-states.c | 17 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 D | drm_random.c | 16 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/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 95 #define for_each_napot_order(order) \ argument 97 #define for_each_napot_order_rev(order) \ argument 102 #define napot_cont_shift(order) ((order) + PAGE_SHIFT) argument 103 #define napot_cont_size(order) BIT(napot_cont_shift(order)) argument 104 #define napot_cont_mask(order) (~(napot_cont_size(order) - 1UL)) argument 105 #define napot_pte_num(order) BIT(order) argument
|
/linux/arch/powerpc/platforms/cell/ |
H A D | ras.c | 99 int order; member 107 static int __init cbe_ptcal_enable_on_node(int nid, int order) in cbe_ptcal_enable_on_node() 166 int order, found_mic = 0; in cbe_ptcal_enable() local
|
/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
|