Searched refs:SELTOIDX (Results 1 – 5 of 5) sorted by relevance
432 USEGD_GETBASE(&ldt[SELTOIDX(rp->r_ss)]); in sendsig32()652 USEGD_GETBASE(&ldt[SELTOIDX(rp->r_ss)]); in sendsig()
498 seli = SELTOIDX(ssd->sel); in setdscr()
1306 uint16_t idx = SELTOIDX(rp->r_cs); in linear_pc()1354 uint16_t idx = SELTOIDX(rp->r_cs); in dtrace_linear_pc()
82 #define SELTOIDX(s) ((s) >> 3) /* selector to index */ macro
801 ndx = SELTOIDX(sel); in fasttrap_do_seg()