Home
last modified time | relevance | path

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

12

/f-stack/freebsd/kern/
H A Duipc_ktls.c542 TASK_INIT(&tls->reset_tag_task, 0, ktls_reset_send_tag, tls); in ktls_create_session()
650 *tlsp = tls; in ktls_create_session()
706 tls->free(tls); in ktls_cleanup()
743 explicit_bzero(tls->params.iv, sizeof(tls->params.iv)); in ktls_cleanup()
859 params.tls_rate_limit.tls = tls; in ktls_alloc_snd_tag()
864 params.tls.tls = tls; in ktls_alloc_snd_tag()
938 tls->be = be; in ktls_try_sw()
1233 tls = ktls_hold(tls); in ktls_set_tx_mode()
1318 tls = context; in ktls_reset_send_tag()
1825 error = tls->sw_decrypt(tls, hdr, data, seqno, &trail_len); in ktls_decrypt()
[all …]
H A Dkern_sendfile.c97 struct ktls_session *tls; member
385 } else if (sfio->tls != NULL && sfio->tls->mode == TCP_TLS_MODE_SW) { in sendfile_iodone()
706 tls = NULL; in vn_sendfile()
842 if (tls != NULL) in vn_sendfile()
944 sfio->tls = tls; in vn_sendfile()
973 || tls != NULL in vn_sendfile()
978 if (tls != NULL) in vn_sendfile()
1161 if (tls != NULL) in vn_sendfile()
1175 if (tls != NULL && tls->mode == TCP_TLS_MODE_SW) { in vn_sendfile()
1251 if (tls != NULL) in vn_sendfile()
[all …]
H A Duipc_socket.c1552 struct ktls_session *tls; local
1556 tls = NULL;
1595 if (tls != NULL) {
1596 if (tls->mode == TCP_TLS_MODE_SW)
1683 if (tls != NULL) {
1699 if (tls != NULL) {
1701 tls->params.max_frame_len,
1705 ktls_frame(top, tls,
1767 if (tls != NULL && tls->mode == TCP_TLS_MODE_SW) {
1794 if (tls != NULL)
[all …]
/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_tls.c143 nb_keys = lt->tls->nb_keys_inuse; in _lthread_tls_destroy()
148 if (lt->tls->data[k] == NULL) in _lthread_tls_destroy()
152 data = lt->tls->data[k]; in _lthread_tls_destroy()
153 lt->tls->data[k] = NULL; in _lthread_tls_destroy()
154 lt->tls->nb_keys_inuse = nb_keys-1; in _lthread_tls_destroy()
173 res = THIS_LTHREAD->tls->data[k]; in lthread_getspecific()
195 if (THIS_LTHREAD->tls->data[k] == NULL) in lthread_setspecific()
208 struct lthread_tls *tls; in _lthread_tls_alloc() local
212 RTE_ASSERT(tls != NULL); in _lthread_tls_alloc()
214 tls->root_sched = (THIS_SCHED); in _lthread_tls_alloc()
[all …]
H A Dlthread.c69 _lthread_objcache_free(lt->tls->root_sched->per_lthread_cache, in _lthread_free()
73 _lthread_objcache_free(lt->tls->root_sched->tls_cache, lt->tls); in _lthread_free()
H A Dlthread_int.h142 struct lthread_tls *tls; /* keys in use by the thread */ member
/f-stack/freebsd/sys/
H A Dktls.h186 int (*sw_encrypt)(struct ktls_session *tls,
190 int (*sw_decrypt)(struct ktls_session *tls,
199 void (*free)(struct ktls_session *tls);
215 void ktls_destroy(struct ktls_session *tls);
230 ktls_hold(struct ktls_session *tls) in ktls_hold() argument
233 if (tls != NULL) in ktls_hold()
234 refcount_acquire(&tls->refcount); in ktls_hold()
235 return (tls); in ktls_hold()
239 ktls_free(struct ktls_session *tls) in ktls_free() argument
242 if (refcount_release(&tls->refcount)) in ktls_free()
[all …]
/f-stack/freebsd/opencrypto/
H A Dktls_ocf.c174 os = tls->cipher; in ktls_ocf_tls_cbc_encrypt()
332 os = tls->cipher; in ktls_ocf_tls12_gcm_encrypt()
417 os = tls->cipher; in ktls_ocf_tls12_gcm_decrypt()
469 os = tls->cipher; in ktls_ocf_tls13_gcm_encrypt()
474 memcpy(nonce, tls->params.iv, tls->params.iv_len); in ktls_ocf_tls13_gcm_encrypt()
547 ktls_ocf_free(struct ktls_session *tls) in ktls_ocf_free() argument
551 os = tls->cipher; in ktls_ocf_free()
571 switch (tls->params.cipher_key_len) { in ktls_ocf_try()
598 switch (tls->params.cipher_key_len) { in ktls_ocf_try()
670 tls->cipher = os; in ktls_ocf_try()
[all …]
/f-stack/freebsd/arm/include/
H A Dpcpu.h112 void *tls; in get_tls() local
115 __asm __volatile("mrc p15, 0, %0, c13, c0, 2" : "=r" (tls)); in get_tls()
116 return (tls); in get_tls()
120 set_tls(void *tls) in set_tls() argument
131 : : "r" (tls)); in set_tls()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack_bbr_common.c138 struct ktls_session *tls; in ctf_get_opt_tls_size() local
142 tls = so->so_snd.sb_tls_info; in ctf_get_opt_tls_size()
143 len = tls->params.max_frame_len; /* max tls payload */ in ctf_get_opt_tls_size()
144 len += tls->params.tls_hlen; /* tls header len */ in ctf_get_opt_tls_size()
145 len += tls->params.tls_tlen; /* tls trailer len */ in ctf_get_opt_tls_size()
153 if (tls->params.max_frame_len > 4096) { in ctf_get_opt_tls_size()
154 tls->params.max_frame_len -= 4096; in ctf_get_opt_tls_size()
155 if (tls->params.max_frame_len < 4096) in ctf_get_opt_tls_size()
156 tls->params.max_frame_len = 4096; in ctf_get_opt_tls_size()
/f-stack/freebsd/netinet/
H A Dtcp_ratelimit.c1208 struct ktls_session *tls; in tcp_set_pacing_rate() local
1224 tls = NULL; in tcp_set_pacing_rate()
1229 tls->mode != TCP_TLS_MODE_IFNET) { in tcp_set_pacing_rate()
1238 if (rte != NULL && tls != NULL && tls->snd_tag != NULL) { in tcp_set_pacing_rate()
1244 MPASS(tls->snd_tag->type == IF_SND_TAG_TYPE_TLS); in tcp_set_pacing_rate()
1245 ktls_output_eagain(tp->t_inpcb, tls); in tcp_set_pacing_rate()
1269 struct ktls_session *tls = NULL; in tcp_chg_pacing_rate() local
1286 MPASS(tls->mode == TCP_TLS_MODE_IFNET); in tcp_chg_pacing_rate()
1287 if (tls->snd_tag != NULL && in tcp_chg_pacing_rate()
1358 if (tls != NULL) in tcp_chg_pacing_rate()
[all …]
H A Dtcp_usrreq.c2020 memset(tls, 0, sizeof(*tls)); in copyin_tls_enable()
2022 tls->iv = tls_v0.iv; in copyin_tls_enable()
2023 tls->auth_key = tls_v0.auth_key; in copyin_tls_enable()
2026 tls->iv_len = tls_v0.iv_len; in copyin_tls_enable()
2029 tls->flags = tls_v0.flags; in copyin_tls_enable()
2035 return (sooptcopyin(sopt, tls, sizeof(*tls), sizeof(*tls))); in copyin_tls_enable()
2046 struct tls_enable tls; in tcp_default_ctloutput() local
2263 error = ktls_enable_tx(so, &tls); in tcp_default_ctloutput()
2277 error = sooptcopyin(sopt, &tls, sizeof(tls), in tcp_default_ctloutput()
2278 sizeof(tls)); in tcp_default_ctloutput()
[all …]
H A Dtcp_offload.c201 tcp_offload_alloc_tls_session(struct tcpcb *tp, struct ktls_session *tls, in tcp_offload_alloc_tls_session() argument
209 return (tod->tod_alloc_tls_session(tod, tp, tls, direction)); in tcp_offload_alloc_tls_session()
H A Dip_output.c217 struct ktls_session *tls = NULL; in ip_output_send() local
233 tls = ktls_hold(m->m_next->m_epg_tls); in ip_output_send()
234 mst = tls->snd_tag; in ip_output_send()
280 if (tls != NULL) { in ip_output_send()
282 error = ktls_output_eagain(inp, tls); in ip_output_send()
283 ktls_free(tls); in ip_output_send()
H A Dtcp_output.c1915 struct ktls_session *tls, *ntls; in tcp_m_copym() local
1950 tls = m->m_epg_tls; in tcp_m_copym()
1952 tls = NULL; in tcp_m_copym()
1976 if (tls != ntls) { in tcp_m_copym()
H A Dtoecore.c196 struct ktls_session *tls __unused, int direction __unused) in toedev_alloc_tls_session()
H A Dsctp_structs.h221 struct timeval tls; /* The time we started the sending */ member
/f-stack/freebsd/mips/nlm/hal/
H A Dnlmsaelib.h246 nlm_crypto_form_pkt_desc0(unsigned int tls, unsigned int hash_source, in nlm_crypto_form_pkt_desc0() argument
250 return (left_shift64(tls, 63, 1) | in nlm_crypto_form_pkt_desc0()
/f-stack/freebsd/net/
H A Dif_var.h214 const struct ktls_session *tls; member
220 const struct ktls_session *tls; member
236 struct if_snd_tag_alloc_tls tls; member
H A Dif_spppsubr.c228 void (*tls)(struct sppp *sp); member
1914 (cp->tls)(sp); in sppp_down_event()
1946 (cp->tls)(sp); in sppp_open_event()
1968 (cp->tls)(sp); in sppp_open_event()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dat91-vinco.dts198 label = "tls";
/f-stack/freebsd/netinet6/
H A Dip6_output.c330 struct ktls_session *tls = NULL; in ip6_output_send() local
346 tls = ktls_hold(m->m_next->m_epg_tls); in ip6_output_send()
347 mst = tls->snd_tag; in ip6_output_send()
393 if (tls != NULL) { in ip6_output_send()
395 error = ktls_output_eagain(inp, tls); in ip6_output_send()
396 ktls_free(tls); in ip6_output_send()
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DChangeLog61 - Add configure option --disable-initial-exec-tls which can allow jemalloc to
296 - Remove --disable-tls. (@jasone)
309 + config.tls
465 tsd initialization (e.g. --disable-tls). (@cferris1000, @jasone)
1153 well as for --disable-tls builds in earlier releases.
1167 - Fix prof_tdata_cleanup() for --disable-tls builds.
H A Dconfigure.ac753 dnl --disable-initial-exec-tls)
2011 AC_ARG_ENABLE([initial-exec-tls],
2012 [AS_HELP_STRING([--disable-initial-exec-tls],
2013 [Disable the initial-exec tls model])],
H A DINSTALL.md270 * `--disable-initial-exec-tls`

12