/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 57 * 用户空间的分配应该使用 ``GFP_USER`` 、 ``GFP_HIGHUSER`` 或 ``GFP_HIGHUSER_MOVABLE`` 60 ``GFP_HIGHUSER_MOVABLE`` 不要求分配的内存将被内核直接访问,并意味着数据是可迁移的。
|
/linux/include/linux/ |
H A D | gfp_types.h | 387 #define GFP_HIGHUSER_MOVABLE (GFP_HIGHUSER | __GFP_MOVABLE | __GFP_SKIP_KASAN) macro 388 #define GFP_TRANSHUGE_LIGHT ((GFP_HIGHUSER_MOVABLE | __GFP_COMP | \
|
H A D | balloon_compaction.h | 132 return GFP_HIGHUSER_MOVABLE; in balloon_mapping_gfp_mask()
|
H A D | highmem.h | 229 folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, vma, vaddr, false); in vma_alloc_zeroed_movable_folio()
|
H A D | hugetlb.h | 904 gfp |= hugepage_movable_supported(h) ? GFP_HIGHUSER_MOVABLE : GFP_HIGHUSER; in htlb_alloc_mask()
|
/linux/arch/m68k/include/asm/ |
H A D | page_no.h | 17 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr, false)
|
/linux/arch/x86/include/asm/ |
H A D | page.h | 38 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr, false)
|
/linux/arch/alpha/include/asm/ |
H A D | page.h | 21 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr, false)
|
/linux/arch/s390/include/asm/ |
H A D | page.h | 77 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr, false)
|
/linux/include/trace/events/ |
H A D | mmflags.h | 21 gfpflag_string(GFP_HIGHUSER_MOVABLE), \
|
/linux/Documentation/core-api/ |
H A D | memory-allocation.rst | 58 ``GFP_HIGHUSER`` or ``GFP_HIGHUSER_MOVABLE`` flags. The longer 61 ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
|
/linux/mm/damon/ |
H A D | paddr.c | 343 .gfp_mask = (GFP_HIGHUSER_MOVABLE & ~__GFP_RECLAIM) | in __damon_pa_migrate_folio_list()
|
/linux/lib/ |
H A D | test_hmm.c | 867 dpage = alloc_page_vma(GFP_HIGHUSER_MOVABLE, args->vma, addr); in dmirror_devmem_fault_alloc_and_copy() 1241 dpage = alloc_page(GFP_HIGHUSER_MOVABLE | __GFP_NOFAIL); in dmirror_device_evict_chunk()
|
/linux/arch/arm64/mm/ |
H A D | fault.c | 976 gfp_t flags = GFP_HIGHUSER_MOVABLE | __GFP_ZERO; in vma_alloc_zeroed_movable_folio()
|
/linux/mm/ |
H A D | migrate.c | 2183 .gfp_mask = GFP_HIGHUSER_MOVABLE | __GFP_THISNODE, in do_move_pages_to_node() 2608 gfp |= GFP_HIGHUSER_MOVABLE | __GFP_NOMEMALLOC | __GFP_NORETRY | in alloc_misplaced_dst_folio()
|
H A D | madvise.c | 201 folio = read_swap_cache_async(entry, GFP_HIGHUSER_MOVABLE, in swapin_walk_pmd_entry()
|
H A D | mempolicy.c | 1072 .gfp_mask = GFP_HIGHUSER_MOVABLE | __GFP_THISNODE, in migrate_to_node() 1237 gfp = GFP_HIGHUSER_MOVABLE | __GFP_RETRY_MAYFAIL | __GFP_COMP; in alloc_migration_target_by_mpol()
|
H A D | vmscan.c | 1000 .gfp_mask = (GFP_HIGHUSER_MOVABLE & ~__GFP_RECLAIM) | __GFP_NOWARN | in demote_folio_list() 6542 (GFP_HIGHUSER_MOVABLE & ~GFP_RECLAIM_MASK); in mem_cgroup_shrink_node() 6575 (GFP_HIGHUSER_MOVABLE & ~GFP_RECLAIM_MASK), in try_to_free_mem_cgroup_pages() 7308 .gfp_mask = GFP_HIGHUSER_MOVABLE, in shrink_all_memory()
|
H A D | userfaultfd.c | 253 folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, dst_vma, in mfill_atomic_pte_copy()
|
H A D | memory.c | 1064 new_folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, vma, in folio_prealloc() 4013 folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, vma, in __alloc_swap_folio() 4324 folio = swapin_readahead(entry, GFP_HIGHUSER_MOVABLE, in do_swap_page()
|
H A D | ksm.c | 2973 new_folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, vma, addr, false); in ksm_might_need_to_copy()
|
H A D | swapfile.c | 2208 folio = swapin_readahead(entry, GFP_HIGHUSER_MOVABLE, in unuse_pte_range()
|
H A D | page_alloc.c | 5485 vm_total_pages = nr_free_zone_pages(gfp_zone(GFP_HIGHUSER_MOVABLE)); in build_all_zonelists()
|
/linux/fs/ |
H A D | inode.c | 214 mapping_set_gfp_mask(mapping, GFP_HIGHUSER_MOVABLE); in inode_init_always_gfp()
|
/linux/kernel/events/ |
H A D | uprobes.c | 516 new_page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vaddr); in uprobe_write_opcode()
|