Home
last modified time | relevance | path

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

12345678910>>...13

/linux/mm/
H A Dpage_alloc.c319 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() argument
329 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() argument
663 if (order > PAGE_ALLOC_COSTLY_ORDER) { in __add_to_free_list() argument
514 order_to_pindex(int migratetype,int order) order_to_pindex() argument
535 int order = pindex / MIGRATE_PCPTYPES; pindex_to_order() local
547 pcp_allowed_order(unsigned int order) pcp_allowed_order() argument
570 prep_compound_page(struct page * page,unsigned int order) prep_compound_page() argument
582 set_buddy_order(struct page * page,unsigned int order) set_buddy_order() argument
601 compaction_capture(struct capture_control * capc,struct page * page,int order,int migratetype) compaction_capture() argument
638 compaction_capture(struct capture_control * capc,struct page * page,int order,int migratetype) compaction_capture() argument
689 move_to_free_list(struct page * page,struct zone * zone,unsigned int order,int old_mt,int new_mt) move_to_free_list() argument
713 __del_page_from_free_list(struct page * page,struct zone * zone,unsigned int order,int migratetype) __del_page_from_free_list() argument
735 del_page_from_free_list(struct page * page,struct zone * zone,unsigned int order,int migratetype) del_page_from_free_list() argument
758 buddy_merge_likely(unsigned long pfn,unsigned long buddy_pfn,struct page * page,unsigned int order) buddy_merge_likely() argument
799 __free_one_page(struct page * page,unsigned long pfn,struct zone * zone,unsigned int order,int migratetype,fpi_t fpi_flags) __free_one_page() argument
1162 free_pages_prepare(struct page * page,unsigned int order) free_pages_prepare() argument
1301 unsigned int order; free_pcppages_bulk() local
1351 split_large_buddy(struct zone * zone,struct page * page,unsigned long pfn,int order,fpi_t fpi) split_large_buddy() argument
1374 add_page_to_zone_llist(struct zone * zone,struct page * page,unsigned int order) add_page_to_zone_llist() argument
1383 free_one_page(struct zone * zone,struct page * page,unsigned long pfn,unsigned int order,fpi_t fpi_flags) free_one_page() argument
1418 __free_pages_ok(struct page * page,unsigned int order,fpi_t fpi_flags) __free_pages_ok() argument
1428 __free_pages_core(struct page * page,unsigned int order,enum meminit_context context) __free_pages_core() argument
1607 check_new_pages(struct page * page,unsigned int order) check_new_pages() argument
1649 post_alloc_hook(struct page * page,unsigned int order,gfp_t gfp_flags) post_alloc_hook() argument
1709 prep_new_page(struct page * page,unsigned int order,gfp_t gfp_flags,unsigned int alloc_flags) prep_new_page() argument
1734 __rmqueue_smallest(struct zone * zone,unsigned int order,int migratetype) __rmqueue_smallest() argument
1774 __rmqueue_cma_fallback(struct zone * zone,unsigned int order) __rmqueue_cma_fallback() argument
1780 __rmqueue_cma_fallback(struct zone * zone,unsigned int order) __rmqueue_cma_fallback() argument
1792 unsigned int order; __move_freepages_block() local
1887 int order = 0; find_large_buddy() local
1943 int order = buddy_order(buddy); move_freepages_block_isolate() local
1954 int order = buddy_order(page); move_freepages_block_isolate() local
2023 should_try_claim_block(unsigned int order,int start_mt) should_try_claim_block() argument
2071 find_suitable_fallback(struct free_area * area,unsigned int order,int migratetype,bool claimable) find_suitable_fallback() argument
2101 try_to_claim_block(struct zone * zone,struct page * page,int current_order,int order,int start_type,int block_type,unsigned int alloc_flags) try_to_claim_block() argument
2174 __rmqueue_claim(struct zone * zone,int order,int start_migratetype,unsigned int alloc_flags) __rmqueue_claim() argument
2229 __rmqueue_steal(struct zone * zone,int order,int start_migratetype) __rmqueue_steal() argument
2265 __rmqueue(struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags,enum rmqueue_mode * mode) __rmqueue() argument
2334 rmqueue_bulk(struct zone * zone,unsigned int order,unsigned long count,struct list_head * list,int migratetype,unsigned int alloc_flags) rmqueue_bulk() argument
2635 free_frozen_page_commit(struct zone * zone,struct per_cpu_pages * pcp,struct page * page,int migratetype,unsigned int order,fpi_t fpi_flags) free_frozen_page_commit() argument
2692 __free_frozen_pages(struct page * page,unsigned int order,fpi_t fpi_flags) __free_frozen_pages() argument
2742 free_frozen_pages(struct page * page,unsigned int order) free_frozen_pages() argument
2761 unsigned int order = folio_order(folio); free_unref_folios() local
2785 unsigned int order = (unsigned long)folio->private; free_unref_folios() local
2853 split_page(struct page * page,unsigned int order) split_page() argument
2868 __isolate_free_page(struct page * page,unsigned int order) __isolate_free_page() argument
2918 __putback_isolated_page(struct page * page,unsigned int order,int mt) __putback_isolated_page() argument
2958 rmqueue_buddy(struct zone * preferred_zone,struct zone * zone,unsigned int order,unsigned int alloc_flags,int migratetype) rmqueue_buddy() argument
3002 nr_pcp_alloc(struct per_cpu_pages * pcp,struct zone * zone,int order) nr_pcp_alloc() argument
3054 __rmqueue_pcplist(struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags,struct per_cpu_pages * pcp,struct list_head * list) __rmqueue_pcplist() argument
3086 rmqueue_pcplist(struct zone * preferred_zone,struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags) rmqueue_pcplist() argument
3133 rmqueue(struct zone * preferred_zone,struct zone * zone,unsigned int order,gfp_t gfp_flags,unsigned int alloc_flags,int migratetype) rmqueue() argument
3166 reserve_highatomic_pageblock(struct page * page,int order,struct zone * zone) reserve_highatomic_pageblock() argument
3226 int order; unreserve_highatomic_pageblock() local
3298 __zone_watermark_unusable_free(struct zone * z,unsigned int order,unsigned int alloc_flags) __zone_watermark_unusable_free() argument
3324 __zone_watermark_ok(struct zone * z,unsigned int order,unsigned long mark,int highest_zoneidx,unsigned int alloc_flags,long free_pages) __zone_watermark_ok() argument
3402 zone_watermark_ok(struct zone * z,unsigned int order,unsigned long mark,int highest_zoneidx,unsigned int alloc_flags) zone_watermark_ok() argument
3409 zone_watermark_fast(struct zone * z,unsigned int order,unsigned long mark,int highest_zoneidx,unsigned int alloc_flags,gfp_t gfp_mask) zone_watermark_fast() argument
3530 get_page_from_freelist(gfp_t gfp_mask,unsigned int order,int alloc_flags,const struct alloc_context * ac) get_page_from_freelist() argument
3748 __alloc_pages_cpuset_fallback(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac) __alloc_pages_cpuset_fallback() argument
3767 __alloc_pages_may_oom(gfp_t gfp_mask,unsigned int order,const struct alloc_context * ac,unsigned long * did_some_progress) __alloc_pages_may_oom() argument
3862 __alloc_pages_direct_compact(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,enum compact_priority prio,enum compact_result * compact_result) __alloc_pages_direct_compact() argument
3921 should_compact_retry(struct alloc_context * ac,int order,int alloc_flags,enum compact_result compact_result,enum compact_priority * compact_priority,int * compaction_retries) should_compact_retry() argument
3987 __alloc_pages_direct_compact(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,enum compact_priority prio,enum compact_result * compact_result) __alloc_pages_direct_compact() argument
3996 should_compact_retry(struct alloc_context * ac,unsigned int order,int alloc_flags,enum compact_result compact_result,enum compact_priority * compact_priority,int * compaction_retries) should_compact_retry() argument
4108 __perform_reclaim(gfp_t gfp_mask,unsigned int order,const struct alloc_context * ac) __perform_reclaim() argument
4134 __alloc_pages_direct_reclaim(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,unsigned long * did_some_progress) __alloc_pages_direct_reclaim() argument
4167 wake_all_kswapds(unsigned int order,gfp_t gfp_mask,const struct alloc_context * ac) wake_all_kswapds() argument
4193 gfp_to_alloc_flags(gfp_t gfp_mask,unsigned int order) gfp_to_alloc_flags() argument
4297 should_reclaim_retry(gfp_t gfp_mask,unsigned order,struct alloc_context * ac,int alloc_flags,bool did_some_progress,int * no_progress_loops) should_reclaim_retry() argument
4407 __alloc_pages_slowpath(gfp_t gfp_mask,unsigned int order,struct alloc_context * ac) __alloc_pages_slowpath() argument
4705 prepare_alloc_pages(gfp_t gfp_mask,unsigned int order,int preferred_nid,nodemask_t * nodemask,struct alloc_context * ac,gfp_t * alloc_gfp,unsigned int * alloc_flags) prepare_alloc_pages() argument
4923 __alloc_frozen_pages_noprof(gfp_t gfp,unsigned int order,int preferred_nid,nodemask_t * nodemask) __alloc_frozen_pages_noprof() argument
4988 __alloc_pages_noprof(gfp_t gfp,unsigned int order,int preferred_nid,nodemask_t * nodemask) __alloc_pages_noprof() argument
5000 __folio_alloc_noprof(gfp_t gfp,unsigned int order,int preferred_nid,nodemask_t * nodemask) __folio_alloc_noprof() argument
5014 get_free_pages_noprof(gfp_t gfp_mask,unsigned int order) get_free_pages_noprof() argument
5052 ___free_pages(struct page * page,unsigned int order,fpi_t fpi_flags) ___free_pages() argument
5069 __free_pages(struct page * page,unsigned int order) __free_pages() argument
5079 free_pages_nolock(struct page * page,unsigned int order) free_pages_nolock() argument
5084 free_pages(unsigned long addr,unsigned int order) free_pages() argument
5094 make_alloc_exact(unsigned long addr,unsigned int order,size_t size) make_alloc_exact() argument
5132 unsigned int order = get_order(size); alloc_pages_exact_noprof() local
5157 unsigned int order = get_order(size); alloc_pages_exact_nid_noprof() local
6595 int order; split_free_pages() local
6790 int order = ilog2(end - start); alloc_contig_range_noprof() local
6990 unsigned int order; __offline_isolated_pages() local
7036 unsigned int order; is_free_buddy_page() local
7052 add_to_free_list(struct page * page,struct zone * zone,unsigned int order,int migratetype,bool tail) add_to_free_list() argument
7097 unsigned int order; take_page_off_buddy() local
7184 page_contains_unaccepted(struct page * page,unsigned int order) page_contains_unaccepted() argument
7239 cond_accept_memory(struct zone * zone,unsigned int order,int alloc_flags) cond_accept_memory() argument
7298 page_contains_unaccepted(struct page * page,unsigned int order) page_contains_unaccepted() argument
7303 cond_accept_memory(struct zone * zone,unsigned int order,int alloc_flags) cond_accept_memory() argument
7332 alloc_pages_nolock_noprof(int nid,unsigned int order) alloc_pages_nolock_noprof() argument
[all...]
H A Dcompaction.c51 static inline bool is_via_compact_memory(int order) in is_via_compact_memory() argument
59 static inline bool is_via_compact_memory(int order) { return false; } in is_via_compact_memory() argument
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_ argument
93 int order; release_free_list() local
159 defer_compaction(struct zone * zone,int order) defer_compaction() argument
174 compaction_deferred(struct zone * zone,int order) compaction_deferred() argument
197 compaction_defer_reset(struct zone * zone,int order,bool alloc_success) compaction_defer_reset() argument
211 compaction_restarting(struct zone * zone,int order) compaction_restarting() argument
601 unsigned int order; isolate_freepages_block() local
632 const unsigned int order = compound_order(page); isolate_freepages_block() local
732 int order; isolate_freepages_range() local
834 skip_isolation_on_order(int order,int target_order) skip_isolation_on_order() argument
984 const unsigned int order = compound_order(page); isolate_migratepages_block() local
1067 const unsigned int order = compound_order(page); isolate_migratepages_block() local
1420 int order = cc->order > 0 ? cc->order : pageblock_order; suitable_migration_target() local
1523 next_search_order(struct compact_control * cc,int order) next_search_order() argument
1549 int order; fast_isolate_freepages() local
1837 int order = folio_order(src); compaction_alloc_noprof() local
1894 int order = folio_order(dst); compaction_free() local
1966 int order; fast_find_migrateblock() local
2272 unsigned int order; __compact_finished() local
2393 __compaction_suitable(struct zone * zone,int order,unsigned long watermark,int highest_zoneidx,unsigned long free_pages) __compaction_suitable() argument
2423 compaction_suitable(struct zone * zone,int order,unsigned long watermark,int highest_zoneidx) compaction_suitable() argument
2468 compaction_zonelist_suitable(struct alloc_context * ac,int order,int alloc_flags) compaction_zonelist_suitable() argument
2506 compaction_suit_allocation_order(struct zone * zone,unsigned int order,int highest_zoneidx,unsigned int alloc_flags,bool async,bool kcompactd) compaction_suit_allocation_order() argument
2556 int order; compact_zone() local
2785 compact_zone_order(struct zone * zone,int order,gfp_t gfp_mask,enum compact_priority prio,unsigned int alloc_flags,int highest_zoneidx,struct page ** capture) compact_zone_order() argument
2850 try_to_compact_pages(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,enum compact_priority prio,struct page ** capture) try_to_compact_pages() argument
3171 wakeup_kcompactd(pg_data_t * pgdat,int order,int highest_zoneidx) wakeup_kcompactd() argument
[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
H A Dmempool.c70 int order = (int)(long)pool->pool_data; in check_element() local
99 int order = (int)(long)pool->pool_data; in poison_element() local
634 int order = (int)(long)pool_data; in mempool_alloc_pages() local
641 int order = (int)(long)pool_data; in mempool_free_pages() local
H A Dshuffle.c37 unsigned long pfn, int order) in shuffle_valid_page()
85 const int order = SHUFFLE_ORDER; in __shuffle_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/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/include/linux/
H A Dpage_owner.h22 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() argument
29 unsigned short order, gfp_t gfp_mask) in set_page_owner() argument
57 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() argument
61 unsigned short order, gfp_t gfp_mask) in set_page_owner() argument
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 Dkmsan.h305 unsigned int order) in kmsan_memblock_free_pages()
318 static inline void kmsan_alloc_page(struct page *page, unsigned int order, in kmsan_alloc_page()
323 static inline void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page()
/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/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/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/kernel/
H A Dkexec_handover.c125 const unsigned int order = in __kho_unpreserve() local
144 __kho_preserve_order(struct kho_mem_track * track,unsigned long pfn,unsigned int order) __kho_preserve_order() argument
167 kho_restore_page(struct page * page,unsigned int order) kho_restore_page() argument
193 unsigned long order; kho_restore_folio() local
228 unsigned int order; global() member
244 new_chunk(struct khoser_mem_chunk * cur_chunk,unsigned long order) new_chunk() argument
274 unsigned long order; kho_mem_serialize() local
313 deserialize_bitmap(unsigned int order,struct khoser_mem_bitmap_ptr * elm) deserialize_bitmap() argument
660 const unsigned int order = folio_order(folio); kho_preserve_folio() local
696 const unsigned int order = kho_preserve_phys() local
741 unsigned long order; kho_abort() local
[all...]
/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/arch/riscv/include/asm/
H A Dpgtable-64.h95 #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/lib/crc/arm64/
H A Dcrc32-core.S56 .macro __crc32, c, order=le
150 .macro crc4way, insn, table, order=le
/linux/kernel/dma/
H A Dcoherent.c145 int order = get_order(size); in __dma_alloc_from_coherent() local
200 int order, void *vaddr) in __dma_release_from_coherent()
227 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr) in dma_release_from_dev_coherent()
292 int dma_release_from_global_coherent(int order, void *vaddr) in dma_release_from_global_coherent()
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_random.c70 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 Dgk104.c34 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
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_db.c94 struct hns_roce_db *db, int order) in hns_roce_alloc_db_from_pgdir()
125 int order) in hns_roce_alloc_db()
/linux/tools/testing/radix-tree/
H A Diteration_check.c25 int order; in my_item_insert() local
165 void iteration_test(unsigned order, unsigned test_duration) in iteration_test()

12345678910>>...13