Searched refs:tcb_tp (Results 1 – 4 of 4) sorted by relevance
| /trueos/lib/libkse/arch/arm/include/ |
| HD | pthread_md.h | 41 #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_tdv) 74 struct arm_tp tcb_tp; member 87 #define _tcb ((struct tcb*)((char*)(_tp) - offsetof(struct tcb, tcb_tp))) 111 __kcb_swp((uint32_t)&kcb->kcb_faketcb.tcb_tp, &_tp); in _kcb_set() 179 __kcb_swp((uint32_t)&tcb->tcb_tp, &_tp); in _tcb_set() 218 __kcb_swp((int)&kcb->kcb_faketcb.tcb_tp, &_tp); in _thread_enter_uts()
|
| /trueos/lib/libkse/arch/sparc64/include/ |
| HD | pthread_md.h | 41 #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_tdv) 78 struct sparc64_tp tcb_tp; member 90 #define _tcb ((struct tcb*)((char*)(_tp) - offsetof(struct tcb, tcb_tp))) 105 _tp = &kcb->kcb_faketcb.tcb_tp; in _kcb_set() 183 _tp = &tcb->tcb_tp; in _tcb_set() 218 _tp = &kcb->kcb_faketcb.tcb_tp; in _thread_enter_uts()
|
| /trueos/lib/libkse/arch/ia64/include/ |
| HD | pthread_md.h | 37 #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv) 65 union ia64_tp tcb_tp; member 80 return ((struct tcb *)(tp - offsetof(struct tcb, tcb_tp))); in ia64_get_tcb() 88 __asm __volatile("mov %0 = %1;;" : "=r"(tp) : "r"(&tcb->tcb_tp)); in ia64_set_tcb()
|
| /trueos/lib/libkse/arch/powerpc/include/ |
| HD | pthread_md.h | 47 #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv) 74 struct ppc32_tp tcb_tp; member 110 return ((struct tcb *)(ppc_get_tp() - offsetof(struct tcb, tcb_tp))); in ppc_get_tcb() 116 ppc_set_tp((char*)&tcb->tcb_tp); in ppc_set_tcb()
|