/freebsd-10-stable/contrib/llvm/lib/Support/Windows/ |
H A D | ThreadLocal.inc | 27 DWORD* tls = reinterpret_cast<DWORD*>(&data); 28 *tls = TlsAlloc(); 29 assert(*tls != TLS_OUT_OF_INDEXES); 33 DWORD* tls = reinterpret_cast<DWORD*>(&data); 34 TlsFree(*tls); 38 DWORD* tls = reinterpret_cast<DWORD*>(&data); 39 return TlsGetValue(*tls); 43 DWORD* tls = reinterpret_cast<DWORD*>(&data); 44 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
|
/freebsd-10-stable/tools/regression/tls/ttls3/ |
H A D | Makefile | 9 tls-lib: elftls.S 14 tls-test-lib: tls-lib tls-test-lib.c 15 gcc -c -o tls-test.o ${.CURDIR}/tls-test-lib.c 16 ld $(LDFLAGS) tls-test.o libtls.so.1 -rpath=${.OBJDIR} -soname libtls-test.so.1 -o libtls-test.so.1 18 ttls3: tls-test-lib tls-test.c 19 gcc $(CFLAGS) -rdynamic -o ttls3 ${.CURDIR}/tls [all...] |
/freebsd-10-stable/lib/libc/tests/tls_dso/ |
H A D | Makefile | 8 LIBDIR= ${TESTSBASE}/lib/libc/tls 9 SHLIBDIR= ${TESTSBASE}/lib/libc/tls
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/tls/ |
H A D | t_tls_static_helper.c | 38 #include <sys/tls.h>
|
H A D | t_tls_static.c | 41 #include <sys/tls.h>
|
H A D | t_tls_dlopen.c | 43 #include <sys/tls.h>
|
H A D | t_tls_dynamic.c | 42 #include <sys/tls.h>
|
/freebsd-10-stable/lib/libc/tests/tls/dso/ |
H A D | Makefile | 1 # $FreeBSD: stable/10/lib/libc/tests/tls/dso/Makefile 313488 2017-02-09 22:49:48Z ngie $ 4 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libc/tls/${.CURDIR:T} 12 LIBDIR= ${TESTSBASE}/lib/libc/tls
|
/freebsd-10-stable/sys/arm/include/ |
H A D | pcpu.h | 97 void *tls; local 99 __asm __volatile("mrc p15, 0, %0, c13, c0, 3" : "=r" (tls)); 100 return (tls); 104 set_tls(void *tls) argument 107 __asm __volatile("mcr p15, 0, %0, c13, c0, 3" : : "r" (tls));
|
/freebsd-10-stable/crypto/heimdal/base/ |
H A D | heimbase.c | 394 struct ar_tls *tls = ptr; local 395 if (tls->head) 396 heim_release(tls->head); 397 free(tls); 440 struct ar_tls *tls; local 442 tls = autorel_tls(); 443 if (tls == NULL) 451 HEIMDAL_MUTEX_lock(&tls->tls_mutex); 452 if (tls->current != ptr) 455 if (tls 490 struct ar_tls *tls = autorel_tls(); local 517 struct ar_tls *tls = autorel_tls(); local [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | tls.c | 26 * $FreeBSD: stable/10/lib/libc/gen/tls.c 324617 2017-10-14 16:49:39Z brooks $ 61 void _rtld_free_tls(void *tls, size_t tcbsize, size_t tcbalign); 63 void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign); 124 Elf_Addr **tls; local 126 tls = (Elf_Addr **)((Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE); 127 dtv = tls[0]; 139 Elf_Addr **tls; local 146 tls = (Elf_Addr **)(tcb + tcbsize - TLS_TCB_SIZE); 149 memcpy(tls, oldtcb, tls_static_space); 153 dtv = tls[ 205 char *tls; local 278 void *tls; local [all...] |
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/tls_dso/ |
H A D | h_tls_dynamic.c | 39 #include <sys/tls.h>
|
/freebsd-10-stable/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso1/ |
H A D | h_helper_dso1.c | 32 #include <sys/tls.h>
|
/freebsd-10-stable/contrib/apr-util/ldap/ |
H A D | apr_ldap_option.c | 228 int tls = * (const int *)invalue; local 233 if (tls == APR_LDAP_SSL) { 247 else if (tls == APR_LDAP_STARTTLS) { 252 else if (tls == APR_LDAP_STOPTLS) { 258 if (tls != APR_LDAP_NONE) { 275 if (tls == APR_LDAP_SSL) { 283 if (tls == APR_LDAP_STARTTLS) { 290 else if (tls == APR_LDAP_STOPTLS) { 302 if (tls == APR_LDAP_SSL) { 312 else if (tls [all...] |
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/tls/dso/ |
H A D | h_tls_dlopen.c | 40 #include <sys/tls.h>
|
/freebsd-10-stable/lib/libthr/arch/mips/include/ |
H A D | pthread_md.h | 38 #include <machine/tls.h>
|
/freebsd-10-stable/usr.sbin/wpa/ |
H A D | Makefile.inc | 21 ${WPA_DISTDIR}/src/tls \
|
/freebsd-10-stable/lib/libc/tests/ |
H A D | Makefile | 24 TESTS_SUBDIRS+= tls
|
/freebsd-10-stable/libexec/rtld-elf/mips/ |
H A D | rtld_machdep.h | 34 #include <machine/tls.h>
|
H A D | reloc.c | 43 #include <machine/tls.h> 635 char *tls; local 644 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); 646 sysarch(MIPS_SET_TLS, tls); 652 Elf_Addr** tls; local 655 sysarch(MIPS_GET_TLS, &tls); 657 p = tls_get_addr_common(tls, ti->ti_module, ti->ti_offset + TLS_DTP_OFFSET);
|
/freebsd-10-stable/crypto/openssl/ssl/ |
H A D | heartbeat_test.c | 364 SETUP_HEARTBEAT_TEST_FIXTURE(tls); 383 SETUP_HEARTBEAT_TEST_FIXTURE(tls); 403 SETUP_HEARTBEAT_TEST_FIXTURE(tls); 417 SETUP_HEARTBEAT_TEST_FIXTURE(tls);
|
/freebsd-10-stable/contrib/ntp/libparse/ |
H A D | clk_trimtsip.c | 351 int tls = t->t_gpsutc = (u_short) getshort((unsigned char *)&mb(12)); /* current leap correction (GPS-UTC) */ local 370 (tlsf != tls) && /* something will change */ 374 if (tlsf > tls)
|
/freebsd-10-stable/usr.sbin/sendmail/ |
H A D | Makefile | 21 timers.c tls.c trace.c udb.c usersmtp.c util.c version.c
|
/freebsd-10-stable/libexec/rtld-elf/i386/ |
H A D | reloc.c | 468 void* tls; local 476 tls = allocate_tls(objs, NULL, 3*sizeof(Elf_Addr), sizeof(Elf_Addr)); 477 i386_set_gsbase(tls);
|
/freebsd-10-stable/sys/mips/nlm/hal/ |
H A D | nlmsaelib.h | 235 * tls : 1 (tls enabled) 0(tls disabled) 244 nlm_crypto_form_pkt_desc0(unsigned int tls, unsigned int hash_source, argument 248 return (left_shift64(tls, 63, 1) |
|