Home
last modified time | relevance | path

Searched refs:vm_flags_t (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/mm/
H A Dmlock.c535 unsigned long start, unsigned long end, vm_flags_t newflags) in mlock_fixup()
542 vm_flags_t old_flags = vma->vm_flags; in mlock_fixup()
600 vm_flags_t flags) in apply_vma_lock_flags()
622 vm_flags_t newflags = vma->vm_flags & VM_LOCKED_CLEAR_MASK; in apply_vma_lock_flags()
687 static __must_check int do_mlock(unsigned long start, size_t len, vm_flags_t flags) in do_mlock()
741 vm_flags_t vm_flags = VM_LOCKED; in SYSCALL_DEFINE3()
782 vm_flags_t to_add = 0; in apply_mlockall_flags()
802 vm_flags_t newflags; in apply_mlockall_flags()
H A Dinternal.h314 static inline bool is_cow_mapping(vm_flags_t flags) in is_cow_mapping()
326 static inline bool is_exec_mapping(vm_flags_t flags) in is_exec_mapping()
337 static inline bool is_stack_mapping(vm_flags_t flags) in is_stack_mapping()
345 static inline bool is_data_mapping(vm_flags_t flags) in is_data_mapping()
H A Dmmap.c1476 vm_flags_t vm_flags; in do_mmap()
1746 vm_flags_t vm_flags = vma->vm_flags; in vma_wants_writenotify()
1784 static inline int accountable_mapping(struct file *file, vm_flags_t vm_flags) in accountable_mapping()
1797 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in mmap_region()
3512 bool may_expand_vm(struct mm_struct *mm, vm_flags_t flags, unsigned long npages) in may_expand_vm()
3537 void vm_stat_account(struct mm_struct *mm, vm_flags_t flags, long npages) in vm_stat_account()
H A Dgup.c953 vm_flags_t vm_flags = vma->vm_flags; in check_vma_flags()
1195 vm_flags_t vm_flags = write ? VM_WRITE : VM_READ; in vma_permits_fault()
H A Dnommu.c1081 vm_flags_t vm_flags; in do_mmap()
H A Dhugetlb.c5144 vm_flags_t vm_flags) in hugetlb_reserve_pages()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmm_types.h271 typedef unsigned long vm_flags_t; typedef
280 vm_flags_t vm_flags; /* VMA vm_flags */
H A Dhugetlb.h148 vm_flags_t vm_flags);
447 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
467 hugetlb_file_setup(const char *name, size_t size, vm_flags_t acctflag, in hugetlb_file_setup()
H A Dmm.h2731 extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages);
2732 extern void vm_stat_account(struct mm_struct *, vm_flags_t, long npages);
2751 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff,
/OK3568_Linux_fs/kernel/drivers/staging/android/
H A Dashmem.c356 static inline vm_flags_t calc_vm_may_flags(unsigned long prot) in calc_vm_may_flags()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dtask_mmu.c302 vm_flags_t flags, unsigned long long pgoff, in show_vma_header_prefix()
325 vm_flags_t flags = vma->vm_flags; in show_map_vma()
/OK3568_Linux_fs/kernel/fs/hugetlbfs/
H A Dinode.c1461 vm_flags_t acctflag, struct user_struct **user, in hugetlb_file_setup()
/OK3568_Linux_fs/kernel/ipc/
H A Dshm.c702 vm_flags_t acctflag = 0; in newseg()
/OK3568_Linux_fs/kernel/kernel/events/
H A Duprobes.c123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dhugetlbfs_reserv.rst110 vm_flags_t vm_flags)