Searched refs:kThreadSelfOffset (Results 1 – 2 of 2) sorted by relevance
260 const uptr kThreadSelfOffset = FIRST_32_SECOND_64(8, 16); variable263 return kThreadSelfOffset; in ThreadSelfOffset()287 asm("mov %%gs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()289 asm("mov %%fs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()
332 const uptr kThreadSelfOffset = FIRST_32_SECOND_64(8, 16); variable335 return kThreadSelfOffset; in ThreadSelfOffset()359 asm("mov %%gs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()361 asm("mov %%fs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()