Lines Matching refs:tcb
44 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
50 struct tcb { struct
57 _tcb_set(struct tcb *tcb) in _tcb_set() argument
60 sysarch(MIPS_SET_TLS, tcb); in _tcb_set()
67 static __inline struct tcb *
70 struct tcb *tcb; in _tcb_get() local
72 sysarch(MIPS_GET_TLS, &tcb); in _tcb_get()
73 return tcb; in _tcb_get()
79 static __inline struct tcb *
98 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE); in _tcb_get()
101 static __inline struct tcb *
120 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE); in _tcb_get()