Home
last modified time | relevance | path

Searched refs:treq (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/net/handshake/
H A Dtlshd.c48 struct tls_handshake_req *treq = handshake_req_private(req); in tls_handshake_req_init() local
50 treq->th_timeout_ms = args->ta_timeout_ms; in tls_handshake_req_init()
51 treq->th_consumer_done = args->ta_done; in tls_handshake_req_init()
52 treq->th_consumer_data = args->ta_data; in tls_handshake_req_init()
53 treq->th_peername = args->ta_peername; in tls_handshake_req_init()
54 treq->th_keyring = args->ta_keyring; in tls_handshake_req_init()
55 treq->th_num_peerids = 0; in tls_handshake_req_init()
56 treq->th_certificate = TLS_NO_CERT; in tls_handshake_req_init()
57 treq->th_privkey = TLS_NO_PRIVKEY; in tls_handshake_req_init()
58 return treq; in tls_handshake_req_init()
61 tls_handshake_remote_peerids(struct tls_handshake_req *treq, struct genl_info *info) tls_handshake_remote_peerids() argument
98 struct tls_handshake_req *treq = handshake_req_private(req); tls_handshake_done() local
112 tls_handshake_private_keyring(struct tls_handshake_req *treq) tls_handshake_private_keyring() argument
145 tls_handshake_private_keyring(struct tls_handshake_req *treq) tls_handshake_private_keyring() argument
151 tls_handshake_put_peer_identity(struct sk_buff *msg, struct tls_handshake_req *treq) tls_handshake_put_peer_identity() argument
163 tls_handshake_put_certificate(struct sk_buff *msg, struct tls_handshake_req *treq) tls_handshake_put_certificate() argument
199 struct tls_handshake_req *treq = handshake_req_private(req); tls_handshake_accept() local
282 struct tls_handshake_req *treq; tls_client_hello_anon() local
308 struct tls_handshake_req *treq; tls_client_hello_x509() local
337 struct tls_handshake_req *treq; tls_client_hello_psk() local
371 struct tls_handshake_req *treq; tls_server_hello_x509() local
399 struct tls_handshake_req *treq; tls_server_hello_psk() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dsyncookies.c284 struct tcp_request_sock *treq; in cookie_tcp_reqsk_alloc() local
295 treq = tcp_rsk(req); in cookie_tcp_reqsk_alloc()
297 /* treq->af_specific might be used to perform TCP_MD5 lookup */ in cookie_tcp_reqsk_alloc()
298 treq->af_specific = af_ops; in cookie_tcp_reqsk_alloc()
300 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_alloc()
302 treq->is_mptcp = sk_is_mptcp(sk); in cookie_tcp_reqsk_alloc()
303 if (treq->is_mptcp) { in cookie_tcp_reqsk_alloc()
326 struct tcp_request_sock *treq; in cookie_v4_check() local
374 treq = tcp_rsk(req); in cookie_v4_check()
375 treq in cookie_v4_check()
[all...]
H A Dtcp_minisocks.c462 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_create_openreq_child() local
479 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
485 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
493 tcp_init_wl(newtp, treq->rcv_isn); in tcp_create_openreq_child()
499 newsk->sk_txhash = treq->txhash; in tcp_create_openreq_child()
503 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
534 newtp->undo_marker = treq->snt_isn; in tcp_create_openreq_child()
535 newtp->retrans_stamp = div_u64(treq->snt_synack, in tcp_create_openreq_child()
538 newtp->tsoffset = treq->ts_off; in tcp_create_openreq_child()
541 if (treq in tcp_create_openreq_child()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dsyncookies.c282 struct tcp_request_sock *treq; in cookie_tcp_reqsk_alloc() local
293 treq = tcp_rsk(req); in cookie_tcp_reqsk_alloc()
295 /* treq->af_specific might be used to perform TCP_MD5 lookup */ in cookie_tcp_reqsk_alloc()
296 treq->af_specific = af_ops; in cookie_tcp_reqsk_alloc()
298 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_alloc()
300 treq->is_mptcp = sk_is_mptcp(sk); in cookie_tcp_reqsk_alloc()
301 if (treq->is_mptcp) { in cookie_tcp_reqsk_alloc()
324 struct tcp_request_sock *treq; in cookie_v4_check() local
372 treq = tcp_rsk(req); in cookie_v4_check()
373 treq in cookie_v4_check()
[all...]
H A Dtcp_minisocks.c488 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_create_openreq_child() local
506 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
512 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
520 tcp_init_wl(newtp, treq->rcv_isn); in tcp_create_openreq_child()
526 newsk->sk_txhash = READ_ONCE(treq->txhash); in tcp_create_openreq_child()
530 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
561 newtp->undo_marker = treq->snt_isn; in tcp_create_openreq_child()
562 newtp->retrans_stamp = div_u64(treq->snt_synack, in tcp_create_openreq_child()
565 newtp->tsoffset = treq->ts_off; in tcp_create_openreq_child()
/kernel/linux/linux-5.10/net/ipv6/
H A Dsyncookies.c132 struct tcp_request_sock *treq; in cookie_v6_check() local
180 treq = tcp_rsk(req); in cookie_v6_check()
181 treq->tfo_listener = false; in cookie_v6_check()
213 treq->snt_synack = 0; in cookie_v6_check()
214 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()
215 treq->snt_isn = cookie; in cookie_v6_check()
216 treq->ts_off = 0; in cookie_v6_check()
217 treq->txhash = net_tx_rndhash(); in cookie_v6_check()
/kernel/linux/linux-6.6/net/ipv6/
H A Dsyncookies.c132 struct tcp_request_sock *treq; in cookie_v6_check() local
180 treq = tcp_rsk(req); in cookie_v6_check()
181 treq->tfo_listener = false; in cookie_v6_check()
213 treq->snt_synack = 0; in cookie_v6_check()
214 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()
215 treq->snt_isn = cookie; in cookie_v6_check()
216 treq->ts_off = 0; in cookie_v6_check()
217 treq->txhash = net_tx_rndhash(); in cookie_v6_check()
/kernel/linux/linux-5.10/net/wireless/
H A Dpmsr.c171 struct nlattr *treq; in pmsr_parse_peer() local
222 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in pmsr_parse_peer()
223 switch (nla_type(treq)) { in pmsr_parse_peer()
225 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()
228 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()
/kernel/linux/linux-6.6/net/wireless/
H A Dpmsr.c191 struct nlattr *treq; in pmsr_parse_peer() local
242 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in pmsr_parse_peer()
243 switch (nla_type(treq)) { in pmsr_parse_peer()
245 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()
248 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()
/kernel/linux/linux-5.10/drivers/nvme/target/
H A Dconfigfs.c159 u8 treq = to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show() local
164 if (treq == nvmet_addr_treq[i].type) in nvmet_addr_treq_show()
175 u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; in nvmet_addr_treq_store() local
186 pr_err("Invalid value '%s' for treq\n", page); in nvmet_addr_treq_store()
190 treq |= nvmet_addr_treq[i].type; in nvmet_addr_treq_store()
191 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
1533 port->disc_addr.treq in nvmet_ports_make()
[all...]
H A Ddiscovery.c112 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c173 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
176 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
H A Dbpf_iter_tcp6.c182 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
185 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c172 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
175 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
H A Dbpf_iter_tcp6.c181 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
184 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip_input.c999 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_nip_create_openreq_child() local
1009 newtp->rcv_wup = treq->rcv_isn + 1; in tcp_nip_create_openreq_child()
1010 newtp->copied_seq = treq->rcv_isn + 1; in tcp_nip_create_openreq_child()
1011 newtp->rcv_nxt = treq->rcv_isn + 1; in tcp_nip_create_openreq_child()
1014 newtp->snd_sml = treq->snt_isn + 1; in tcp_nip_create_openreq_child()
1015 newtp->snd_una = treq->snt_isn + 1; in tcp_nip_create_openreq_child()
1016 newtp->snd_nxt = treq->snt_isn + 1; in tcp_nip_create_openreq_child()
1017 newtp->snd_up = treq->snt_isn + 1; in tcp_nip_create_openreq_child()
1024 tcp_init_wl(newtp, treq->rcv_isn); in tcp_nip_create_openreq_child()
1047 newtp->write_seq = treq in tcp_nip_create_openreq_child()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dconfigfs.c165 u8 treq = to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show() local
170 if (treq == nvmet_addr_treq[i].type) in nvmet_addr_treq_show()
182 u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; in nvmet_addr_treq_store() local
193 pr_err("Invalid value '%s' for treq\n", page); in nvmet_addr_treq_store()
197 treq |= nvmet_addr_treq[i].type; in nvmet_addr_treq_store()
198 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
1801 port->disc_addr.treq in nvmet_ports_make()
[all...]
H A Ddiscovery.c113 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry()
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio_cm.c707 struct tx_req *treq; in riocm_queue_req() local
709 treq = kzalloc(sizeof(*treq), GFP_KERNEL); in riocm_queue_req()
710 if (treq == NULL) in riocm_queue_req()
713 treq->rdev = rdev; in riocm_queue_req()
714 treq->buffer = buffer; in riocm_queue_req()
715 treq->len = len; in riocm_queue_req()
718 list_add_tail(&treq->node, &cm->tx_reqs); in riocm_queue_req()
/kernel/linux/linux-6.6/drivers/rapidio/
H A Drio_cm.c707 struct tx_req *treq; in riocm_queue_req() local
709 treq = kzalloc(sizeof(*treq), GFP_KERNEL); in riocm_queue_req()
710 if (treq == NULL) in riocm_queue_req()
713 treq->rdev = rdev; in riocm_queue_req()
714 treq->buffer = buffer; in riocm_queue_req()
715 treq->len = len; in riocm_queue_req()
718 list_add_tail(&treq->node, &cm->tx_reqs); in riocm_queue_req()
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufshcd.c6920 struct utp_task_req_desc *treq, u8 tm_function) in __ufshcd_issue_tm_cmd()
6945 treq->upiu_req.req_header.task_tag = task_tag; in __ufshcd_issue_tm_cmd()
6947 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
6974 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7003 struct utp_task_req_desc treq = { }; in ufshcd_issue_tm_cmd() local
7008 treq.header.interrupt = 1; in ufshcd_issue_tm_cmd()
7009 treq.header.ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_issue_tm_cmd()
7012 treq in ufshcd_issue_tm_cmd()
6919 __ufshcd_issue_tm_cmd(struct ufs_hba *hba, struct utp_task_req_desc *treq, u8 tm_function) __ufshcd_issue_tm_cmd() argument
7168 struct utp_task_req_desc treq = { }; ufshcd_exec_raw_upiu_cmd() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufshcd.c6242 struct utp_task_req_desc *treq, u8 tm_function) in __ufshcd_issue_tm_cmd()
6265 treq->req_header.dword_0 |= cpu_to_be32(task_tag); in __ufshcd_issue_tm_cmd()
6267 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
6297 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
6326 struct utp_task_req_desc treq = { { 0 }, }; in ufshcd_issue_tm_cmd() local
6330 treq.header.dword_0 = cpu_to_le32(UTP_REQ_DESC_INT_CMD); in ufshcd_issue_tm_cmd()
6331 treq.header.dword_2 = cpu_to_le32(OCS_INVALID_COMMAND_STATUS); in ufshcd_issue_tm_cmd()
6334 treq in ufshcd_issue_tm_cmd()
6241 __ufshcd_issue_tm_cmd(struct ufs_hba *hba, struct utp_task_req_desc *treq, u8 tm_function) __ufshcd_issue_tm_cmd() argument
6507 struct utp_task_req_desc treq = { { 0 }, }; ufshcd_exec_raw_upiu_cmd() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1197 struct inet_request_sock *treq = inet_rsk(oreq); in chtls_recv_sock() local
1203 newsk->sk_v6_daddr = treq->ir_v6_rmt_addr; in chtls_recv_sock()
1204 newsk->sk_v6_rcv_saddr = treq->ir_v6_loc_addr; in chtls_recv_sock()
1205 inet6_sk(newsk)->saddr = treq->ir_v6_loc_addr; in chtls_recv_sock()
1208 newsk->sk_bound_dev_if = treq->ir_iif; in chtls_recv_sock()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1196 struct inet_request_sock *treq = inet_rsk(oreq); in chtls_recv_sock() local
1202 newsk->sk_v6_daddr = treq->ir_v6_rmt_addr; in chtls_recv_sock()
1203 newsk->sk_v6_rcv_saddr = treq->ir_v6_loc_addr; in chtls_recv_sock()
1204 inet6_sk(newsk)->saddr = treq->ir_v6_loc_addr; in chtls_recv_sock()
1207 newsk->sk_bound_dev_if = treq->ir_iif; in chtls_recv_sock()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dpci.c2115 void *treq, *tresp = NULL; in ath10k_pci_hif_exchange_bmi_msg() local
2126 treq = kmemdup(req, req_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg()
2127 if (!treq) in ath10k_pci_hif_exchange_bmi_msg()
2130 req_paddr = dma_map_single(ar->dev, treq, req_len, DMA_TO_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
2191 kfree(treq); in ath10k_pci_hif_exchange_bmi_msg()

Completed in 49 milliseconds

12