Home
last modified time | relevance | path

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

12

/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/
Dmmu_notifier.h66 struct mm_struct *mm; member
247 struct mm_struct *mm; member
252 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers()
260 mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm) in mmu_notifier_get()
304 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release()
310 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young()
319 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young()
328 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young()
336 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte()
387 static inline void mmu_notifier_invalidate_range(struct mm_struct *mm, in mmu_notifier_invalidate_range()
[all …]
Dkhugepaged.h21 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
41 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
48 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
67 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork()
71 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
84 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
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.h529 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
562 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument
1494 struct mm_struct *mm, unsigned long address, in fixup_user_fault()
1631 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter()
1649 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter()
1656 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter()
1663 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter()
1685 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss()
1692 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss()
1697 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm()
[all …]
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()
61 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
66 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
Dhugetlb.h155 static inline int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, in huge_pmd_unshare()
168 #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) argument
178 #define follow_huge_pmd(mm, addr, pmd, flags) NULL argument
179 #define follow_huge_pud(mm, addr, pud, flags) NULL argument
180 #define follow_huge_pgd(mm, addr, pgd, flags) NULL argument
184 #define is_hugepage_only_range(mm, addr, len) 0 argument
188 #define huge_pte_offset(mm, address, sz) 0 argument
216 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault()
535 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr()
554 static inline void hugetlb_count_add(long l, struct mm_struct *mm) in hugetlb_count_add()
[all …]
Doom.h83 static inline bool mm_is_oom_victim(struct mm_struct *mm) in mm_is_oom_victim()
101 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()
Delf-randomize.h13 # define arch_randomize_brk(mm) (mm->brk) argument
Daio.h18 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
Dmm-arch-hooks.h14 static inline void arch_remap(struct mm_struct *mm, in arch_remap()
/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()
72 static inline bool mmget_still_valid(struct mm_struct *mm) in mmget_still_valid()
93 static inline void mmget(struct mm_struct *mm) in mmget()
98 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
128 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
144 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout()
365 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
385 static inline void membarrier_exec_mmap(struct mm_struct *mm) in membarrier_exec_mmap()
388 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 …]

12