Home
last modified time | relevance | path

Searched refs:pm_ctx (Results 1 – 15 of 15) sorted by relevance

/netbsd/src/sys/arch/sparc64/include/
Dpmap.h146 int pm_ctx[PMAP_LIST_MAXNUMCPU]; /* Current context per cpu */ member
274 #define pmap_ctx_cpu(PM, C) ((PM)->pm_ctx[(C)])
277 #define pmap_ctx(PM) ((PM)->pm_ctx[0])
/netbsd/src/sys/arch/powerpc/ibm4xx/
Dcopyoutstr.c67 if (!(ctx = pm->pm_ctx)) { in copyoutstr()
70 ctx = pm->pm_ctx; in copyoutstr()
Dcopyinstr.c67 if (!(ctx = pm->pm_ctx)) { in copyinstr()
70 ctx = pm->pm_ctx; in copyinstr()
Dtrap.c410 if (!pm->pm_ctx) { in ctx_setup()
413 ctx = pm->pm_ctx; in ctx_setup()
448 if (!(ctx = pm->pm_ctx)) { in copyin()
451 ctx = pm->pm_ctx; in copyin()
567 if (!(ctx = pm->pm_ctx)) { in copyout()
570 ctx = pm->pm_ctx; in copyout()
Dpmap.c252 ppc4xx_tlb_flush(va, pm->pm_ctx); in pte_enter()
427 pmap_kernel()->pm_ctx = KERNEL_PID; in pmap_bootstrap()
646 if (pm->pm_ctx) in pmap_destroy()
876 ppc4xx_tlb_enter(pm->pm_ctx, va, tte); in pmap_enter()
995 ppc4xx_tlb_flush(va, pm->pm_ctx); in pmap_remove()
1053 ppc4xx_tlb_flush(sva, pm->pm_ctx); in pmap_protect()
1174 if (!(ctx = pm->pm_ctx)) { in pmap_procwr()
1177 ctx = pm->pm_ctx; in pmap_procwr()
1614 ctxbusy[cnum]->pm_ctx = 0; in ctx_alloc()
1621 pm->pm_ctx = cnum; in ctx_alloc()
[all …]
Dgenassym.cf43 define PM_CTX offsetof(struct pmap, pm_ctx)
/netbsd/src/sys/arch/sparc/sparc/
Dpmap.c974 ((pm)->pm_ctx != NULL && \
978 #define CTX_USABLE(pm,rp) ((pm)->pm_ctx != NULL )
1915 if (pm->pm_ctx) { in region_alloc()
1921 if (pm->pm_ctx) in region_alloc()
2145 if (pm->pm_ctx) in ctx_alloc()
2177 c->c_pmap->pm_ctx = NULL; in ctx_alloc()
2189 pm->pm_ctx = c; in ctx_alloc()
2315 c = pm->pm_ctx; in ctx_free()
2317 pm->pm_ctx = NULL; in ctx_free()
2680 if (pm->pm_ctx) { in pv_changepte4m()
[all …]
Ddb_interface.c317 p->p_vmspace->vm_map.pmap->pm_ctx, in db_proc_cmd()
Dgenassym.cf121 define PMAP_CTX offsetof(struct pmap, pm_ctx)
/netbsd/src/sys/arch/sparc64/sparc64/
Dcache.h133 #define tlb_flush_pte(va,pm) sp_tlb_flush_pte(va, (pm)->pm_ctx[0])
Dipifuncs.c460 ctx = pm->pm_ctx[cpu_number()]; in smp_tlb_flush_pte()
474 ctx = pm->pm_ctx[ci->ci_index]; in smp_tlb_flush_pte()
Dpmap.c190 if (p->pm_ctx[i] > 0) in pmap_has_ctx()
262 ctx = pm->pm_ctx[ci->ci_index]; in tsb_invalidate()
1040 memset(&pmap_kernel()->pm_ctx, 0, sizeof(pmap_kernel()->pm_ctx)); in pmap_bootstrap()
1524 if (pm->pm_ctx[ci->ci_index] > 0) { in pmap_destroy()
2044 if (pm->pm_ctx[ci->ci_index] > 0) { in pmap_remove_all()
3246 oldctx = pm->pm_ctx[cpunum]; in ctx_free()
3267 pm->pm_ctx[cpunum] = 0; in ctx_free()
/netbsd/src/sys/arch/powerpc/include/ibm4xx/
Dpmap.h146 volatile int pm_ctx; /* PID to identify PMAP's entries in TLB */ member
/netbsd/src/sys/arch/sparc/include/
Dpmap.h148 union ctxinfo *pm_ctx; /* current context, if any */ member
/netbsd/src/sys/arch/powerpc/powerpc/
Ddb_interface.c541 p->p_vmspace->vm_map.pmap->pm_ctx, in db_ppc4xx_ctx()