myinfo_gs 55 mtcp/mtcp_header.h MYINFO_GS_T myinfo_gs; myinfo_gs 109 mtcp/mtcp_restart.c MYINFO_GS_T myinfo_gs; myinfo_gs 126 mtcp/mtcp_restart.c int tls_tid_offset, MYINFO_GS_T myinfo_gs); myinfo_gs 287 mtcp/mtcp_restart.c rinfo.myinfo_gs = mtcpHdr.myinfo_gs; myinfo_gs 583 mtcp/mtcp_restart.c restore_info.tls_tid_offset, restore_info.myinfo_gs); myinfo_gs 970 mtcp/mtcp_restart.c int tls_tid_offset, MYINFO_GS_T myinfo_gs) myinfo_gs 989 mtcp/mtcp_restart.c if (tls_set_thread_area (&(tlsInfo->gdtentrytls[0]), myinfo_gs) != 0) { myinfo_gs 344 mtcp/mtcp_sys.h static unsigned int myinfo_gs; myinfo_gs 348 mtcp/mtcp_sys.h : "=r" (myinfo_gs) ); \ myinfo_gs 349 mtcp/mtcp_sys.h myinfo_gs = myinfo_gs - 1216; /* sizeof(struct pthread) = 1216 */ \ myinfo_gs 351 mtcp/mtcp_sys.h = myinfo_gs; \ myinfo_gs 352 mtcp/mtcp_sys.h myinfo_gs; }) myinfo_gs 354 mtcp/mtcp_sys.h ({ myinfo_gs = \ myinfo_gs 356 mtcp/mtcp_sys.h myinfo_gs = myinfo_gs + 1216; \ myinfo_gs 357 mtcp/mtcp_sys.h asm volatile ("msr tpidr_el0, %[gs]" : : [gs] "r" (myinfo_gs) ); \ myinfo_gs 44 mtcp/restore_libc.c extern MYINFO_GS_T myinfo_gs; myinfo_gs 294 mtcp/restore_libc.c if (tls_get_thread_area(&gdtentrytls, myinfo_gs) == -1) { myinfo_gs 491 mtcp/restore_libc.c if (tls_get_thread_area (&(tlsInfo->gdtentrytls[0]), myinfo_gs) == -1) { myinfo_gs 526 mtcp/restore_libc.c if (tls_set_thread_area (&(tlsInfo->gdtentrytls[0]), myinfo_gs) != 0) { myinfo_gs 6 mtcp/tlsutil.h # define tls_get_thread_area(arg, myinfo_gs) \ myinfo_gs 8 mtcp/tlsutil.h # define tls_set_thread_area(arg, myinfo_gs) \ myinfo_gs 24 mtcp/tlsutil.h # define tls_get_thread_area(uinfo, myinfo_gs) \ myinfo_gs 27 mtcp/tlsutil.h mtcp_inline_syscall(arch_prctl,2,ARCH_GET_GS, &myinfo_gs) \ myinfo_gs 29 mtcp/tlsutil.h # define tls_set_thread_area(uinfo, myinfo_gs) \ myinfo_gs 32 mtcp/tlsutil.h mtcp_inline_syscall(arch_prctl,2,ARCH_SET_GS, myinfo_gs) \ myinfo_gs 36 mtcp/tlsutil.h # define tls_get_thread_area(uinfo, myinfo_gs) \ myinfo_gs 39 mtcp/tlsutil.h arch_prctl(ARCH_GET_GS, &myinfo_gs) \ myinfo_gs 41 mtcp/tlsutil.h # define tls_set_thread_area(uinfo, myinfo_gs) \ myinfo_gs 44 mtcp/tlsutil.h arch_prctl(ARCH_SET_GS, myinfo_gs) \ myinfo_gs 64 mtcp/tlsutil.h # define tls_get_thread_area(uinfo, myinfo_gs) \ myinfo_gs 66 mtcp/tlsutil.h : "=r" (myinfo_gs) ); \ myinfo_gs 67 mtcp/tlsutil.h myinfo_gs = myinfo_gs - 1216; /* sizeof(struct pthread) = 1216 */ \ myinfo_gs 69 mtcp/tlsutil.h = myinfo_gs; \ myinfo_gs 70 mtcp/tlsutil.h myinfo_gs; }) myinfo_gs 71 mtcp/tlsutil.h # define tls_set_thread_area(uinfo, myinfo_gs) \ myinfo_gs 72 mtcp/tlsutil.h ( myinfo_gs = \ myinfo_gs 74 mtcp/tlsutil.h (mtcp_sys_kernel_set_tls(myinfo_gs+1216), 0) \ myinfo_gs 94 mtcp/tlsutil.h # define tls_get_thread_area(uinfo, myinfo_gs) \ myinfo_gs 96 mtcp/tlsutil.h : "=r" (myinfo_gs) ); \ myinfo_gs 97 mtcp/tlsutil.h myinfo_gs = myinfo_gs - 1776; /* sizeof(struct pthread) = 1776 */ \ myinfo_gs 99 mtcp/tlsutil.h = myinfo_gs; \ myinfo_gs 100 mtcp/tlsutil.h myinfo_gs; }) myinfo_gs 101 mtcp/tlsutil.h # define tls_set_thread_area(uinfo, myinfo_gs) \ myinfo_gs 102 mtcp/tlsutil.h ({ myinfo_gs = \ myinfo_gs 104 mtcp/tlsutil.h myinfo_gs = myinfo_gs + 1776; \ myinfo_gs 105 mtcp/tlsutil.h asm volatile ("msr tpidr_el0, %[gs]" : : [gs] "r" (myinfo_gs) ); \ myinfo_gs 50 threadlist.cpp MYINFO_GS_T myinfo_gs __attribute__ ((visibility ("hidden"))); myinfo_gs 271 threadlist.cpp mtcpHdr->myinfo_gs = myinfo_gs;