| /include/linux/ |
| D | mmap_lock.h | 34 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 41 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 48 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 56 static inline void __mmap_lock_trace_start_locking(struct mm_struct *mm, in __mmap_lock_trace_start_locking() 61 static inline void __mmap_lock_trace_acquire_returned(struct mm_struct *mm, in __mmap_lock_trace_acquire_returned() 66 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() 72 static inline void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock() 80 static inline void __mmap_seq_write_lock(struct mm_struct *mm) in __mmap_seq_write_lock() 89 static inline void __mmap_seq_write_unlock(struct mm_struct *mm) in __mmap_seq_write_unlock() 99 static inline unsigned long mmap_seq_read_start(struct mm_struct *mm) in mmap_seq_read_start() [all …]
|
| D | mmu_notifier.h | 248 struct mm_struct *mm; member 271 struct mm_struct *mm; member 284 struct mm_struct *mm; member 292 static inline int mm_has_notifiers(struct mm_struct *mm) in mm_has_notifiers() 300 mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm) in mmu_notifier_get() 423 static inline void mmu_notifier_release(struct mm_struct *mm) in mmu_notifier_release() 429 static inline int mmu_notifier_clear_flush_young(struct mm_struct *mm, in mmu_notifier_clear_flush_young() 438 static inline int mmu_notifier_clear_young(struct mm_struct *mm, in mmu_notifier_clear_young() 447 static inline int mmu_notifier_test_young(struct mm_struct *mm, in mmu_notifier_test_young() 455 static inline void mmu_notifier_change_pte(struct mm_struct *mm, in mmu_notifier_change_pte() [all …]
|
| D | khugepaged.h | 23 static inline void collapse_pte_mapped_thp(struct mm_struct *mm, in collapse_pte_mapped_thp() 43 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 50 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 70 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() 74 static inline void khugepaged_exit(struct mm_struct *mm) in khugepaged_exit() 87 static inline void 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 | 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 | mm.h | 691 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() 768 #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } argument 1855 static inline int fixup_user_fault(struct mm_struct *mm, unsigned long address, in fixup_user_fault() 1985 static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) in get_mm_counter() 2002 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter() 2009 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter() 2016 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter() 2038 static inline unsigned long get_mm_rss(struct mm_struct *mm) in get_mm_rss() 2045 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) in get_mm_hiwater_rss() 2050 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) in get_mm_hiwater_vm() [all …]
|
| D | pgtable.h | 132 #define pgd_offset(mm, address) pgd_offset_pgd((mm)->pgd, (address)) argument 150 static inline pmd_t *pmd_off(struct mm_struct *mm, unsigned long va) in pmd_off() 276 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, in ptep_get_and_clear() 350 static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, in pmdp_huge_get_and_clear() 360 static inline pud_t pudp_huge_get_and_clear(struct mm_struct *mm, in pudp_huge_get_and_clear() 383 static inline pud_t pudp_huge_get_and_clear_full(struct mm_struct *mm, in pudp_huge_get_and_clear_full() 393 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, in ptep_get_and_clear_full() 426 static inline void pte_clear_not_present_full(struct mm_struct *mm, in pte_clear_not_present_full() 452 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long address, pte_t *ptep) in ptep_set_wrprotect() 501 static inline void pmdp_set_wrprotect(struct mm_struct *mm, in pmdp_set_wrprotect() [all …]
|
| D | hugetlb.h | 234 static inline int huge_pmd_unshare(struct mm_struct *mm, in huge_pmd_unshare() 247 static inline long follow_hugetlb_page(struct mm_struct *mm, in follow_hugetlb_page() 257 static inline struct page *follow_huge_addr(struct mm_struct *mm, in follow_huge_addr() 296 static inline struct page *follow_huge_pud(struct mm_struct *mm, in follow_huge_pud() 302 static inline struct page *follow_huge_pgd(struct mm_struct *mm, in follow_huge_pgd() 324 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 351 static inline pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr, in huge_pte_offset() 402 static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, in hugetlb_fault() 740 static inline int is_hugepage_only_range(struct mm_struct *mm, in is_hugepage_only_range() 852 struct mm_struct *mm, pte_t *pte) in huge_pte_lockptr() [all …]
|
| D | mm_types.h | 668 static inline void mm_init_cpumask(struct mm_struct *mm) in mm_init_cpumask() 677 static inline cpumask_t *mm_cpumask(struct mm_struct *mm) in mm_cpumask() 697 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm() 706 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm() 718 static inline void lru_gen_add_mm(struct mm_struct *mm) in lru_gen_add_mm() 722 static inline void lru_gen_del_mm(struct mm_struct *mm) in lru_gen_del_mm() 727 static inline void lru_gen_migrate_mm(struct mm_struct *mm) in lru_gen_migrate_mm() 732 static inline void lru_gen_init_mm(struct mm_struct *mm) in lru_gen_init_mm() 736 static inline void lru_gen_use_mm(struct mm_struct *mm) in lru_gen_use_mm() 747 static inline void init_tlb_flush_pending(struct mm_struct *mm) in init_tlb_flush_pending() [all …]
|
| D | oom.h | 84 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()
|
| D | vmacache.h | 23 static inline void vmacache_invalidate(struct mm_struct *mm) in vmacache_invalidate()
|
| D | aio.h | 18 static inline void exit_aio(struct mm_struct *mm) { } in exit_aio()
|
| D | elf-randomize.h | 13 # define arch_randomize_brk(mm) (mm->brk) argument
|
| D | mmdebug.h | 32 #define VM_BUG_ON_MM(cond, mm) \ argument 59 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
|
| /include/asm-generic/ |
| D | pgalloc.h | 19 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() 119 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one() 138 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 160 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() 170 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() [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 | 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()
|
| 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 | hugetlb.h | 36 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()
|
| D | pgtable-nopmd.h | 36 #define pud_populate(mm, pmd, pte) do { } while (0) argument 60 #define pmd_alloc_one(mm, address) NULL argument 61 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()
|
| D | cacheflush.h | 21 static inline void flush_cache_mm(struct mm_struct *mm) in flush_cache_mm() 27 static inline void flush_cache_dup_mm(struct mm_struct *mm) in flush_cache_dup_mm()
|
| /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() 68 static inline void mmget(struct mm_struct *mm) in mmget() 73 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() 103 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner() 127 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout() 356 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode() 378 static inline void membarrier_exec_mmap(struct mm_struct *mm) in membarrier_exec_mmap() 381 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
|
| /include/drm/ |
| D | drm_mm.h | 163 struct drm_mm *mm; member 227 struct drm_mm *mm; member 274 static inline bool drm_mm_initialized(const struct drm_mm *mm) in drm_mm_initialized() 351 #define drm_mm_nodes(mm) (&(mm)->head_node.node_list) argument 361 #define drm_mm_for_each_node(entry, mm) \ argument 373 #define drm_mm_for_each_node_safe(entry, next, mm) \ argument 392 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument 432 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic() 456 static inline int drm_mm_insert_node(struct drm_mm *mm, in drm_mm_insert_node() 476 static inline bool drm_mm_clean(const struct drm_mm *mm) in drm_mm_clean() [all …]
|