Home
last modified time | relevance | path

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

123456

/freebsd-11-stable/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 …]
/freebsd-11-stable/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
/freebsd-11-stable/lib/libc/gen/
HDtls.c68 void _rtld_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
70 void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
222 Elf_Addr **tls; in __libc_free_tls() local
224 tls = (Elf_Addr **)tcb; in __libc_free_tls()
225 dtv = tls[0]; in __libc_free_tls()
254 char *tls_block, *tls; in __libc_allocate_tls() local
282 tls = (char *)tcb + TLS_TCB_SIZE + post_size; in __libc_allocate_tls()
291 dtv[2] = (Elf_Addr)(tls + DTV_OFFSET); in __libc_allocate_tls()
302 dtv[2] = (Elf_Addr)(tls + DTV_OFFSET); in __libc_allocate_tls()
305 memcpy(tls, tls_init, tls_init_size); in __libc_allocate_tls()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/
HDThreadLocal.inc25 DWORD* tls = reinterpret_cast<DWORD*>(&data);
26 *tls = TlsAlloc();
27 assert(*tls != TLS_OUT_OF_INDEXES);
31 DWORD* tls = reinterpret_cast<DWORD*>(&data);
32 TlsFree(*tls);
36 DWORD* tls = reinterpret_cast<DWORD*>(&data);
37 return TlsGetValue(*tls);
41 DWORD* tls = reinterpret_cast<DWORD*>(&data);
42 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
/freebsd-11-stable/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 …]
/freebsd-11-stable/sys/arm/include/
HDpcpu.h115 void *tls; in get_tls() local
118 __asm __volatile("mrc p15, 0, %0, c13, c0, 2" : "=r" (tls)); in get_tls()
119 return (tls); in get_tls()
123 set_tls(void *tls) in set_tls() argument
134 : : "r" (tls)); in set_tls()
/freebsd-11-stable/contrib/unbound/util/
HDconfiglexer.lex242 tls-upstream{COLON} { YDVAR(1, VAR_SSL_UPSTREAM) }
244 tls-service-key{COLON} { YDVAR(1, VAR_SSL_SERVICE_KEY) }
246 tls-service-pem{COLON} { YDVAR(1, VAR_SSL_SERVICE_PEM) }
248 tls-port{COLON} { YDVAR(1, VAR_SSL_PORT) }
250 tls-cert-bundle{COLON} { YDVAR(1, VAR_TLS_CERT_BUNDLE) }
251 tls-win-cert{COLON} { YDVAR(1, VAR_TLS_WIN_CERT) }
253 additional-tls-port{COLON} { YDVAR(1, VAR_TLS_ADDITIONAL_PORT) }
254 tls-additional-ports{COLON} { YDVAR(1, VAR_TLS_ADDITIONAL_PORT) }
255 tls-additional-port{COLON} { YDVAR(1, VAR_TLS_ADDITIONAL_PORT) }
256 tls-session-ticket-keys{COLON} { YDVAR(1, VAR_TLS_SESSION_TICKET_KEYS) }
[all …]
/freebsd-11-stable/lib/libc/tests/tls_dso/
HDMakefile8 LIBDIR= ${TESTSBASE}/lib/libc/tls
9 SHLIBDIR= ${TESTSBASE}/lib/libc/tls
/freebsd-11-stable/lib/libc/tests/tls/dso/
HDMakefile3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libc/tls/${.CURDIR:T}
11 LIBDIR= ${TESTSBASE}/lib/libc/tls
/freebsd-11-stable/sys/dev/cxgbe/tom/
HDt4_tls.c92 return (sc->tt.tls && sc->cryptocaps & FW_CAPS_CONFIG_TLSKEYS); in can_tls_offload()
98 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_tx_key()
106 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_rx_key()
114 struct tls_ofld_info *tls_ofld = &toep->tls; in key_size()
166 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_expansion_size()
248 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_copy_tx_key()
469 struct tls_ofld_info *tls_ofld = &toep->tls; in clear_tls_keyid()
500 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_program_key_id()
582 struct tls_ofld_info *tls_ofld = &toep->tls; in program_key_context()
733 struct tls_ofld_info *tls_ofld = &toep->tls; in tls_send_handshake_ack()
[all …]
/freebsd-11-stable/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()
/freebsd-11-stable/libexec/rtld-elf/mips/
HDreloc.c643 char *tls; in allocate_initial_tls() local
652 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
654 sysarch(MIPS_SET_TLS, tls); in allocate_initial_tls()
660 Elf_Addr** tls; in __tls_get_addr() local
663 sysarch(MIPS_GET_TLS, &tls); in __tls_get_addr()
665 p = tls_get_addr_common(tls, ti->ti_module, ti->ti_offset + TLS_DTP_OFFSET); in __tls_get_addr()
/freebsd-11-stable/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__)} :
/freebsd-11-stable/contrib/ntp/libparse/
HDclk_trimtsip.c349 …int tls = t->t_gpsutc = (u_short) getshort((unsigned char *)&mb(12)); /* current leap correc… in cvt_trimtsip() local
366 (tlsf != tls) && /* something will change */ in cvt_trimtsip()
370 if (tlsf > tls) in cvt_trimtsip()
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
HDInputSection.cpp629 PhdrEntry *tls = Out::tlsPhdr; in getTlsTpOffset() local
635 ((tls->p_vaddr - config->wordsize * 2) & (tls->p_align - 1)); in getTlsTpOffset()
642 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; in getTlsTpOffset()
644 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); in getTlsTpOffset()
650 return s.getVA(0) - tls->p_memsz - in getTlsTpOffset()
651 ((-tls->p_vaddr - tls->p_memsz) & (tls->p_align - 1)); in getTlsTpOffset()
/freebsd-11-stable/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\
/freebsd-11-stable/contrib/unbound/doc/
HDexample.conf.in139 # max memory to use for stream(tcp and tls) waiting result buffers.
758 # tls-service-key: "path/to/privatekeyfile.key"
759 # tls-service-pem: "path/to/publiccertfile.pem"
760 # tls-port: 853
764 …# tls-ciphers: "DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:EC…
766 …# tls-ciphersuites: "TLS_AES_128_GCM_SHA256:TLS_AES_128_CCM_8_SHA256:TLS_AES_128_CCM_SHA256:TLS_AE…
776 # tls-use-sni: yes
783 # tls-session-ticket-keys: "path/to/secret_file1"
784 # tls-session-ticket-keys: "path/to/secret_file2"
788 # tls-upstream: no
[all …]
/freebsd-11-stable/libexec/rtld-elf/i386/
HDreloc.c482 void* tls; in allocate_initial_tls() local
490 tls = allocate_tls(objs, NULL, 3*sizeof(Elf_Addr), sizeof(Elf_Addr)); in allocate_initial_tls()
491 i386_set_gsbase(tls); in allocate_initial_tls()
/freebsd-11-stable/crypto/openssl/doc/ssl/
HDSSL_export_keying_material.pod41 (L<https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels>).
HDSSL_CTX_set_mode.pod78 version; see draft-ietf-tls-downgrade-scsv-00 for details.
82 in draft-ietf-tls-downgrade-scsv-00.
/freebsd-11-stable/lib/libc/tests/
HDMakefile23 TESTS_SUBDIRS+= tls
/freebsd-11-stable/usr.sbin/wpa/
HDMakefile.inc18 ${WPA_DISTDIR}/src/tls \
/freebsd-11-stable/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()
/freebsd-11-stable/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()

123456