/linux-4.19.296/include/linux/ |
D | mmu_notifier.h | 209 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers() 244 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release() 250 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young() 259 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young() 268 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young() 276 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte() 283 static inline void mmu_notifier_invalidate_range_start(struct mm_struct *mm, in mmu_notifier_invalidate_range_start() 290 static inline int mmu_notifier_invalidate_range_start_nonblock(struct mm_struct *mm, in mmu_notifier_invalidate_range_start_nonblock() 298 static inline void mmu_notifier_invalidate_range_end(struct mm_struct *mm, in mmu_notifier_invalidate_range_end() 305 static inline void mmu_notifier_invalidate_range_only_end(struct mm_struct *mm, in mmu_notifier_invalidate_range_only_end() [all …]
|
D | khugepaged.h | 34 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 41 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 60 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 64 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit()
|
D | ksm.h | 27 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()
|
D | pkeys.h | 11 #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()
|
D | mm.h | 455 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() 471 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument 1396 struct mm_struct *mm; member 1446 struct mm_struct *mm, unsigned long address, in fixup_user_fault() 1609 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() 1624 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter() 1629 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter() 1634 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter() 1654 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss() 1661 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss() [all …]
|
D | hugetlb.h | 174 static inline int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, in huge_pmd_unshare() 187 #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) argument 197 #define follow_huge_pmd(mm, addr, pmd, flags) NULL argument 198 #define follow_huge_pud(mm, addr, pud, flags) NULL argument 199 #define follow_huge_pgd(mm, addr, pgd, flags) NULL argument 203 #define is_hugepage_only_range(mm, addr, len) 0 argument 205 #define hugetlb_fault(mm, vma, addr, flags) ({ BUG(); 0; }) argument 208 #define huge_pte_offset(mm, address, sz) 0 argument 501 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr() 520 static inline void hugetlb_count_init(struct mm_struct *mm) in hugetlb_count_init() [all …]
|
D | hmm.h | 383 static inline void hmm_mm_init(struct mm_struct *mm) in hmm_mm_init() 388 static inline void hmm_mm_destroy(struct mm_struct *mm) {} in hmm_mm_destroy() 389 static inline void hmm_mm_init(struct mm_struct *mm) {} in hmm_mm_init() 558 static inline void hmm_mm_destroy(struct mm_struct *mm) {} in hmm_mm_destroy() 559 static inline void hmm_mm_init(struct mm_struct *mm) {} in hmm_mm_init()
|
D | oom.h | 74 static inline bool mm_is_oom_victim(struct mm_struct *mm) in mm_is_oom_victim() 92 static inline vm_fault_t check_stable_address_space(struct mm_struct *mm) in check_stable_address_space()
|
/linux-4.19.296/include/linux/sched/ |
D | mm.h | 34 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() 146 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout() 336 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode() 361 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
|
/linux-4.19.296/include/asm-generic/ |
D | mmu_context.h | 15 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()
|
D | mm_hooks.h | 11 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()
|
D | pgtable.h | 125 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 …]
|
D | 5level-fixup.h | 16 #define pud_alloc(mm, p4d, address) \ argument 20 #define p4d_alloc(mm, pgd, address) (pgd) argument 28 #define p4d_populate(mm, p4d, pud) pgd_populate(mm, p4d, pud) argument 37 #define p4d_free(mm, x) do { } while (0) argument
|
D | 4level-fixup.h | 15 #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
|
D | pgtable-nopud.h | 37 #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
|
D | pgtable-nopmd.h | 36 #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()
|
D | pgtable-nop4d-hack.h | 33 #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
|
D | pgtable-nop4d.h | 28 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument 50 #define p4d_alloc_one(mm, address) NULL argument 51 #define p4d_free(mm, x) do { } while (0) argument
|
/linux-4.19.296/include/drm/ |
D | drm_mm.h | 163 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 …]
|
/linux-4.19.296/drivers/misc/cxl/ |
D | fault.c | 88 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment() 117 struct mm_struct *mm, u64 ea) in cxl_handle_segment_miss() 135 int cxl_handle_mm_fault(struct mm_struct *mm, u64 dsisr, u64 dar) in cxl_handle_mm_fault() 185 struct mm_struct *mm, in cxl_handle_page_fault() 238 struct mm_struct *mm = NULL; in cxl_handle_fault() local 289 struct mm_struct *mm; in cxl_prefault_one() local 319 struct mm_struct *mm; in cxl_prefault_vma() local
|
D | cxllib.c | 177 struct mm_struct *mm = NULL; in cxllib_get_PE_attributes() local 207 static int get_vma_info(struct mm_struct *mm, u64 addr, in get_vma_info() 229 int cxllib_handle_fault(struct mm_struct *mm, u64 addr, u64 size, u64 flags) in cxllib_handle_fault()
|
/linux-4.19.296/fs/proc/ |
D | task_nommu.c | 21 void task_mem(struct seq_file *m, struct mm_struct *mm) in task_mem() 83 unsigned long task_vsize(struct mm_struct *mm) in task_vsize() 98 unsigned long task_statm(struct mm_struct *mm, in task_statm() 131 struct mm_struct *mm = vma->vm_mm; in is_stack() local 147 struct mm_struct *mm = vma->vm_mm; in nommu_vma_show() local 201 struct mm_struct *mm; in m_start() local
|
/linux-4.19.296/drivers/oprofile/ |
D | buffer_sync.c | 91 struct mm_struct *mm = current->mm; in munmap_notify() local 227 static unsigned long get_exec_dcookie(struct mm_struct *mm) in get_exec_dcookie() 254 lookup_dcookie(struct mm_struct *mm, unsigned long addr, off_t *offset) in lookup_dcookie() 331 static void add_data(struct op_entry *entry, struct mm_struct *mm) in add_data() 381 add_sample(struct mm_struct *mm, struct op_sample *s, int in_kernel) in add_sample() 416 static void release_mm(struct mm_struct *mm) in release_mm() 495 struct mm_struct *mm = NULL; in sync_buffer() local
|
/linux-4.19.296/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 223 struct mm_struct *mm, in gru_invalidate_range_start() 240 struct mm_struct *mm, unsigned long start, in gru_invalidate_range_end() 253 static void gru_release(struct mmu_notifier *mn, struct mm_struct *mm) in gru_release() 271 static struct mmu_notifier *mmu_find_ops(struct mm_struct *mm, in mmu_find_ops()
|
/linux-4.19.296/fs/ |
D | userfaultfd.c | 71 struct mm_struct *mm; member 235 struct mm_struct *mm = ctx->mm; in userfaultfd_huge_must_wait() local 283 struct mm_struct *mm = ctx->mm; in userfaultfd_must_wait() local 356 struct mm_struct *mm = vmf->vma->vm_mm; in handle_userfault() local 640 struct mm_struct *mm = release_new_ctx->mm; in userfaultfd_event_wait_completion() local 794 struct mm_struct *mm = vma->vm_mm; in userfaultfd_remove() local 857 void userfaultfd_unmap_complete(struct mm_struct *mm, struct list_head *uf) in userfaultfd_unmap_complete() 879 struct mm_struct *mm = ctx->mm; in userfaultfd_release() local 1270 static __always_inline int validate_range(struct mm_struct *mm, in validate_range() 1299 struct mm_struct *mm = ctx->mm; in userfaultfd_register() local [all …]
|