Searched refs:ldt (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 708 user_desc_t *ldt; in ldt_alloc() local 723 ldt = kmem_zalloc(ldtsz, KM_SLEEP); in ldt_alloc() 724 ASSERT(IS_P2ALIGNED(ldt, PAGESIZE)); in ldt_alloc() 727 if (xen_ldt_setprot(ldt, ldtsz, PROT_READ)) in ldt_alloc() 731 pp->p_ldt = ldt; in ldt_alloc() 733 set_syssegd(&pp->p_ldt_desc, ldt, ldtsz - 1, SDT_SYSLDT, SEL_KPL); in ldt_alloc() 745 user_desc_t *ldt; in ldt_free() local 751 ldt = pp->p_ldt; in ldt_free() 772 if (xen_ldt_setprot(ldt, ldtsz, PROT_READ | PROT_WRITE)) in ldt_free() 776 kmem_free(ldt, ldtsz); in ldt_free()
|
H A D | sendsig.c | 424 user_desc_t *ldt; in sendsig32() local 430 if ((ldt = p->p_ldt) != NULL) in sendsig32() 432 USEGD_GETBASE(&ldt[SELTOIDX(rp->r_ss)]); in sendsig32() 644 user_desc_t *ldt; in sendsig() local 650 if ((ldt = p->p_ldt) != NULL) in sendsig() 652 USEGD_GETBASE(&ldt[SELTOIDX(rp->r_ss)]); in sendsig()
|
/titanic_44/usr/src/uts/i86xpv/os/ |
H A D | xen_machdep.c | 1002 xen_set_ldt(user_desc_t *ldt, uint_t nsels) in xen_set_ldt() argument 1008 op.arg1.linear_addr = (uintptr_t)ldt; in xen_set_ldt() 1013 (void *)ldt, nsels, -(int)err); in xen_set_ldt() 1148 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) in xen_ldt_setprot() argument 1151 caddr_t lva = (caddr_t)ldt; in xen_ldt_setprot() 1159 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0) in xen_ldt_setprot()
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pservice.c | 237 ps_lgetLDT(struct ps_prochandle *P, lwpid_t lwpid, struct ssd *ldt) in ps_lgetLDT() argument 271 *ldt = ldtarray[i]; in ps_lgetLDT()
|
H A D | llib-lproc | 172 lwpid_t lwpid, struct ssd *ldt);
|