Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 25 of 103) sorted by relevance

12345

/NextBSD/lib/libc/gen/
HDtls.c61 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; in __libc_free_tls() local
126 tls = (Elf_Addr **)((Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE); in __libc_free_tls()
127 dtv = tls[0]; in __libc_free_tls()
139 Elf_Addr **tls; in __libc_allocate_tls() local
146 tls = (Elf_Addr **)(tcb + tcbsize - TLS_TCB_SIZE); in __libc_allocate_tls()
149 memcpy(tls, oldtcb, tls_static_space); in __libc_allocate_tls()
153 dtv = tls[0]; in __libc_allocate_tls()
154 dtv[2] = (Elf_Addr)tls + TLS_TCB_SIZE; in __libc_allocate_tls()
[all …]
/NextBSD/crypto/heimdal/base/
HDheimbase.c394 struct ar_tls *tls = ptr; in ar_tls_delete() local
395 if (tls->head) in ar_tls_delete()
396 heim_release(tls->head); in ar_tls_delete()
397 free(tls); in ar_tls_delete()
440 struct ar_tls *tls; in autorel_dealloc() local
442 tls = autorel_tls(); in autorel_dealloc()
443 if (tls == NULL) in autorel_dealloc()
451 HEIMDAL_MUTEX_lock(&tls->tls_mutex); in autorel_dealloc()
452 if (tls->current != ptr) in autorel_dealloc()
455 if (tls->current != tls->head) in autorel_dealloc()
[all …]
/NextBSD/tools/regression/tls/ttls3/
HDMakefile9 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-test.c
/NextBSD/contrib/llvm/lib/Support/Windows/
HDThreadLocal.inc27 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));
/NextBSD/contrib/apr-util/ldap/
HDapr_ldap_option.c228 int tls = * (const int *)invalue; in option_set_tls() local
233 if (tls == APR_LDAP_SSL) { in option_set_tls()
247 else if (tls == APR_LDAP_STARTTLS) { in option_set_tls()
252 else if (tls == APR_LDAP_STOPTLS) { in option_set_tls()
258 if (tls != APR_LDAP_NONE) { in option_set_tls()
275 if (tls == APR_LDAP_SSL) { in option_set_tls()
283 if (tls == APR_LDAP_STARTTLS) { in option_set_tls()
290 else if (tls == APR_LDAP_STOPTLS) { in option_set_tls()
302 if (tls == APR_LDAP_SSL) { in option_set_tls()
312 else if (tls == APR_LDAP_STARTTLS) { in option_set_tls()
[all …]
/NextBSD/sys/arm/include/
HDpcpu.h100 void *tls; in get_tls() local
102 __asm __volatile("mrc p15, 0, %0, c13, c0, 3" : "=r" (tls)); in get_tls()
103 return (tls); in get_tls()
107 set_tls(void *tls) in set_tls() argument
110 __asm __volatile("mcr p15, 0, %0, c13, c0, 3" : : "r" (tls)); in set_tls()
/NextBSD/lib/libc/tests/tls_dso/
HDMakefile8 LIBDIR= ${TESTSBASE}/lib/libc/tls
9 SHLIBDIR= ${TESTSBASE}/lib/libc/tls
/NextBSD/lib/libc/tests/tls/dso/
HDMakefile4 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libc/tls/${.CURDIR:T}
12 LIBDIR= ${TESTSBASE}/lib/libc/tls
/NextBSD/crypto/openssl/ssl/
HDheartbeat_test.c365 SETUP_HEARTBEAT_TEST_FIXTURE(tls); in test_tls1_not_bleeding()
384 SETUP_HEARTBEAT_TEST_FIXTURE(tls); in test_tls1_not_bleeding_empty_payload()
404 SETUP_HEARTBEAT_TEST_FIXTURE(tls); in test_tls1_heartbleed()
419 SETUP_HEARTBEAT_TEST_FIXTURE(tls); in test_tls1_heartbleed_empty_payload()
/NextBSD/libexec/rtld-elf/mips/
HDreloc.c623 char *tls; in allocate_initial_tls() local
632 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
634 sysarch(MIPS_SET_TLS, tls); in allocate_initial_tls()
640 Elf_Addr** tls; in __tls_get_addr() local
643 sysarch(MIPS_GET_TLS, &tls); in __tls_get_addr()
645 p = tls_get_addr_common(tls, ti->ti_module, ti->ti_offset + TLS_DTP_OFFSET); in __tls_get_addr()
/NextBSD/contrib/binutils/ld/scripttempl/
HDpep.sc33 *(.tls)
34 *(.tls$)
35 *(SORT(.tls$*))'
157 .tls ${RELOCATING+BLOCK(__section_alignment__)} :
HDpe.sc33 *(.tls)
34 *(.tls$)
35 *(SORT(.tls$*))'
157 .tls ${RELOCATING+BLOCK(__section_alignment__)} :
/NextBSD/contrib/ntp/libparse/
HDclk_trimtsip.c351 …int tls = t->t_gpsutc = (u_short) getshort((unsigned char *)&mb(12)); /* current leap correc… in cvt_trimtsip() local
370 (tlsf != tls) && /* something will change */ in cvt_trimtsip()
374 if (tlsf > tls) in cvt_trimtsip()
/NextBSD/contrib/binutils/ld/emultempl/
HDppc32elf.em41 /* Whether to run tls optimization. */
192 { "no-tls-optimize", no_argument, NULL, OPTION_NO_TLS_OPT },
201 --no-tls-optimize Don'\''t try to optimize TLS accesses.\n\
/NextBSD/libexec/rtld-elf/i386/
HDreloc.c409 void* tls; in allocate_initial_tls() local
417 tls = allocate_tls(objs, NULL, 3*sizeof(Elf_Addr), sizeof(Elf_Addr)); in allocate_initial_tls()
418 i386_set_gsbase(tls); in allocate_initial_tls()
/NextBSD/lib/libc/tests/
HDMakefile22 TESTS_SUBDIRS+= tls
/NextBSD/usr.sbin/wpa/
HDMakefile.inc21 ${WPA_DISTDIR}/src/tls \
/NextBSD/crypto/openssl/doc/ssl/
HDSSL_CTX_set_mode.pod78 version; see draft-ietf-tls-downgrade-scsv-00 for details.
82 in draft-ietf-tls-downgrade-scsv-00.
/NextBSD/sys/powerpc/powerpc/
HDexec_machdep.c442 register_t tls; in set_mcontext() local
460 tls = tf->fixreg[13]; in set_mcontext()
462 tls = tf->fixreg[2]; in set_mcontext()
465 tf->fixreg[13] = tls; in set_mcontext()
467 tf->fixreg[2] = tls; in set_mcontext()
/NextBSD/sys/mips/nlm/hal/
HDnlmsaelib.h244 nlm_crypto_form_pkt_desc0(unsigned int tls, unsigned int hash_source, in nlm_crypto_form_pkt_desc0() argument
248 return (left_shift64(tls, 63, 1) | in nlm_crypto_form_pkt_desc0()
/NextBSD/sys/compat/linux/
HDlinux_fork.c213 linux_set_cloned_tls(td2, args->tls); in linux_clone_proc()
297 linux_set_cloned_tls(newtd, args->tls); in linux_clone_thread()
/NextBSD/tools/regression/
HDTODO34 tls/
/NextBSD/usr.bin/m4/TEST/
HDack.m42 # $NetBSD: ack.m4,v 1.4 1995/09/28 05:37:54 tls Exp $
HDhanoi.m42 # $NetBSD: hanoi.m4,v 1.4 1995/09/28 05:37:56 tls Exp $
HDstring.m42 # $NetBSD: string.m4,v 1.4 1995/09/28 05:38:03 tls Exp $

12345