Home
last modified time | relevance | path

Searched defs:mm (Results 1 – 25 of 51) sorted by relevance

123

/include/linux/
Dmmap_lock.h4 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
9 static inline void mmap_write_lock(struct mm_struct *mm) in mmap_write_lock()
14 static inline int mmap_write_lock_killable(struct mm_struct *mm) in mmap_write_lock_killable()
19 static inline bool mmap_write_trylock(struct mm_struct *mm) in mmap_write_trylock()
24 static inline void mmap_write_unlock(struct mm_struct *mm) in mmap_write_unlock()
29 static inline void mmap_write_downgrade(struct mm_struct *mm) in mmap_write_downgrade()
34 static inline void mmap_read_lock(struct mm_struct *mm) in mmap_read_lock()
39 static inline int mmap_read_lock_killable(struct mm_struct *mm) in mmap_read_lock_killable()
44 static inline bool mmap_read_trylock(struct mm_struct *mm) in mmap_read_trylock()
49 static inline void mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock()
Dmmu_notifier.h67 struct mm_struct *mm; member
253 struct mm_struct *mm; member
261 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
269 mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm) in mmu_notifier_get()
313 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
319 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young()
328 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young()
337 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young()
345 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte()
396 static inline void mmu_notifier_invalidate_range(struct mm_struct *mm, in mmu_notifier_invalidate_range()
[all …]
Dkhugepaged.h22 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
42 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
49 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
68 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
72 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
85 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
Dksm.h27 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
34 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
59 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
64 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
Dpkeys.h11 #define execute_only_pkey(mm) (0) argument
21 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
26 static inline int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
31 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
Dmm.h551 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
584 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument
1545 struct mm_struct *mm, unsigned long address, in fixup_user_fault()
1683 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter()
1701 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter()
1708 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter()
1715 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter()
1737 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss()
1744 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss()
1749 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm()
[all …]
Dhugetlb.h156 static inline int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, in huge_pmd_unshare()
169 #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) argument
180 #define follow_huge_pud(mm, addr, pud, flags) NULL argument
181 #define follow_huge_pgd(mm, addr, pgd, flags) NULL argument
185 #define is_hugepage_only_range(mm, addr, len) 0 argument
189 #define huge_pte_offset(mm, address, sz) 0 argument
217 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault()
530 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr()
549 static inline void hugetlb_count_init(struct mm_struct *mm) in hugetlb_count_init()
554 static inline void hugetlb_count_add(long l, struct mm_struct *mm) in hugetlb_count_add()
[all …]
Doom.h84 static inline bool mm_is_oom_victim(struct mm_struct *mm) in mm_is_oom_victim()
102 static inline vm_fault_t check_stable_address_space(struct mm_struct *mm) in check_stable_address_space()
Dvmacache.h23 static inline void vmacache_invalidate(struct mm_struct *mm) in vmacache_invalidate()
Daio.h18 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
Delf-randomize.h13 # define arch_randomize_brk(mm) (mm->brk) argument
/include/asm-generic/
Dpgalloc.h19 static inline pte_t *__pte_alloc_one_kernel(struct mm_struct *mm) in __pte_alloc_one_kernel()
31 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) in pte_alloc_one_kernel()
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
59 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
83 static inline pgtable_t pte_alloc_one(struct mm_struct *mm) in pte_alloc_one()
99 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
Dmm_hooks.h11 struct mm_struct *mm) in arch_dup_mmap()
16 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
20 static inline void arch_unmap(struct mm_struct *mm, in arch_unmap()
25 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
Dmmu_context.h15 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
21 struct mm_struct *mm) in init_new_context()
26 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
31 struct mm_struct *mm) in deactivate_mm()
D5level-fixup.h16 #define pud_alloc(mm, p4d, address) \ argument
20 #define p4d_alloc(mm, pgd, address) (pgd) argument
43 #define p4d_populate(mm, p4d, pud) pgd_populate(mm, p4d, pud) argument
44 #define p4d_populate_safe(mm, p4d, pud) pgd_populate(mm, p4d, pud) argument
53 #define p4d_free(mm, x) do { } while (0) argument
Dpgtable.h125 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear()
137 static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, in pmdp_huge_get_and_clear()
147 static inline pud_t pudp_huge_get_and_clear(struct mm_struct *mm, in pudp_huge_get_and_clear()
161 static inline pmd_t pmdp_huge_get_and_clear_full(struct mm_struct *mm, in pmdp_huge_get_and_clear_full()
170 static inline pud_t pudp_huge_get_and_clear_full(struct mm_struct *mm, in pudp_huge_get_and_clear_full()
180 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, in ptep_get_and_clear_full()
196 static inline void pte_clear_not_present_full(struct mm_struct *mm, in pte_clear_not_present_full()
222 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long address, pte_t *ptep) in ptep_set_wrprotect()
255 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect()
262 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect()
[all …]
Dpgtable-nop4d-hack.h33 #define pgd_populate(mm, pgd, pud) do { } while (0) argument
34 #define pgd_populate_safe(mm, pgd, pud) do { } while (0) argument
56 #define pud_alloc_one(mm, address) NULL argument
57 #define pud_free(mm, x) do { } while (0) argument
Dpgtable-nopud.h37 #define p4d_populate(mm, p4d, pud) do { } while (0) argument
38 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument
60 #define pud_alloc_one(mm, address) NULL argument
61 #define pud_free(mm, x) do { } while (0) argument
Dpgtable-nop4d.h28 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument
29 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0) argument
51 #define p4d_alloc_one(mm, address) NULL argument
52 #define p4d_free(mm, x) do { } while (0) argument
Dhugetlb.h36 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear()
53 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at()
61 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear()
106 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect()
D4level-fixup.h15 #define pmd_alloc(mm, pud, address) \ argument
26 #define pud_populate(mm, pud, pmd) pgd_populate(mm, pud, pmd) argument
32 #define pud_free(mm, x) do { } while (0) argument
Dpgtable-nopmd.h36 #define pud_populate(mm, pmd, pte) do { } while (0) argument
59 #define pmd_alloc_one(mm, address) NULL argument
60 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
Dtlbflush.h15 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
/include/linux/sched/
Dmm.h34 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
41 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
74 static inline bool mmget_still_valid(struct mm_struct *mm) in mmget_still_valid()
95 static inline void mmget(struct mm_struct *mm) in mmget()
100 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
130 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
154 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout()
376 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
396 static inline void membarrier_exec_mmap(struct mm_struct *mm) in membarrier_exec_mmap()
399 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
/include/drm/
Ddrm_mm.h163 struct drm_mm *mm; member
225 struct drm_mm *mm; member
272 static inline bool drm_mm_initialized(const struct drm_mm *mm) in drm_mm_initialized()
349 #define drm_mm_nodes(mm) (&(mm)->head_node.node_list) argument
359 #define drm_mm_for_each_node(entry, mm) \ argument
371 #define drm_mm_for_each_node_safe(entry, next, mm) \ argument
390 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
430 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic()
454 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node()
474 static inline bool drm_mm_clean(const struct drm_mm *mm) in drm_mm_clean()
[all …]

123