Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/arch/s390/mm/
Dpage-states.c71 static inline void set_page_unused(struct page *page, int order) in set_page_unused()
82 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat()
93 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat()
208 void arch_free_page(struct page *page, int order) in arch_free_page()
215 void arch_alloc_page(struct page *page, int order) in arch_alloc_page()
225 void arch_set_page_dat(struct page *page, int order) in arch_set_page_dat()
232 void arch_set_page_nodat(struct page *page, int order) in arch_set_page_nodat()
251 unsigned long flags, order, t; in arch_set_page_states() local
/kernel/linux/linux-5.10/include/linux/
Dpage_owner.h21 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
28 unsigned int order, gfp_t gfp_mask) in set_page_owner()
55 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
59 unsigned int order, gfp_t gfp_mask) in set_page_owner()
63 unsigned int order) in split_page_owner()
Dgfp.h503 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page()
506 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page()
520 __alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid) in __alloc_pages()
530 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
544 unsigned int order) in alloc_pages_node()
556 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
563 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
566 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
570 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument
572 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
[all …]
Dcompaction.h65 static inline unsigned long compact_gap(unsigned int order) in compact_gap()
191 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable()
197 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction()
201 static inline bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
235 int order, int highest_zoneidx) in wakeup_kcompactd()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-mailbox.c230 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done()
323 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug()
334 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd()
363 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order()
370 struct cx18_in_work_order *order = in cx18_in_work_handler() local
382 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq()
416 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq()
444 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq()
465 int epu_cmd_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd_irq()
500 struct cx18_in_work_order *order = NULL; in alloc_in_work_order_irq() local
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/c6x/mm/
Ddma-coherent.c43 static inline u32 __alloc_dma_pages(int order) in __alloc_dma_pages()
55 static void __free_dma_pages(u32 addr, int order) in __free_dma_pages()
79 int order; in arch_dma_alloc() local
105 int order; in arch_dma_free() local
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_buddy.c202 unsigned int order; in igt_check_mm() local
307 int *order; in igt_buddy_alloc_smoke() local
329 int order; in igt_buddy_alloc_smoke() local
412 unsigned int order; in igt_buddy_alloc_pessimistic() local
505 int order; in igt_buddy_alloc_optimistic() local
556 int order, top; in igt_buddy_alloc_pathological() local
/kernel/linux/linux-5.10/mm/
Dpage_alloc.c419 static inline void kasan_free_nondeferred_pages(struct page *page, int order) in kasan_free_nondeferred_pages()
703 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
768 unsigned int order, int migratetype) in set_page_guard()
786 unsigned int order, int migratetype) in clear_page_guard()
799 unsigned int order, int migratetype) { return false; } in set_page_guard()
801 unsigned int order, int migratetype) {} in clear_page_guard()
804 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
824 unsigned int order) in page_is_buddy()
857 int order, int migratetype) in compaction_capture()
888 int order, int migratetype) in compaction_capture()
[all …]
Dcompaction.c48 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument
49 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument
89 unsigned int i, order, nr_pages; in split_map_pages() local
160 void defer_compaction(struct zone *zone, int order) in defer_compaction()
175 bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
198 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
212 bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
565 unsigned int order; in isolate_freepages_block() local
599 const unsigned int order = compound_order(page); in isolate_freepages_block() local
926 const unsigned int order = compound_order(page); in isolate_migratepages_block() local
[all …]
Dpage_reporting.h34 static inline void page_reporting_notify_free(unsigned int order) in page_reporting_notify_free()
50 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()
Dpage_reporting.c80 unsigned int order = get_order(sg->length); in page_reporting_drain() local
110 unsigned int order, unsigned int mt, in page_reporting_cycle()
226 unsigned int order, mt, leftover, offset = PAGE_REPORTING_CAPACITY; in page_reporting_process_zone() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dagp.h14 #define alloc_gatt_pages(order) \ argument
16 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dagp.h22 #define alloc_gatt_pages(order) \ argument
24 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dagp.h12 #define alloc_gatt_pages(order) \ argument
14 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dagp.h16 #define alloc_gatt_pages(order) \ argument
18 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dagp.h13 #define alloc_gatt_pages(order) \ argument
15 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dagp.h27 #define alloc_gatt_pages(order) \ argument
29 #define free_gatt_pages(table, order) \ argument
/kernel/linux/linux-5.10/arch/arm/xen/
Dmm.c26 unsigned long xen_get_swiotlb_free_pages(unsigned int order) in xen_get_swiotlb_free_pages()
121 int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order, in xen_create_contiguous_region()
133 void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order) in xen_destroy_contiguous_region()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_system_heap.c26 static int order_to_index(unsigned int order) in order_to_index()
37 static inline unsigned int order_to_size(int order) in order_to_size()
49 unsigned long order) in alloc_buffer_page()
60 unsigned int order = compound_order(page); in free_buffer_page() local
289 int order = get_order(len); in ion_system_contig_heap_allocate() local
/kernel/linux/linux-5.10/drivers/gpu/drm/lib/
Ddrm_random.c15 void drm_random_reorder(unsigned int *order, unsigned int count, in drm_random_reorder()
30 unsigned int *order, i; in drm_random_order() local
/kernel/linux/linux-5.10/drivers/pci/endpoint/
Dpci-epc-mem.c25 int order; in pci_epc_mem_get_order() local
176 int order; in pci_epc_mem_alloc_addr() local
241 int order; in pci_epc_mem_free_addr() local
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_phys.c160 STATIC VOID OsVmPhysFreeListAddUnsafe(LosVmPage *page, UINT8 order) in OsVmPhysFreeListAddUnsafe()
195 UINT32 order; in OsVmPhysPagesSpiltUnsafe() local
311 UINT32 order; in OsVmPhysPagesAlloc() local
343 VOID OsVmPhysPagesFree(LosVmPage *page, UINT8 order) in OsVmPhysPagesFree()
373 UINT32 order; in OsVmPhysPagesFreeContiguous() local
586 UINT32 order; in OsVmPagesToOrder() local

12345678910>>...14