Home
last modified time | relevance | path

Searched refs:order (Results 1 – 25 of 49) sorted by relevance

12

/include/trace/events/
Dcompaction.h157 int order,
161 TP_ARGS(order, gfp_mask, prio),
164 __field(int, order)
170 __entry->order = order;
176 __entry->order,
184 int order,
187 TP_ARGS(zone, order, ret),
192 __field(int, order)
199 __entry->order = order;
206 __entry->order,
[all …]
Dvmscan.h68 TP_PROTO(int nid, int zid, int order),
70 TP_ARGS(nid, zid, order),
75 __field( int, order )
81 __entry->order = order;
86 __entry->order)
91 TP_PROTO(int nid, int zid, int order, gfp_t gfp_flags),
93 TP_ARGS(nid, zid, order, gfp_flags),
98 __field( int, order )
105 __entry->order = order;
111 __entry->order,
[all …]
Dkmem.h138 TP_PROTO(struct page *page, unsigned int order),
140 TP_ARGS(page, order),
144 __field( unsigned int, order )
149 __entry->order = order;
155 __entry->order)
179 TP_PROTO(struct page *page, unsigned int order,
182 TP_ARGS(page, order, gfp_flags, migratetype),
186 __field( unsigned int, order )
193 __entry->order = order;
201 __entry->order,
[all …]
Dmigrate.h110 TP_PROTO(unsigned long addr, unsigned long pte, int order),
112 TP_ARGS(addr, pte, order),
117 __field(int, order)
123 __entry->order = order;
126 TP_printk("addr=%lx, pte=%lx order=%d", __entry->addr, __entry->pte, __entry->order)
130 TP_PROTO(unsigned long addr, unsigned long pte, int order),
131 TP_ARGS(addr, pte, order)
135 TP_PROTO(unsigned long addr, unsigned long pte, int order),
136 TP_ARGS(addr, pte, order)
Doom.h37 int order,
44 TP_ARGS(zoneref, order, reclaimable, available, min_wmark, no_progress_loops, wmark_check),
49 __field( int, order)
60 __entry->order = order;
70 __entry->order,
185 TP_PROTO(int order,
192 TP_ARGS(order, priority, result, retries, max_retries, ret),
195 __field( int, order)
204 __entry->order = order;
213 __entry->order,
Dfilemap.h27 __field(unsigned char, order)
38 __entry->order = folio_order(folio);
46 __entry->order)
/include/linux/
Dpage_owner.h13 extern void __reset_page_owner(struct page *page, unsigned short order);
15 unsigned short order, gfp_t gfp_mask);
23 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() argument
26 __reset_page_owner(page, order); in reset_page_owner()
30 unsigned short order, gfp_t gfp_mask) in set_page_owner() argument
33 __set_page_owner(page, order, gfp_mask); in set_page_owner()
57 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() argument
61 unsigned int order, gfp_t gfp_mask) in set_page_owner() argument
65 unsigned short order) in split_page_owner() argument
Dcompaction.h65 static inline unsigned long compact_gap(unsigned int order) in compact_gap() argument
80 return 2UL << order; in compact_gap()
92 extern unsigned int extfrag_for_order(struct zone *zone, unsigned int order);
93 extern int fragmentation_index(struct zone *zone, unsigned int order);
95 unsigned int order, unsigned int alloc_flags,
99 extern enum compact_result compaction_suitable(struct zone *zone, int order,
102 extern void compaction_defer_reset(struct zone *zone, int order,
177 bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
182 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx);
191 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable() argument
[all …]
Dgfp.h170 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() argument
173 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() argument
176 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid,
178 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid,
231 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node() argument
236 return __alloc_pages(gfp_mask, order, nid, NULL); in __alloc_pages_node()
240 struct folio *__folio_alloc_node(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node() argument
245 return __folio_alloc(gfp, order, nid, NULL); in __folio_alloc_node()
254 unsigned int order) in alloc_pages_node() argument
259 return __alloc_pages_node(nid, gfp_mask, order); in alloc_pages_node()
[all …]
Dpage_pinner.h12 extern void __free_page_pinner(struct page *page, unsigned int order);
16 static inline void free_page_pinner(struct page *page, unsigned int order) in free_page_pinner() argument
19 __free_page_pinner(page, order); in free_page_pinner()
38 static inline void free_page_pinner(struct page *page, unsigned int order) in free_page_pinner() argument
Dpage_table_check.h16 void __page_table_check_zero(struct page *page, unsigned int order);
33 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc() argument
38 __page_table_check_zero(page, order); in page_table_check_alloc()
41 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free() argument
46 __page_table_check_zero(page, order); in page_table_check_free()
118 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc() argument
122 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free() argument
Dkmsan.h57 bool __init kmsan_memblock_free_pages(struct page *page, unsigned int order);
68 void kmsan_alloc_page(struct page *page, unsigned int order, gfp_t flags);
77 void kmsan_free_page(struct page *page, unsigned int order);
241 unsigned int order) in kmsan_memblock_free_pages() argument
254 static inline int kmsan_alloc_page(struct page *page, unsigned int order, in kmsan_alloc_page() argument
260 static inline void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page() argument
Dmempool.h99 static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) in mempool_init_page_pool() argument
102 mempool_free_pages, (void *)(long)order); in mempool_init_page_pool()
105 static inline mempool_t *mempool_create_page_pool(int min_nr, int order) in mempool_create_page_pool() argument
108 (void *)(long)order); in mempool_create_page_pool()
Dkasan.h115 void __kasan_poison_pages(struct page *page, unsigned int order, bool init);
117 unsigned int order, bool init) in kasan_poison_pages() argument
120 __kasan_poison_pages(page, order, init); in kasan_poison_pages()
123 bool __kasan_unpoison_pages(struct page *page, unsigned int order, bool init);
125 unsigned int order, bool init) in kasan_unpoison_pages() argument
128 return __kasan_unpoison_pages(page, order, init); in kasan_unpoison_pages()
251 static inline void kasan_poison_pages(struct page *page, unsigned int order, in kasan_poison_pages() argument
253 static inline bool kasan_unpoison_pages(struct page *page, unsigned int order, in kasan_unpoison_pages() argument
Dpage_reporting.h23 unsigned int order; member
Dxarray.h1382 #define XA_STATE_ORDER(name, array, index, order) \ argument
1384 (index >> order) << order, \
1385 order - (order % XA_CHUNK_SHIFT), \
1386 (1U << (order % XA_CHUNK_SHIFT)) - 1)
1533 void xas_split(struct xa_state *, void *entry, unsigned int order);
1534 void xas_split_alloc(struct xa_state *, void *entry, unsigned int order, gfp_t);
1542 unsigned int order) in xas_split() argument
1548 unsigned int order, gfp_t gfp) in xas_split_alloc() argument
1627 unsigned int order) in xas_set_order() argument
1630 xas->xa_index = order < BITS_PER_LONG ? (index >> order) << order : 0; in xas_set_order()
[all …]
Ddma-map-ops.h133 unsigned int order, bool no_warn);
155 size_t count, unsigned int order, bool no_warn) in dma_alloc_from_contiguous() argument
189 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr);
200 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
201 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
208 int dma_release_from_global_coherent(int order, void *vaddr);
218 static inline int dma_release_from_global_coherent(int order, void *vaddr) in dma_release_from_global_coherent() argument
Dhugetlb.h675 unsigned int order; member
720 void __init hugetlb_add_hstate(unsigned order);
770 return (unsigned long)PAGE_SIZE << h->order; in huge_page_size()
784 return h->order; in huge_page_order()
789 return h->order + PAGE_SHIFT; in huge_page_shift()
799 return 1 << h->order; in pages_per_huge_page()
839 return hstates[index].order + PAGE_SHIFT; in hstate_index_to_shift()
1185 extern void __init hugetlb_cma_reserve(int order);
1187 static inline __init void hugetlb_cma_reserve(int order) in hugetlb_cma_reserve() argument
Doom.h46 const int order; member
Dfault-inject.h72 bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order);
Dmemcontrol.h1151 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order,
1579 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, in mem_cgroup_soft_limit_reclaim() argument
1754 int __memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order);
1755 void __memcg_kmem_uncharge_page(struct page *page, int order);
1771 int order) in memcg_kmem_charge_page() argument
1774 return __memcg_kmem_charge_page(page, gfp, order); in memcg_kmem_charge_page()
1778 static inline void memcg_kmem_uncharge_page(struct page *page, int order) in memcg_kmem_uncharge_page() argument
1781 __memcg_kmem_uncharge_page(page, order); in memcg_kmem_uncharge_page()
1817 int order) in memcg_kmem_charge_page() argument
1822 static inline void memcg_kmem_uncharge_page(struct page *page, int order) in memcg_kmem_uncharge_page() argument
[all …]
/include/trace/hooks/
Dmm.h52 unsigned int order, gfp_t gfp_flags,
54 TP_ARGS(preferred_zone, zone, order,
73 TP_PROTO(gfp_t gfp_mask, unsigned int order, unsigned long delta),
74 TP_ARGS(gfp_mask, order, delta));
86 TP_PROTO(gfp_t gfp_mask, int order, int alloc_flags,
88 TP_ARGS(gfp_mask, order, alloc_flags, migratetype, page));
90 TP_PROTO(gfp_t gfp_mask, int order, int alloc_flags,
92 TP_ARGS(gfp_mask, order, alloc_flags, migratetype, page));
133 TP_PROTO(struct page *page, int order, int migratetype, bool *bypass),
134 TP_ARGS(page, order, migratetype, bypass));
[all …]
Dcompaction.h12 TP_PROTO(int node_id, int order, const int highest_zoneidx),
13 TP_ARGS(node_id, order, highest_zoneidx));
Diommu.h48 TP_PROTO(unsigned int order, gfp_t *alloc_flags),
49 TP_ARGS(order, alloc_flags));
/include/drm/ttm/
Dttm_pool.h51 unsigned int order; member

12