/linux-master/arch/riscv/include/asm/ |
H A D | mmu_context.h | 13 #include <linux/mm.h> 28 struct mm_struct *mm) 31 atomic_long_set(&mm->context.id, 0); 27 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | slice.h | 32 unsigned int get_slice_psize(struct mm_struct *mm, unsigned long addr); 34 void slice_set_range_psize(struct mm_struct *mm, unsigned long start, 37 void slice_init_new_context_exec(struct mm_struct *mm);
|
/linux-master/arch/sparc/include/asm/ |
H A D | pgalloc_64.h | 7 #include <linux/mm.h> 26 static inline pgd_t *pgd_alloc(struct mm_struct *mm) argument 31 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) argument 43 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) argument 48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) argument 53 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) argument 58 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) argument 63 pte_t *pte_alloc_one_kernel(struct mm_struct *mm); 64 pgtable_t pte_alloc_one(struct mm_struct *mm); 65 void pte_free_kernel(struct mm_struct *mm, pte_ [all...] |
/linux-master/arch/um/include/asm/ |
H A D | pgalloc.h | 11 #include <linux/mm.h> 15 #define pmd_populate_kernel(mm, pmd, pte) \ 18 #define pmd_populate(mm, pmd, pte) \
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_migrate.h | 33 #include <linux/sched/mm.h> 45 struct mm_struct *mm, uint32_t trigger); 47 int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm,
|
/linux-master/drivers/iommu/ |
H A D | iommu-sva.c | 7 #include <linux/sched/mm.h> 14 /* Allocate a PASID for the mm within range (inclusive) */ 15 static struct iommu_mm_data *iommu_alloc_mm_data(struct mm_struct *mm, struct device *dev) argument 22 if (!arch_pgtable_dma_compat(mm)) 25 iommu_mm = mm->iommu_mm; 26 /* Is a PASID already associated with this mm? */ 46 * Make sure the write to mm->iommu_mm is not reordered in front of 50 smp_store_release(&mm->iommu_mm, iommu_mm); 57 * @mm: the mm t 70 iommu_sva_bind_device(struct device *dev, struct mm_struct *mm) argument 179 mm_pasid_drop(struct mm_struct *mm) argument 194 iommu_sva_handle_mm(struct iommu_fault *fault, struct mm_struct *mm) argument 280 iommu_sva_domain_alloc(struct device *dev, struct mm_struct *mm) argument [all...] |
/linux-master/drivers/misc/cxl/ |
H A D | fault.c | 8 #include <linux/sched/mm.h> 10 #include <linux/mm.h> 84 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, argument 90 if (!(rc = copro_calculate_slb(mm, ea, &slb))) { 113 struct mm_struct *mm, u64 ea) 120 if ((rc = cxl_fault_segment(ctx, mm, ea))) 131 int cxl_handle_mm_fault(struct mm_struct *mm, u64 dsisr, u64 dar) argument 138 * Add the fault handling cpu to task mm cpumask so that we 141 * valid mm for user space addresses. Hence using the if (mm) 112 cxl_handle_segment_miss(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument 180 cxl_handle_page_fault(struct cxl_context *ctx, struct mm_struct *mm, u64 dsisr, u64 dar) argument 234 struct mm_struct *mm = NULL; local 293 cxl_prefault_vma(struct cxl_context *ctx, struct mm_struct *mm) argument 321 struct mm_struct *mm = get_mem_context(ctx); local [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | exregion.c | 44 struct acpi_mem_mapping *mm = mem_info->cur_mm; local 100 if (!mm || (address < mm->physical_address) || 101 ((u64) address + length > (u64) mm->physical_address + mm->length)) { 109 for (mm = mem_info->first_mm; mm; mm = mm->next_mm) { 110 if (mm [all...] |
/linux-master/arch/sparc/mm/ |
H A D | tsb.c | 2 /* arch/sparc64/mm/tsb.c 121 struct mm_struct *mm = tb->mm; local 124 spin_lock_irqsave(&mm->context.lock, flags); 127 base = (unsigned long) mm->context.tsb_block[MM_TSB_BASE].tsb; 128 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; 140 else if (mm->context.tsb_block[MM_TSB_HUGE].tsb) { 141 base = (unsigned long) mm->context.tsb_block[MM_TSB_HUGE].tsb; 142 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; 149 spin_unlock_irqrestore(&mm 152 flush_tsb_user_page(struct mm_struct *mm, unsigned long vaddr, unsigned int hugepage_shift) argument 194 setup_tsb_params(struct mm_struct *mm, unsigned long tsb_idx, unsigned long tsb_bytes) argument 396 tsb_grow(struct mm_struct *mm, unsigned long tsb_index, unsigned long rss) argument 536 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 602 destroy_context(struct mm_struct *mm) argument [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | tlbflush.h | 9 * - flush_tlb_mm(mm) flushes the specified mm context TLB's 15 extern void local_flush_tlb_mm(struct mm_struct *mm); 30 extern void flush_tlb_mm(struct mm_struct *mm); 40 #define flush_tlb_mm(mm) local_flush_tlb_mm(mm)
|
/linux-master/arch/powerpc/include/asm/book3s/ |
H A D | pgalloc.h | 5 #include <linux/mm.h>
|
/linux-master/include/asm-generic/ |
H A D | tlbflush.h | 15 static inline void flush_tlb_mm(struct mm_struct *mm) argument
|
/linux-master/include/linux/ |
H A D | hugetlb_inline.h | 7 #include <linux/mm.h>
|
/linux-master/arch/csky/mm/ |
H A D | context.c | 7 #include <linux/mm.h> 19 void check_and_switch_context(struct mm_struct *mm, unsigned int cpu) argument 21 asid_check_context(&asid_info, &mm->context.asid, cpu, mm);
|
/linux-master/arch/x86/entry/vdso/ |
H A D | extable.c | 3 #include <linux/mm.h> 15 const struct vdso_image *image = current->mm->context.vdso_image; 28 if (!current->mm->context.vdso) 31 base = (unsigned long)current->mm->context.vdso + image->extable_base;
|
/linux-master/drivers/virt/acrn/ |
H A D | Makefile | 3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
|
/linux-master/arch/csky/include/asm/ |
H A D | tlbflush.h | 10 * - flush_tlb_mm(mm) flushes the specified mm context TLB entries 16 extern void flush_tlb_mm(struct mm_struct *mm);
|
/linux-master/arch/openrisc/include/asm/ |
H A D | tlbflush.h | 18 #include <linux/mm.h> 24 * - flush_tlb() flushes the current mm struct TLBs 26 * - flush_tlb_mm(mm) flushes the specified mm context TLB's 31 extern void local_flush_tlb_mm(struct mm_struct *mm); 45 extern void flush_tlb_mm(struct mm_struct *mm); 53 flush_tlb_mm(current->mm);
|
/linux-master/tools/include/linux/ |
H A D | pfn.h | 5 #include <linux/mm.h>
|
/linux-master/arch/loongarch/include/asm/ |
H A D | tlbflush.h | 8 #include <linux/mm.h> 14 * - flush_tlb_mm(mm) flushes the specified mm context TLB entries 22 extern void local_flush_tlb_mm(struct mm_struct *mm); 40 #define flush_tlb_mm(mm) local_flush_tlb_mm(mm)
|
/linux-master/arch/x86/um/ |
H A D | mem_32.c | 6 #include <linux/mm.h> 26 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) argument 42 int in_gate_area(struct mm_struct *mm, unsigned long addr) argument 44 struct vm_area_struct *vma = get_gate_vma(mm);
|
/linux-master/lib/ |
H A D | devmem_is_allowed.c | 5 * Based on arch/arm64/mm/mmap.c 11 #include <linux/mm.h>
|
/linux-master/arch/xtensa/include/asm/ |
H A D | tlb.h | 19 #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte)
|
/linux-master/arch/m68k/include/asm/ |
H A D | sun3_pgalloc.h | 26 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument 31 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) argument 40 #define pmd_free(mm, x) do { } while (0) 42 static inline pgd_t * pgd_alloc(struct mm_struct *mm) argument
|
/linux-master/arch/sh/kernel/ |
H A D | vmcore_info.c | 4 #include <linux/mm.h>
|