| /linux/tools/testing/vma/ |
| H A D | vma.c | 70 vm_flags_t vm_flags) in alloc_vma() 108 vm_flags_t vm_flags) in alloc_and_link_vma() 177 unsigned long end, pgoff_t pgoff, vm_flags_t vm_flags) in vmg_set_range() 200 unsigned long end, pgoff_t pgoff, vm_flags_t vm_flags, in vmg_set_range_anon_vma() 216 pgoff_t pgoff, vm_flags_t vm_flags, in try_merge_new_vma() 306 vm_flags_t vm_flags = VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE; in test_simple_merge() local 340 vm_flags_t vm_flags = VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE; in test_simple_modify() local 400 vm_flags_t vm_flags = VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE; in test_simple_expand() local 428 vm_flags_t vm_flags = VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE; in test_simple_shrink() local 449 vm_flags_t vm_flags = VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE; in __test_merge_new() local [all …]
|
| H A D | vma_internal.h | 621 vm_flags_t vm_flags; member 668 const vm_flags_t vm_flags; member 872 static inline pgprot_t vm_get_page_prot(vm_flags_t vm_flags) in vm_get_page_prot() 877 static inline bool is_shared_maywrite(vm_flags_t vm_flags) in is_shared_maywrite() 1321 vm_flags_t vm_flags) in khugepaged_enter_vma() 1416 vm_flags_t vm_flags = vma->vm_flags; in vma_set_page_prot() local 1497 vm_flags_t vm_flags, unsigned long bytes) in mlock_future_ok() 1842 const struct file *file, vm_flags_t vm_flags) in ksm_vma_flags()
|
| /linux/mm/ |
| H A D | mmap.c | 83 vm_flags_t vm_flags = vma->vm_flags; in vma_set_page_prot() local 228 bool mlock_future_ok(const struct mm_struct *mm, vm_flags_t vm_flags, in mlock_future_ok() 336 unsigned long flags, vm_flags_t vm_flags, in do_mmap() 646 static inline unsigned long stack_guard_placement(vm_flags_t vm_flags) in stack_guard_placement() 690 unsigned long flags, vm_flags_t vm_flags) in generic_get_unmapped_area() 725 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area() 739 unsigned long flags, vm_flags_t vm_flags) in generic_get_unmapped_area_topdown() 793 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown() 802 unsigned long flags, vm_flags_t vm_flags) in mm_get_unmapped_area_vmflags() 812 unsigned long pgoff, unsigned long flags, vm_flags_t vm_flags) in __get_unmapped_area() [all …]
|
| H A D | execmem.c | 29 pgprot_t pgprot, unsigned long vm_flags) in execmem_vmalloc() 82 pgprot_t pgprot, unsigned long vm_flags) in execmem_vmalloc() 283 unsigned long vm_flags = VM_ALLOW_HUGE_VMAP; in execmem_cache_populate() local 465 unsigned long vm_flags = VM_FLUSH_RESET_PERMS; in execmem_alloc() local
|
| H A D | vma.c | 18 vm_flags_t vm_flags; member 1689 const vm_flags_t vm_flags = *vm_flags_ptr; in vma_modify_flags() local 1734 unsigned long start, unsigned long end, vm_flags_t vm_flags, in vma_modify_flags_uffd() 2311 static bool accountable_mapping(struct file *file, vm_flags_t vm_flags) in accountable_mapping() 2576 vm_flags_t vm_flags = vma->vm_flags; in __mmap_complete() local 2714 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in __mmap_region() 2805 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in mmap_region() 2853 unsigned long addr, unsigned long len, vm_flags_t vm_flags) in do_brk_flags()
|
| H A D | mseal.c | 72 vm_flags_t vm_flags = vma->vm_flags | VM_SEALED; in mseal_apply() local
|
| H A D | vma.h | 101 vm_flags_t vm_flags; member 420 static inline pgprot_t vm_pgprot_modify(pgprot_t oldprot, vm_flags_t vm_flags) in vm_pgprot_modify()
|
| H A D | mapping_dirty_helpers.c | 221 vm_flags_t vm_flags = READ_ONCE(walk->vma->vm_flags); in wp_clean_test_walk() local
|
| H A D | memfd.c | 375 vm_flags_t vm_flags = *vm_flags_ptr; in check_write_seal() local
|
| /linux/include/linux/ |
| H A D | hugetlb_inline.h | 9 static inline bool is_vm_hugetlb_flags(vm_flags_t vm_flags) in is_vm_hugetlb_flags() 16 static inline bool is_vm_hugetlb_flags(vm_flags_t vm_flags) in is_vm_hugetlb_flags()
|
| H A D | ksm.h | 107 const struct file *file, vm_flags_t vm_flags) in ksm_vma_flags() 142 unsigned long end, int advice, vm_flags_t *vm_flags) in ksm_madvise()
|
| H A D | huge_mm.h | 104 #define thp_vma_allowable_order(vma, vm_flags, type, order) \ argument 290 vm_flags_t vm_flags, in thp_vma_allowable_orders() 332 vm_flags_t vm_flags, bool forced_collapse) in vma_thp_disabled() 591 vm_flags_t vm_flags, in thp_vma_allowable_orders() 605 unsigned long flags, vm_flags_t vm_flags) in thp_get_unmapped_area_vmflags() 676 vm_flags_t *vm_flags, int advice) in hugepage_madvise()
|
| H A D | khugepaged.h | 42 vm_flags_t vm_flags) in khugepaged_enter_vma()
|
| /linux/arch/arm/mm/ |
| H A D | mmap.c | 32 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area() 83 const unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/arch/sh/mm/ |
| H A D | mmap.c | 56 vm_flags_t vm_flags) in arch_get_unmapped_area() 103 const unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/arch/mips/mm/ |
| H A D | mmap.c | 102 vm_flags_t vm_flags) in arch_get_unmapped_area() 114 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/arch/loongarch/mm/ |
| H A D | mmap.c | 97 vm_flags_t vm_flags) in arch_get_unmapped_area() 109 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | hash-pkey.h | 8 static inline u64 hash__vmflag_to_pte_pkey_bits(u64 vm_flags) in hash__vmflag_to_pte_pkey_bits()
|
| /linux/arch/arc/mm/ |
| H A D | mmap.c | 27 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | find_vma_fail1.c | 5 #define vm_flags vm_start macro
|
| /linux/arch/csky/abiv1/ |
| H A D | mmap.c | 27 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area()
|
| /linux/arch/xtensa/kernel/ |
| H A D | syscall.c | 59 vm_flags_t vm_flags) in arch_get_unmapped_area()
|
| /linux/arch/parisc/kernel/ |
| H A D | sys_parisc.c | 171 vm_flags_t vm_flags) in arch_get_unmapped_area() 179 unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 101 …signed long addr, unsigned long len, unsigned long pgoff, unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area() 165 const unsigned long flags, vm_flags_t vm_flags) in arch_get_unmapped_area_topdown()
|
| /linux/kernel/liveupdate/ |
| H A D | kexec_handover.c | 902 static unsigned short vmalloc_flags_to_kho(unsigned int vm_flags) in vmalloc_flags_to_kho() 916 unsigned int vm_flags = 0; in kho_flags_to_vmalloc() local 1062 unsigned int align, order, shift, vm_flags; in kho_restore_vmalloc() local
|