Home
last modified time | relevance | path

Searched refs:treq (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/net/handshake/
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()
[all …]
/linux-6.12.1/net/ipv4/
Dsyncookies.c268 struct tcp_request_sock *treq = tcp_rsk(req); in cookie_tcp_reqsk_init() local
281 treq->snt_synack = 0; in cookie_tcp_reqsk_init()
282 treq->tfo_listener = false; in cookie_tcp_reqsk_init()
283 treq->txhash = net_tx_rndhash(); in cookie_tcp_reqsk_init()
284 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_tcp_reqsk_init()
285 treq->snt_isn = ntohl(th->ack_seq) - 1; in cookie_tcp_reqsk_init()
286 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_init()
287 treq->req_usec_ts = false; in cookie_tcp_reqsk_init()
290 treq->is_mptcp = sk_is_mptcp(sk); in cookie_tcp_reqsk_init()
291 if (treq->is_mptcp) in cookie_tcp_reqsk_init()
[all …]
Dtcp_minisocks.c515 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_create_openreq_child() local
533 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
539 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
547 tcp_init_wl(newtp, treq->rcv_isn); in tcp_create_openreq_child()
553 newsk->sk_txhash = READ_ONCE(treq->txhash); in tcp_create_openreq_child()
557 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
580 newtp->tcp_usec_ts = treq->req_usec_ts; in tcp_create_openreq_child()
591 newtp->undo_marker = treq->snt_isn; in tcp_create_openreq_child()
593 newtp->retrans_stamp = treq->snt_synack; in tcp_create_openreq_child()
597 newtp->retrans_stamp = div_u64(treq->snt_synack, in tcp_create_openreq_child()
[all …]
Dtcp_ao.c867 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_ao_syncookie() local
878 treq->af_specific = &tcp_request_sock_ipv6_ops; in tcp_ao_syncookie()
881 treq->af_specific = &tcp_request_sock_ipv4_ops; in tcp_ao_syncookie()
883 treq->used_tcp_ao = false; in tcp_ao_syncookie()
894 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie()
895 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie()
896 treq->used_tcp_ao = true; in tcp_ao_syncookie()
/linux-6.12.1/drivers/nvme/target/
Dconfigfs.c166 return (port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK); in nvmet_port_disc_addr_treq_mask()
171 u8 treq = nvmet_port_disc_addr_treq_secure_channel(to_nvmet_port(item)); in nvmet_addr_treq_show() local
175 if (treq == nvmet_addr_treq[i].type) in nvmet_addr_treq_show()
187 u8 treq = nvmet_port_disc_addr_treq_mask(port); in nvmet_addr_treq_store() local
216 treq |= nvmet_addr_treq[i].type; in nvmet_addr_treq_store()
217 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
442 u8 treq = nvmet_port_disc_addr_treq_mask(port); in nvmet_addr_tsas_store() local
481 treq |= NVMF_TREQ_REQUIRED; in nvmet_addr_tsas_store()
483 treq |= sc; in nvmet_addr_tsas_store()
485 treq |= NVMF_TREQ_NOT_SPECIFIED; in nvmet_addr_tsas_store()
[all …]
Ddiscovery.c113 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry()
Dnvmet.h186 return (port->disc_addr.treq & NVME_TREQ_SECURE_CHANNEL_MASK); in nvmet_port_disc_addr_treq_secure_channel()
/linux-6.12.1/net/wireless/
Dpmsr.c199 struct nlattr *treq; in pmsr_parse_peer() local
250 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in pmsr_parse_peer()
251 switch (nla_type(treq)) { in pmsr_parse_peer()
253 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()
256 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
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()
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()
/linux-6.12.1/drivers/rapidio/
Drio_cm.c709 struct tx_req *treq; in riocm_queue_req() local
711 treq = kzalloc(sizeof(*treq), GFP_KERNEL); in riocm_queue_req()
712 if (treq == NULL) in riocm_queue_req()
715 treq->rdev = rdev; in riocm_queue_req()
716 treq->buffer = buffer; in riocm_queue_req()
717 treq->len = len; in riocm_queue_req()
720 list_add_tail(&treq->node, &cm->tx_reqs); in riocm_queue_req()
/linux-6.12.1/drivers/ufs/core/
Dufshcd.c7027 struct utp_task_req_desc *treq, u8 tm_function) in __ufshcd_issue_tm_cmd() argument
7050 treq->upiu_req.req_header.task_tag = task_tag; in __ufshcd_issue_tm_cmd()
7052 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7076 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7105 struct utp_task_req_desc treq = { }; in ufshcd_issue_tm_cmd() local
7110 treq.header.interrupt = 1; in ufshcd_issue_tm_cmd()
7111 treq.header.ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_issue_tm_cmd()
7114 treq.upiu_req.req_header.transaction_code = UPIU_TRANSACTION_TASK_REQ; in ufshcd_issue_tm_cmd()
7115 treq.upiu_req.req_header.lun = lun_id; in ufshcd_issue_tm_cmd()
7116 treq.upiu_req.req_header.tm_function = tm_function; in ufshcd_issue_tm_cmd()
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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()
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dpci.c2117 void *treq, *tresp = NULL; in ath10k_pci_hif_exchange_bmi_msg() local
2128 treq = kmemdup(req, req_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg()
2129 if (!treq) in ath10k_pci_hif_exchange_bmi_msg()
2132 req_paddr = dma_map_single(ar->dev, treq, req_len, DMA_TO_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
2193 kfree(treq); in ath10k_pci_hif_exchange_bmi_msg()
/linux-6.12.1/include/net/
Dtcp.h907 static inline u32 tcp_rsk_tsval(const struct tcp_request_sock *treq) in tcp_rsk_tsval() argument
909 return tcp_clock_ts(treq->req_usec_ts) + treq->ts_off; in tcp_rsk_tsval()
/linux-6.12.1/drivers/usb/dwc2/
Dgadget.c983 struct dwc2_hsotg_req *hs_req, *treq; in dwc2_gadget_start_isoc_ddma() local
1007 list_for_each_entry_safe(hs_req, treq, &hs_ep->queue, queue) { in dwc2_gadget_start_isoc_ddma()
4315 struct dwc2_hsotg_req *req, *treq; in on_list() local
4317 list_for_each_entry_safe(req, treq, &ep->queue, queue) { in on_list()
/linux-6.12.1/include/linux/
Dnvme.h1489 __u8 treq; member
/linux-6.12.1/net/core/
Dfilter.c11963 struct tcp_request_sock *treq; in bpf_sk_assign_tcp_reqsk() local
12026 treq = tcp_rsk(req); in bpf_sk_assign_tcp_reqsk()
12040 treq->req_usec_ts = !!attrs->usec_ts_ok; in bpf_sk_assign_tcp_reqsk()
12041 treq->ts_off = tsoff; in bpf_sk_assign_tcp_reqsk()