Home
last modified time | relevance | path

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

12

/include/linux/
Dmmu_notifier.h188 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
220 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
226 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young()
235 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young()
244 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young()
252 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte()
259 static inline void mmu_notifier_invalidate_range_start(struct mm_struct *mm, in mmu_notifier_invalidate_range_start()
266 static inline void mmu_notifier_invalidate_range_end(struct mm_struct *mm, in mmu_notifier_invalidate_range_end()
273 static inline void mmu_notifier_invalidate_range(struct mm_struct *mm, in mmu_notifier_invalidate_range()
280 static inline void mmu_notifier_mm_init(struct mm_struct *mm) in mmu_notifier_mm_init()
[all …]
Dkhugepaged.h33 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
40 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
59 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
63 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
Dpkeys.h12 #define execute_only_pkey(mm) (0) argument
17 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated()
22 static inline int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc()
27 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
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()
70 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
75 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
Dmm.h1301 struct mm_struct *mm; member
1354 struct mm_struct *mm, unsigned long address, in fixup_user_fault()
1499 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter()
1514 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter()
1519 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter()
1524 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter()
1544 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss()
1551 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss()
1556 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm()
1561 static inline void update_hiwater_rss(struct mm_struct *mm) in update_hiwater_rss()
[all …]
Dhmm.h505 static inline void hmm_mm_init(struct mm_struct *mm) in hmm_mm_init()
510 static inline void hmm_mm_destroy(struct mm_struct *mm) {} in hmm_mm_destroy()
511 static inline void hmm_mm_init(struct mm_struct *mm) {} in hmm_mm_init()
516 static inline void hmm_mm_destroy(struct mm_struct *mm) {} in hmm_mm_destroy()
517 static inline void hmm_mm_init(struct mm_struct *mm) {} in hmm_mm_init()
Dhugetlb.h172 static inline int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, in huge_pmd_unshare()
185 #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) argument
195 #define follow_huge_pmd(mm, addr, pmd, flags) NULL argument
196 #define follow_huge_pud(mm, addr, pud, flags) NULL argument
197 #define follow_huge_pgd(mm, addr, pgd, flags) NULL argument
201 #define is_hugepage_only_range(mm, addr, len) 0 argument
203 #define hugetlb_fault(mm, vma, addr, flags) ({ BUG(); 0; }) argument
206 #define huge_pte_offset(mm, address, sz) 0 argument
498 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr()
517 static inline void hugetlb_count_add(long l, struct mm_struct *mm) in hugetlb_count_add()
[all …]
Doom.h73 static inline bool mm_is_oom_victim(struct mm_struct *mm) in mm_is_oom_victim()
91 static inline int check_stable_address_space(struct mm_struct *mm) in check_stable_address_space()
Delf-randomize.h13 # define arch_randomize_brk(mm) (mm->brk) argument
Dvmacache.h29 static inline void vmacache_invalidate(struct mm_struct *mm) in vmacache_invalidate()
Daio.h20 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
Dmm-arch-hooks.h17 static inline void arch_remap(struct mm_struct *mm, in arch_remap()
Dmmdebug.h33 #define VM_BUG_ON_MM(cond, mm) \ argument
48 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
/include/linux/sched/
Dmm.h33 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
40 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
48 struct mm_struct *mm = container_of(work, struct mm_struct, async_put_work); in mmdrop_async_fn() local
52 static inline void mmdrop_async(struct mm_struct *mm) in mmdrop_async()
80 static inline bool mmget_still_valid(struct mm_struct *mm) in mmget_still_valid()
101 static inline void mmget(struct mm_struct *mm) in mmget()
106 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
136 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
151 static inline void arch_pick_mmap_layout(struct mm_struct *mm) {} in arch_pick_mmap_layout()
/include/asm-generic/
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()
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()
26 static inline void arch_bprm_mm_init(struct mm_struct *mm, in arch_bprm_mm_init()
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 …]
D5level-fixup.h15 #define pud_alloc(mm, p4d, address) \ argument
19 #define p4d_alloc(mm, pgd, address) (pgd) argument
27 #define p4d_populate(mm, p4d, pud) pgd_populate(mm, p4d, pud) argument
36 #define p4d_free(mm, x) do { } while (0) argument
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-nopud.h37 #define p4d_populate(mm, p4d, pud) do { } while (0) argument
59 #define pud_alloc_one(mm, address) NULL argument
60 #define pud_free(mm, x) do { } while (0) argument
Dpgtable-nop4d.h27 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument
49 #define p4d_alloc_one(mm, address) NULL argument
50 #define p4d_free(mm, x) do { } while (0) argument
Dpgtable-nop4d-hack.h33 #define pgd_populate(mm, pgd, pud) do { } while (0) argument
55 #define pud_alloc_one(mm, address) NULL argument
56 #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/drm/
Ddrm_mm.h131 struct drm_mm *mm; member
193 struct drm_mm *mm; member
240 static inline bool drm_mm_initialized(const struct drm_mm *mm) in drm_mm_initialized()
317 #define drm_mm_nodes(mm) (&(mm)->head_node.node_list) argument
327 #define drm_mm_for_each_node(entry, mm) \ argument
339 #define drm_mm_for_each_node_safe(entry, next, mm) \ argument
358 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
398 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic()
422 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node()
442 static inline bool drm_mm_clean(const struct drm_mm *mm) in drm_mm_clean()
[all …]

12