| /include/linux/ |
| D | mmap_lock.h | 25 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 32 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 39 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 47 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 52 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 57 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 63 static inline void mmap_assert_locked(const struct mm_struct *mm) in mmap_assert_locked() 68 static inline void mmap_assert_write_locked(const struct mm_struct *mm) in mmap_assert_write_locked() 75 static inline void mm_lock_seqcount_init(struct mm_struct *mm) in mm_lock_seqcount_init() 80 static inline void mm_lock_seqcount_begin(struct mm_struct *mm) in mm_lock_seqcount_begin() [all …]
|
| D | page_table_check.h | 44 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear() 52 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear() 60 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear() 68 static inline void page_table_check_ptes_set(struct mm_struct *mm, in page_table_check_ptes_set() 77 static inline void page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, in page_table_check_pmd_set() 86 static inline void page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, in page_table_check_pud_set() 95 static inline void page_table_check_pte_clear_range(struct mm_struct *mm, in page_table_check_pte_clear_range() 115 static inline void page_table_check_pte_clear(struct mm_struct *mm, pte_t pte) in page_table_check_pte_clear() 119 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear() 123 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) in page_table_check_pud_clear() [all …]
|
| D | ksm.h | 38 static inline void ksm_map_zero_page(struct mm_struct *mm) in ksm_map_zero_page() 44 static inline void ksm_might_unmap_zero_page(struct mm_struct *mm, pte_t pte) in ksm_might_unmap_zero_page() 52 static inline long mm_ksm_zero_pages(struct mm_struct *mm) in mm_ksm_zero_pages() 57 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() 64 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve() 72 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit() 104 static inline int ksm_disable(struct mm_struct *mm) in ksm_disable() 109 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() 113 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve() 118 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit() [all …]
|
| D | mmu_notifier.h | 237 struct mm_struct *mm; member 260 struct mm_struct *mm; member 272 struct mm_struct *mm; member 280 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers() 288 mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm) in mmu_notifier_get() 408 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release() 414 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young() 423 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young() 432 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young() 484 static inline void mmu_notifier_arch_invalidate_secondary_tlbs(struct mm_struct *mm, in mmu_notifier_arch_invalidate_secondary_tlbs() [all …]
|
| D | khugepaged.h | 24 static inline int collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp() 31 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 37 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 43 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 46 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 53 static inline int collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp()
|
| D | pkeys.h | 13 #define execute_only_pkey(mm) (0) argument 23 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() 28 static inline int mm_pkey_alloc(struct mm_struct *mm) in mm_pkey_alloc() 33 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free()
|
| D | mm.h | 720 struct mm_struct *mm = vma->vm_mm; in vma_refcount_put() local 740 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read() 913 static inline struct vm_area_struct *vma_start_read(struct mm_struct *mm, in vma_start_read() 925 static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, in lock_vma_under_rcu() 950 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() 1189 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument 2625 static inline int fixup_user_fault(struct mm_struct *mm, unsigned long address, in fixup_user_fault() 2664 static inline struct page *get_user_page_vma_remote(struct mm_struct *mm, in get_user_page_vma_remote() 2765 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() 2770 static inline unsigned long get_mm_counter_sum(struct mm_struct *mm, int member) in get_mm_counter_sum() [all …]
|
| D | pgtable.h | 147 #define pgd_offset(mm, address) pgd_offset_pgd((mm)->pgd, (address)) argument 163 static inline pmd_t *pmd_off(struct mm_struct *mm, unsigned long va) in pmd_off() 268 static inline void set_ptes(struct mm_struct *mm, unsigned long addr, in set_ptes() 282 #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) argument 459 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear() 514 static inline void ptep_clear(struct mm_struct *mm, unsigned long addr, in ptep_clear() 605 static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, in pmdp_huge_get_and_clear() 618 static inline pud_t pudp_huge_get_and_clear(struct mm_struct *mm, in pudp_huge_get_and_clear() 653 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, in ptep_get_and_clear_full() 681 static inline pte_t get_and_clear_full_ptes(struct mm_struct *mm, in get_and_clear_full_ptes() [all …]
|
| D | mmu_context.h | 32 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask() 39 static inline bool arch_pgtable_dma_compat(struct mm_struct *mm) in arch_pgtable_dma_compat()
|
| D | mmdebug.h | 41 #define VM_BUG_ON_MM(cond, mm) \ argument 79 #define VM_WARN_ON_ONCE_MM(cond, mm) ({ \ argument 100 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument 106 #define VM_WARN_ON_ONCE_MM(cond, mm) BUILD_BUG_ON_INVALID(cond) argument
|
| D | mm_types.h | 1093 static inline void mm_init_cpumask(struct mm_struct *mm) in mm_init_cpumask() 1102 static inline cpumask_t *mm_cpumask(struct mm_struct *mm) in mm_cpumask() 1124 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm() 1133 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm() 1145 static inline void lru_gen_add_mm(struct mm_struct *mm) in lru_gen_add_mm() 1149 static inline void lru_gen_del_mm(struct mm_struct *mm) in lru_gen_del_mm() 1153 static inline void lru_gen_migrate_mm(struct mm_struct *mm) in lru_gen_migrate_mm() 1157 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm() 1161 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm() 1182 struct mm_struct *mm, unsigned long addr) in vma_iter_init() [all …]
|
| D | mm_inline.h | 468 static inline void init_tlb_flush_pending(struct mm_struct *mm) in init_tlb_flush_pending() 473 static inline void inc_tlb_flush_pending(struct mm_struct *mm) in inc_tlb_flush_pending() 514 static inline void dec_tlb_flush_pending(struct mm_struct *mm) in dec_tlb_flush_pending() 527 static inline bool mm_tlb_flush_pending(struct mm_struct *mm) in mm_tlb_flush_pending() 540 static inline bool mm_tlb_flush_nested(struct mm_struct *mm) in mm_tlb_flush_nested()
|
| D | hugetlb.h | 189 static inline pte_t *pte_alloc_huge(struct mm_struct *mm, pmd_t *pmd, in pte_alloc_huge() 298 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare() 386 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 412 static inline pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr, in huge_pte_offset() 459 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault() 805 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 950 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr() 996 static inline void hugetlb_count_init(struct mm_struct *mm) in hugetlb_count_init() 1001 static inline void hugetlb_count_add(long l, struct mm_struct *mm) in hugetlb_count_add() 1006 static inline void hugetlb_count_sub(long l, struct mm_struct *mm) in hugetlb_count_sub() [all …]
|
| D | sync_core.h | 30 static inline void prepare_sync_core_cmd(struct mm_struct *mm) in prepare_sync_core_cmd()
|
| D | aio.h | 18 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
|
| /include/asm-generic/ |
| D | pgalloc.h | 19 static inline pte_t *__pte_alloc_one_kernel_noprof(struct mm_struct *mm) in __pte_alloc_one_kernel_noprof() 37 static inline pte_t *pte_alloc_one_kernel_noprof(struct mm_struct *mm) in pte_alloc_one_kernel_noprof() 49 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() 66 static inline pgtable_t __pte_alloc_one_noprof(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one_noprof() 91 static inline pgtable_t pte_alloc_one_noprof(struct mm_struct *mm) in pte_alloc_one_noprof() 108 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free() 131 static inline pmd_t *pmd_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_noprof() 151 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 165 static inline pud_t *__pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in __pud_alloc_one_noprof() 193 static inline pud_t *pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pud_alloc_one_noprof() [all …]
|
| D | mmu_context.h | 21 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb() 35 struct mm_struct *mm) in init_new_context() 46 static inline void destroy_context(struct mm_struct *mm) in destroy_context() 71 struct mm_struct *mm) in deactivate_mm()
|
| D | hugetlb.h | 61 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 78 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 86 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, in huge_ptep_get_and_clear() 130 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, in huge_ptep_set_wrprotect() 147 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
|
| D | pgtable-nop4d.h | 27 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument 28 #define pgd_populate_safe(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
|
| D | pgtable-nopud.h | 34 #define p4d_populate(mm, p4d, pud) do { } while (0) argument 35 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument 58 #define pud_alloc_one(mm, address) NULL argument 59 #define pud_free(mm, x) do { } while (0) argument
|
| 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()
|
| D | pgtable-nopmd.h | 38 #define pud_populate(mm, pmd, pte) do { } while (0) argument 62 #define pmd_alloc_one(mm, address) NULL argument 63 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
| D | tlbflush.h | 15 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm()
|
| /include/linux/sched/ |
| D | mm.h | 35 static inline void mmgrab(struct mm_struct *mm) in mmgrab() 47 static inline void mmdrop(struct mm_struct *mm) in mmdrop() 65 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed() local 74 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched() 81 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched() 88 static inline void mmgrab_lazy_tlb(struct mm_struct *mm) in mmgrab_lazy_tlb() 94 static inline void mmdrop_lazy_tlb(struct mm_struct *mm) in mmdrop_lazy_tlb() 107 static inline void mmdrop_lazy_tlb_sched(struct mm_struct *mm) in mmdrop_lazy_tlb_sched() 131 static inline void mmget(struct mm_struct *mm) in mmget() 136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() [all …]
|
| /include/drm/ |
| D | drm_mm.h | 165 struct drm_mm *mm; member 229 struct drm_mm *mm; member 276 static inline bool drm_mm_initialized(const struct drm_mm *mm) in drm_mm_initialized() 353 #define drm_mm_nodes(mm) (&(mm)->head_node.node_list) argument 363 #define drm_mm_for_each_node(entry, mm) \ argument 375 #define drm_mm_for_each_node_safe(entry, next, mm) \ argument 394 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument 434 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic() 458 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node() 477 static inline bool drm_mm_clean(const struct drm_mm *mm) in drm_mm_clean() [all …]
|