Searched refs:context (Results 126 - 150 of 2087) sorted by path

1234567891011>>

/linux-master/arch/arm64/include/asm/
H A Dmmu.h10 #define MMCF_AARCH32 0x1 /* mm context flag for AArch32 executables */
47 * \-----------------> atomic_set(mm->context.id, new)
56 #define ASID(mm) (atomic64_read(&(mm)->context.id) & 0xffff)
H A Dmmu_context.h165 * freeing the ASID from the context of the dying mm (e.g. in arch_exit_mmap),
176 atomic64_set(&mm->context.id, 0);
177 refcount_set(&mm->context.pinned, 0);
239 * ASID has changed since the last run (following the context switch
/linux-master/arch/arm64/kernel/
H A Dasm-offsets.c107 DEFINE(MM_CONTEXT_ID, offsetof(struct mm_struct, context.id.counter));
H A Didle.c25 struct arm_cpuidle_irq_context context; local
27 arm_cpuidle_save_irq_context(&context);
32 arm_cpuidle_restore_irq_context(&context);
H A Dprocess.c261 * with a stale shadow state during context switch.
391 * A kthread has no context to ERET to, so ensure any buggy
438 * Force SSBS state on context-switch, since it may be lost after migrating
452 * context-switch the PSTATE field.
645 current->mm->context.flags = mmflags;
H A Dsignal.c326 * have a SVE formatted context with a zero VL and no
353 * needed to prevent a racing context switch from writing stale
501 * needed to prevent a racing context switch from writing stale
578 * needed to prevent a racing context switch from writing stale
1184 sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
H A Dsignal32.c74 * We have to be careful with endianness, since the fpsimd context-switch
346 retcode = (unsigned long)current->mm->context.sigpage +
H A Dsuspend.c102 struct arm_cpuidle_irq_context context; local
138 arm_cpuidle_save_irq_context(&context);
162 arm_cpuidle_restore_irq_context(&context);
H A Dvdso.c78 current->mm->context.vdso = (void *)new_vma->vm_start;
216 mm->context.vdso = (void *)vdso_base;
227 mm->context.vdso = NULL;
248 current->mm->context.sigpage = (void *)new_vma->vm_start;
379 mm->context.sigpage = (void *)addr;
/linux-master/arch/arm64/kernel/probes/
H A Duprobes.c40 if (mm->context.flags & MMCF_AARCH32)
/linux-master/arch/arm64/mm/
H A DMakefile5 context.o proc.o pageattr.o fixmap.o
H A Dcontext.c3 * Based on arch/arm/mm/context.c
129 * context-switch
161 u64 asid = atomic64_read(&mm->context.id);
179 if (refcount_read(&mm->context.pinned))
224 asid = atomic64_read(&mm->context.id);
248 asid = atomic64_read(&mm->context.id);
251 atomic64_set(&mm->context.id, asid);
283 asid = atomic64_read(&mm->context.id);
285 if (refcount_inc_not_zero(&mm->context.pinned))
299 atomic64_set(&mm->context
[all...]
/linux-master/arch/csky/abiv2/
H A Dcacheflush.c42 cpumask_t *mask = &mm->context.icache_stale_mask;
72 mask = &mm->context.icache_stale_mask;
/linux-master/arch/csky/include/asm/
H A Dmmu_context.h17 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK)
19 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.asid, 0); 0; })
32 setup_pgd(next->pgd, next->context.asid.counter);
/linux-master/arch/csky/kernel/
H A Dsignal.c159 current->mm->context.vdso, rt_sigreturn);
H A Dvdso.c66 mm->context.vdso = (void *)vdso_base;
74 mm->context.vdso = NULL;
83 mm->context.vdso = NULL;
91 if (vma->vm_mm && (vma->vm_start == (long)vma->vm_mm->context.vdso))
94 (long)vma->vm_mm->context.vdso + PAGE_SIZE))
/linux-master/arch/csky/mm/
H A DMakefile18 obj-y += context.o
/linux-master/arch/hexagon/include/asm/
H A Dmmu_context.h3 * MM context support for the Hexagon architecture
23 * mm->context is set up by pgd_alloc, so no init_new_context required.
27 * Switch active mm context
38 if (next->context.generation < prev->context.generation) {
42 next->context.generation = prev->context.generation;
45 __vmnewmap((void *)next->context.ptbase);
H A Dpgalloc.h36 mm->context.generation = kmap_generation;
39 mm->context.ptbase = __pa(pgd);
73 mm->context.generation = kmap_generation;
74 current->active_mm->context.generation = kmap_generation;
/linux-master/arch/hexagon/kernel/
H A Dsignal.c100 struct hexagon_vdso *vdso = current->mm->context.vdso;
H A Dvdso.c77 mm->context.vdso = (void *)vdso_base;
86 if (vma->vm_mm && vma->vm_start == (long)vma->vm_mm->context.vdso)
/linux-master/arch/hexagon/mm/
H A Dinit.c66 * descriptors "context" value to point to the initial
69 init_mm.context.ptbase = __pa(init_mm.pgd);
H A Dvm_tlb.c31 if (mm->context.ptbase == current->active_mm->context.ptbase)
60 if (current->active_mm->context.ptbase == mm->context.ptbase)
71 if (mm->context.ptbase == current->active_mm->context.ptbase)
/linux-master/arch/loongarch/include/asm/
H A Delf.h314 (unsigned long)current->mm->context.vdso); \
H A Dmmu_context.h3 * Switch a MMU context.
34 #define cpu_context(cpu, mm) ((mm)->context.asid[cpu])
63 * Initialize the context related info for a new mm_struct
113 * Destroy context related info for an mm_struct that is about
145 /* Will get a new context next time */

Completed in 256 milliseconds

1234567891011>>