• Home
  • Raw
  • Download

Lines Matching refs:vm_area_struct

260 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
261 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
262 void vm_area_free(struct vm_area_struct *);
551 struct vm_area_struct *vma; /* Target VMA */
601 void (*open)(struct vm_area_struct * area);
606 void (*close)(struct vm_area_struct * area);
608 int (*may_split)(struct vm_area_struct *area, unsigned long addr);
609 int (*mremap)(struct vm_area_struct *area);
615 int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
621 unsigned long (*pagesize)(struct vm_area_struct * area);
634 int (*access)(struct vm_area_struct *vma, unsigned long addr,
640 const char *(*name)(struct vm_area_struct *vma);
650 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
662 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
670 struct page *(*find_special_page)(struct vm_area_struct *vma,
680 static inline void vma_numab_state_init(struct vm_area_struct *vma) in vma_numab_state_init()
684 static inline void vma_numab_state_free(struct vm_area_struct *vma) in vma_numab_state_free()
689 static inline void vma_numab_state_init(struct vm_area_struct *vma) {} in vma_numab_state_init()
690 static inline void vma_numab_state_free(struct vm_area_struct *vma) {} in vma_numab_state_free()
694 static inline void vma_lock_init(struct vm_area_struct *vma, bool reset_refcnt) in vma_lock_init()
717 static inline void vma_refcount_put(struct vm_area_struct *vma) in vma_refcount_put()
740 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read()
741 struct vm_area_struct *vma) in vma_start_read()
793 static inline bool vma_start_read_locked_nested(struct vm_area_struct *vma, int subclass) in vma_start_read_locked_nested()
812 static inline bool vma_start_read_locked(struct vm_area_struct *vma) in vma_start_read_locked()
817 static inline void vma_end_read(struct vm_area_struct *vma) in vma_end_read()
823 static bool __is_vma_write_locked(struct vm_area_struct *vma, unsigned int *mm_lock_seq) in __is_vma_write_locked()
835 void __vma_start_write(struct vm_area_struct *vma, unsigned int mm_lock_seq);
842 static inline void vma_start_write(struct vm_area_struct *vma) in vma_start_write()
852 static inline void vma_assert_write_locked(struct vm_area_struct *vma) in vma_assert_write_locked()
859 static inline void vma_assert_locked(struct vm_area_struct *vma) in vma_assert_locked()
872 static inline void vma_assert_attached(struct vm_area_struct *vma) in vma_assert_attached()
877 static inline void vma_assert_detached(struct vm_area_struct *vma) in vma_assert_detached()
882 static inline void vma_mark_attached(struct vm_area_struct *vma) in vma_mark_attached()
889 void vma_mark_detached(struct vm_area_struct *vma);
907 struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
912 static inline void vma_lock_init(struct vm_area_struct *vma, bool reset_refcnt) {} in vma_lock_init()
913 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read()
914 struct vm_area_struct *vma) in vma_start_read()
916 static inline void vma_end_read(struct vm_area_struct *vma) {} in vma_end_read()
917 static inline void vma_start_write(struct vm_area_struct *vma) {} in vma_start_write()
918 static inline void vma_assert_write_locked(struct vm_area_struct *vma) in vma_assert_write_locked()
920 static inline void vma_assert_attached(struct vm_area_struct *vma) {} in vma_assert_attached()
921 static inline void vma_assert_detached(struct vm_area_struct *vma) {} in vma_assert_detached()
922 static inline void vma_mark_attached(struct vm_area_struct *vma) {} in vma_mark_attached()
923 static inline void vma_mark_detached(struct vm_area_struct *vma) {} in vma_mark_detached()
925 static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, in lock_vma_under_rcu()
931 static inline void vma_assert_locked(struct vm_area_struct *vma) in vma_assert_locked()
950 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
960 static inline void vm_flags_init(struct vm_area_struct *vma, in vm_flags_init()
971 static inline void vm_flags_reset(struct vm_area_struct *vma, in vm_flags_reset()
980 static inline void vm_flags_reset_once(struct vm_area_struct *vma, in vm_flags_reset_once()
989 static inline void vm_flags_set(struct vm_area_struct *vma, in vm_flags_set()
996 static inline void vm_flags_clear(struct vm_area_struct *vma, in vm_flags_clear()
1007 static inline void __vm_flags_mod(struct vm_area_struct *vma, in __vm_flags_mod()
1017 static inline void vm_flags_mod(struct vm_area_struct *vma, in vm_flags_mod()
1024 static inline void vma_set_anonymous(struct vm_area_struct *vma) in vma_set_anonymous()
1029 static inline bool vma_is_anonymous(struct vm_area_struct *vma) in vma_is_anonymous()
1038 static inline bool vma_is_initial_heap(const struct vm_area_struct *vma) in vma_is_initial_heap()
1048 static inline bool vma_is_initial_stack(const struct vm_area_struct *vma) in vma_is_initial_stack()
1059 static inline bool vma_is_temporary_stack(struct vm_area_struct *vma) in vma_is_temporary_stack()
1073 static inline bool vma_is_foreign(struct vm_area_struct *vma) in vma_is_foreign()
1084 static inline bool vma_is_accessible(struct vm_area_struct *vma) in vma_is_accessible()
1095 static inline bool vma_is_shared_maywrite(struct vm_area_struct *vma) in vma_is_shared_maywrite()
1101 struct vm_area_struct *vma_find(struct vma_iterator *vmi, unsigned long max) in vma_find()
1106 static inline struct vm_area_struct *vma_next(struct vma_iterator *vmi) in vma_next()
1116 struct vm_area_struct *vma_iter_next_range(struct vma_iterator *vmi) in vma_iter_next_range()
1122 static inline struct vm_area_struct *vma_prev(struct vma_iterator *vmi) in vma_prev()
1145 struct vm_area_struct *vma) in vma_iter_bulk_store()
1179 bool vma_is_shmem(struct vm_area_struct *vma);
1180 bool vma_is_anon_shmem(struct vm_area_struct *vma);
1182 static inline bool vma_is_shmem(struct vm_area_struct *vma) { return false; } in vma_is_shmem()
1183 static inline bool vma_is_anon_shmem(struct vm_area_struct *vma) { return false; } in vma_is_anon_shmem()
1186 int vma_is_stack_for_current(struct vm_area_struct *vma);
1448 static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) in maybe_mkwrite()
1843 static inline void vma_set_access_pid_bit(struct vm_area_struct *vma) in vma_set_access_pid_bit()
1904 static inline void vma_set_access_pid_bit(struct vm_area_struct *vma) in vma_set_access_pid_bit()
2067 static inline bool folio_needs_cow_for_dma(struct vm_area_struct *vma, in folio_needs_cow_for_dma()
2533 struct folio *vm_normal_folio(struct vm_area_struct *vma, unsigned long addr,
2535 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr,
2537 struct folio *vm_normal_folio_pmd(struct vm_area_struct *vma,
2539 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr,
2542 void zap_vma_ptes(struct vm_area_struct *vma, unsigned long address,
2544 void zap_page_range_single(struct vm_area_struct *vma, unsigned long address,
2546 static inline void zap_vma_pages(struct vm_area_struct *vma) in zap_vma_pages()
2552 struct vm_area_struct *start_vma, unsigned long start,
2560 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
2561 int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
2570 struct vm_area_struct *vma;
2602 struct vm_area_struct *lock_mm_and_find_vma(struct mm_struct *mm,
2606 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma,
2617 static inline vm_fault_t handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault()
2644 static inline struct vm_area_struct *vma_lookup(struct mm_struct *mm,
2667 struct vm_area_struct **vmap) in get_user_page_vma_remote()
2670 struct vm_area_struct *vma; in get_user_page_vma_remote()
2742 bool can_change_pte_writable(struct vm_area_struct *vma, unsigned long addr,
2745 struct vm_area_struct *vma, unsigned long start,
2748 struct vm_area_struct *vma, struct vm_area_struct **pprev,
3447 void vma_interval_tree_insert(struct vm_area_struct *node,
3449 void vma_interval_tree_insert_after(struct vm_area_struct *node,
3450 struct vm_area_struct *prev,
3452 void vma_interval_tree_remove(struct vm_area_struct *node,
3454 struct vm_area_struct *vma_interval_tree_iter_first(struct rb_root_cached *root,
3456 struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node,
3482 extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *);
3484 int relocate_vma_down(struct vm_area_struct *vma, unsigned long shift);
3511 extern bool vma_is_special_mapping(const struct vm_area_struct *vma,
3513 extern struct vm_area_struct *_install_special_mapping(struct mm_struct *mm,
3542 int do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma,
3595 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address);
3596 struct vm_area_struct *expand_stack(struct mm_struct * mm, unsigned long addr);
3599 int expand_downwards(struct vm_area_struct *vma, unsigned long address);
3602 extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr);
3603 extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr,
3604 struct vm_area_struct **pprev);
3610 struct vm_area_struct *find_vma_intersection(struct mm_struct *mm,
3621 struct vm_area_struct *vma_lookup(struct mm_struct *mm, unsigned long addr) in vma_lookup()
3626 static inline unsigned long stack_guard_start_gap(struct vm_area_struct *vma) in stack_guard_start_gap()
3638 static inline unsigned long vm_start_gap(struct vm_area_struct *vma) in vm_start_gap()
3649 static inline unsigned long vm_end_gap(struct vm_area_struct *vma) in vm_end_gap()
3661 static inline unsigned long vma_pages(struct vm_area_struct *vma) in vma_pages()
3667 static inline struct vm_area_struct *find_exact_vma(struct mm_struct *mm, in find_exact_vma()
3670 struct vm_area_struct *vma = vma_lookup(mm, vm_start); in find_exact_vma()
3678 static inline bool range_in_vma(struct vm_area_struct *vma, in range_in_vma()
3686 void vma_set_page_prot(struct vm_area_struct *vma);
3692 static inline void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
3698 void vma_set_file(struct vm_area_struct *vma, struct file *file);
3701 unsigned long change_prot_numa(struct vm_area_struct *vma,
3705 struct vm_area_struct *find_extend_vma_locked(struct mm_struct *,
3707 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
3709 int remap_pfn_range_notrack(struct vm_area_struct *vma, unsigned long addr,
3711 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
3712 int vm_insert_pages(struct vm_area_struct *vma, unsigned long addr,
3714 int vm_map_pages(struct vm_area_struct *vma, struct page **pages,
3716 int vm_map_pages_zero(struct vm_area_struct *vma, struct page **pages,
3718 vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
3720 vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr,
3722 vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr,
3724 vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
3726 int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len);
3728 static inline vm_fault_t vmf_insert_page(struct vm_area_struct *vma, in vmf_insert_page()
3742 static inline int io_remap_pfn_range(struct vm_area_struct *vma, in io_remap_pfn_range()
3792 static inline bool gup_can_follow_protnone(struct vm_area_struct *vma, in gup_can_follow_protnone()
3961 extern struct vm_area_struct *get_gate_vma(struct mm_struct *mm);
3965 static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
3992 const char * arch_vma_name(struct vm_area_struct *vma);
4210 struct vm_area_struct *vma);
4225 static inline bool vma_is_special_huge(const struct vm_area_struct *vma) in vma_is_special_huge()
4307 static inline int seal_check_write(int seals, struct vm_area_struct *vma) in seal_check_write()
4358 void vma_pgtable_walk_begin(struct vm_area_struct *vma);
4359 void vma_pgtable_walk_end(struct vm_area_struct *vma);