Lines Matching defs:mm
695 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
772 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument
1859 static inline int fixup_user_fault(struct mm_struct *mm, unsigned long address, in fixup_user_fault()
1988 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter()
2005 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter()
2012 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter()
2019 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter()
2041 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss()
2048 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss()
2053 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm()
2058 static inline void update_hiwater_rss(struct mm_struct *mm) in update_hiwater_rss()
2066 static inline void update_hiwater_vm(struct mm_struct *mm) in update_hiwater_vm()
2072 static inline void reset_mm_hiwater_rss(struct mm_struct *mm) in reset_mm_hiwater_rss()
2078 struct mm_struct *mm) in setmax_mm_hiwater_rss()
2089 static inline void sync_mm_rss(struct mm_struct *mm) in sync_mm_rss()
2117 static inline pte_t *get_locked_pte(struct mm_struct *mm, unsigned long addr, in get_locked_pte()
2126 static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd, in __p4d_alloc()
2136 static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d, in __pud_alloc()
2141 static inline void mm_inc_nr_puds(struct mm_struct *mm) {} in mm_inc_nr_puds()
2142 static inline void mm_dec_nr_puds(struct mm_struct *mm) {} in mm_dec_nr_puds()
2147 static inline void mm_inc_nr_puds(struct mm_struct *mm) in mm_inc_nr_puds()
2154 static inline void mm_dec_nr_puds(struct mm_struct *mm) in mm_dec_nr_puds()
2163 static inline int __pmd_alloc(struct mm_struct *mm, pud_t *pud, in __pmd_alloc()
2169 static inline void mm_inc_nr_pmds(struct mm_struct *mm) {} in mm_inc_nr_pmds()
2170 static inline void mm_dec_nr_pmds(struct mm_struct *mm) {} in mm_dec_nr_pmds()
2175 static inline void mm_inc_nr_pmds(struct mm_struct *mm) in mm_inc_nr_pmds()
2182 static inline void mm_dec_nr_pmds(struct mm_struct *mm) in mm_dec_nr_pmds()
2191 static inline void mm_pgtables_bytes_init(struct mm_struct *mm) in mm_pgtables_bytes_init()
2196 static inline unsigned long mm_pgtables_bytes(const struct mm_struct *mm) in mm_pgtables_bytes()
2201 static inline void mm_inc_nr_ptes(struct mm_struct *mm) in mm_inc_nr_ptes()
2206 static inline void mm_dec_nr_ptes(struct mm_struct *mm) in mm_dec_nr_ptes()
2212 static inline void mm_pgtables_bytes_init(struct mm_struct *mm) {} in mm_pgtables_bytes_init()
2213 static inline unsigned long mm_pgtables_bytes(const struct mm_struct *mm) in mm_pgtables_bytes()
2218 static inline void mm_inc_nr_ptes(struct mm_struct *mm) {} in mm_inc_nr_ptes()
2219 static inline void mm_dec_nr_ptes(struct mm_struct *mm) {} in mm_dec_nr_ptes()
2227 static inline p4d_t *p4d_alloc(struct mm_struct *mm, pgd_t *pgd, in p4d_alloc()
2234 static inline pud_t *pud_alloc(struct mm_struct *mm, p4d_t *p4d, in pud_alloc()
2241 static inline pmd_t *pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address) in pmd_alloc()
2278 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr()
2303 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr()
2334 #define pte_offset_map_lock(mm, pmd, address, ptlp) \ argument
2348 #define pte_alloc(mm, pmd) (unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, pmd)) argument
2350 #define pte_alloc_map(mm, pmd, address) \ argument
2353 #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ argument
2369 static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) in pmd_lockptr()
2390 #define pmd_huge_pte(mm, pmd) (pmd_to_page(pmd)->pmd_huge_pte) argument
2394 static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) in pmd_lockptr()
2402 #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) argument
2406 static inline spinlock_t *pmd_lock(struct mm_struct *mm, pmd_t *pmd) in pmd_lock()
2435 static inline spinlock_t *pud_lockptr(struct mm_struct *mm, pud_t *pud) in pud_lockptr()
2440 static inline spinlock_t *pud_lock(struct mm_struct *mm, pud_t *pud) in pud_lock()
2759 struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) in find_vma()
2775 struct vm_area_struct *find_vma_intersection(struct mm_struct *mm, in find_vma_intersection()
2794 struct vm_area_struct *vma_lookup(struct mm_struct *mm, unsigned long addr) in vma_lookup()
2834 static inline struct vm_area_struct *find_exact_vma(struct mm_struct *mm, in find_exact_vma()
3125 static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
3130 static inline int in_gate_area(struct mm_struct *mm, unsigned long addr) in in_gate_area()
3387 madvise_set_anon_name(struct mm_struct *mm, unsigned long start, in madvise_set_anon_name()