Lines Matching defs:base
41 lwp_setprivate(klwp_t *lwp, int which, uintptr_t base)
68 * virtualized to the lwp. However the descriptor base is forced
92 set_usegd(&pcb->pcb_fsdesc, SDP_SHORT, (void *)base, -1,
99 pcb->pcb_fsbase = base;
107 set_usegd(&pcb->pcb_gsdesc, SDP_SHORT, (void *)base, -1,
114 pcb->pcb_gsbase = base;
130 set_usegd(&pcb->pcb_fsdesc, (void *)base, -1,
138 set_usegd(&pcb->pcb_gsdesc, (void *)base, -1,
158 lwp_getprivate(klwp_t *lwp, int which, uintptr_t base)
245 if (sulword((void *)base, sbase) == -1)
249 if (suword32((void *)base, (uint32_t)sbase) == -1)
257 * libc-private syscall for managing per-lwp %gs and %fs segment base values.
260 syslwp_private(int cmd, int which, uintptr_t base)
267 res = lwp_setprivate(lwp, which, base);
270 error = lwp_getprivate(lwp, which, base);