Home
last modified time | relevance | path

Searched refs:ireq (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/scsi/isci/
Drequest.c74 static struct scu_sgl_element_pair *to_sgl_element_pair(struct isci_request *ireq, in to_sgl_element_pair() argument
78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair()
80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair()
84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair()
88 struct isci_request *ireq, u32 idx) in to_sgl_element_pair_dma() argument
93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma()
97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma()
102 return sci_io_request_get_dma_addr(ireq, &ireq->sg_table[idx - 2]); in to_sgl_element_pair_dma()
113 static void sci_request_build_sgl(struct isci_request *ireq) in sci_request_build_sgl() argument
115 struct isci_host *ihost = ireq->isci_host; in sci_request_build_sgl()
[all …]
Drequest.h152 struct isci_request *ireq; in to_ireq() local
154 ireq = container_of(stp_req, typeof(*ireq), stp.req); in to_ireq()
155 return ireq; in to_ireq()
257 enum sci_status sci_request_start(struct isci_request *ireq);
258 enum sci_status sci_io_request_terminate(struct isci_request *ireq);
260 sci_io_request_event_handler(struct isci_request *ireq,
263 sci_io_request_frame_handler(struct isci_request *ireq,
266 sci_task_request_terminate(struct isci_request *ireq);
268 sci_request_complete(struct isci_request *ireq);
270 sci_io_request_tc_completion(struct isci_request *ireq, u32 code);
[all …]
Dremote_device.c105 struct isci_request *ireq) in sci_remote_device_terminate_req() argument
107 if (!test_bit(IREQ_ACTIVE, &ireq->flags) || in sci_remote_device_terminate_req()
108 (ireq->target_device != idev) || in sci_remote_device_terminate_req()
109 (check_abort && !test_bit(IREQ_PENDING_ABORT, &ireq->flags))) in sci_remote_device_terminate_req()
114 __func__, idev, idev->flags, ireq, ireq->target_device); in sci_remote_device_terminate_req()
116 set_bit(IREQ_ABORT_PATH_ACTIVE, &ireq->flags); in sci_remote_device_terminate_req()
118 return sci_controller_terminate_request(ihost, idev, ireq); in sci_remote_device_terminate_req()
130 struct isci_request *ireq = ihost->reqs[i]; in sci_remote_device_terminate_reqs_checkabort() local
133 s = sci_remote_device_terminate_req(ihost, idev, chk, ireq); in sci_remote_device_terminate_reqs_checkabort()
156 struct isci_request *ireq, in isci_check_reqterm() argument
[all …]
Dtask.c164 struct isci_request *ireq; in isci_task_execute_task() local
167 ireq = isci_io_request_from_tag(ihost, task, tag); in isci_task_execute_task()
172 status = isci_request_execute(ihost, idev, task, ireq); in isci_task_execute_task()
217 struct isci_request *ireq = NULL; in isci_task_request_build() local
226 ireq = isci_tmf_request_from_tag(ihost, isci_tmf, tag); in isci_task_request_build()
227 if (!ireq) in isci_task_request_build()
232 ireq); in isci_task_request_build()
246 sci_task_request_construct_ssp(ireq); in isci_task_request_build()
249 return ireq; in isci_task_request_build()
258 struct isci_request *ireq; in isci_task_execute_tmf() local
[all …]
Dhost.c258 struct isci_request *ireq = ihost->reqs[index]; in sci_controller_task_completion() local
261 if (test_bit(IREQ_ACTIVE, &ireq->flags) && in sci_controller_task_completion()
262 ireq->io_tag != SCI_CONTROLLER_INVALID_IO_TAG && in sci_controller_task_completion()
263 ISCI_TAG_SEQ(ireq->io_tag) == ihost->io_request_sequence[index]) in sci_controller_task_completion()
267 sci_io_request_tc_completion(ireq, ent); in sci_controller_task_completion()
273 struct isci_request *ireq; in sci_controller_sdma_completion() local
281 ireq = ihost->reqs[index]; in sci_controller_sdma_completion()
283 __func__, ent, ireq); in sci_controller_sdma_completion()
369 struct isci_request *ireq; in sci_controller_event_completion() local
401 ireq = ihost->reqs[index]; in sci_controller_event_completion()
[all …]
Dremote_device.h324 struct isci_request *ireq);
329 struct isci_request *ireq);
334 struct isci_request *ireq);
374 struct isci_request *ireq);
379 struct isci_request *ireq);
Dhost.h472 enum sci_status sci_controller_continue_io(struct isci_request *ireq);
478 void ireq_done(struct isci_host *ihost, struct isci_request *ireq, struct sas_task *task);
490 struct isci_request *ireq);
495 struct isci_request *ireq);
500 struct isci_request *ireq);
505 struct isci_request *ireq);
Dremote_node_context.h221 struct isci_request *ireq,
225 struct isci_request *ireq);
Dport.h247 struct isci_request *ireq);
252 struct isci_request *ireq);
/linux-6.12.1/net/ipv4/
Dsyncookies.c63 const struct inet_request_sock *ireq = inet_rsk(req); in cookie_init_timestamp() local
67 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
68 if (ireq->sack_ok) in cookie_init_timestamp()
70 if (ireq->ecn_ok) in cookie_init_timestamp()
267 struct inet_request_sock *ireq = inet_rsk(req); in cookie_tcp_reqsk_init() local
273 ireq->ir_num = ntohs(th->dest); in cookie_tcp_reqsk_init()
274 ireq->ir_rmt_port = th->source; in cookie_tcp_reqsk_init()
275 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_tcp_reqsk_init()
276 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_tcp_reqsk_init()
279 ireq->smc_ok = 0; in cookie_tcp_reqsk_init()
[all …]
Dinet_connection_sock.c816 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_req() local
817 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_req()
822 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_req()
824 flowi4_init_output(fl4, ireq->ir_iif, ireq->ir_mark, in inet_csk_route_req()
827 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, in inet_csk_route_req()
828 ireq->ir_loc_addr, ireq->ir_rmt_port, in inet_csk_route_req()
829 htons(ireq->ir_num), sk->sk_uid); in inet_csk_route_req()
852 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_child_sock() local
853 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_child_sock()
859 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_child_sock()
[all …]
Dtcp_minisocks.c417 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init_rwin() local
443 mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), in tcp_openreq_init_rwin()
446 ireq->wscale_ok, in tcp_openreq_init_rwin()
449 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin()
493 struct inet_request_sock *ireq; in smc_check_reset_syn_req() local
496 ireq = inet_rsk(req); in smc_check_reset_syn_req()
497 if (oldtp->syn_smc && !ireq->smc_ok) in smc_check_reset_syn_req()
514 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_create_openreq_child() local
563 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child()
564 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child()
[all …]
Dtcp_ipv4.c1178 const struct inet_request_sock *ireq = inet_rsk(req); local
1191 __tcp_v4_send_check(skb, ireq->ir_loc_addr, ireq->ir_rmt_addr);
1204 err = ip_build_and_send_pkt(skb, sk, ireq->ir_loc_addr,
1205 ireq->ir_rmt_addr,
1206 rcu_dereference(ireq->ireq_opt),
1667 struct inet_request_sock *ireq = inet_rsk(req); local
1672 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(net, skb));
1745 struct inet_request_sock *ireq; local
1769 ireq = inet_rsk(req);
1770 sk_daddr_set(newsk, ireq->ir_rmt_addr);
[all …]
Dtcp_output.c779 const struct inet_request_sock *ireq, in smc_set_option_cond() argument
785 if (tp->syn_smc && ireq->smc_ok) { in smc_set_option_cond()
906 struct inet_request_sock *ireq = inet_rsk(req); in tcp_synack_options() local
919 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
923 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
930 if (likely(ireq->wscale_ok)) { in tcp_synack_options()
931 opts->ws = ireq->rcv_wscale; in tcp_synack_options()
935 if (likely(ireq->tstamp_ok)) { in tcp_synack_options()
942 if (likely(ireq->sack_ok)) { in tcp_synack_options()
944 if (unlikely(!ireq->tstamp_ok)) in tcp_synack_options()
[all …]
Dtcp_ao.c404 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_ao_calc_key_rsk() local
407 ireq->ir_loc_addr, ireq->ir_rmt_addr, in tcp_v4_ao_calc_key_rsk()
408 htons(ireq->ir_num), ireq->ir_rmt_port, in tcp_v4_ao_calc_key_rsk()
705 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_ao_lookup_rsk() local
706 union tcp_ao_addr *addr = (union tcp_ao_addr *)&ireq->ir_rmt_addr; in tcp_v4_ao_lookup_rsk()
709 l3index = l3mdev_master_ifindex_by_index(sock_net(sk), ireq->ir_iif); in tcp_v4_ao_lookup_rsk()
/linux-6.12.1/net/ipv6/
Dsyncookies.c173 struct inet_request_sock *ireq; in cookie_v6_check() local
198 ireq = inet_rsk(req); in cookie_v6_check()
200 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in cookie_v6_check()
201 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in cookie_v6_check()
212 ireq->pktopts = skb; in cookie_v6_check()
217 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check()
218 ireq->ir_iif = tcp_v6_iif(skb); in cookie_v6_check()
232 fl6.daddr = ireq->ir_v6_rmt_addr; in cookie_v6_check()
234 fl6.saddr = ireq->ir_v6_loc_addr; in cookie_v6_check()
235 fl6.flowi6_oif = ireq->ir_iif; in cookie_v6_check()
[all …]
Dtcp_ao.c81 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_ao_calc_key_rsk() local
84 &ireq->ir_v6_loc_addr, &ireq->ir_v6_rmt_addr, in tcp_v6_ao_calc_key_rsk()
85 htons(ireq->ir_num), ireq->ir_rmt_port, in tcp_v6_ao_calc_key_rsk()
106 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_ao_lookup_rsk() local
107 struct in6_addr *addr = &ireq->ir_v6_rmt_addr; in tcp_v6_ao_lookup_rsk()
110 l3index = l3mdev_master_ifindex_by_index(sock_net(sk), ireq->ir_iif); in tcp_v6_ao_lookup_rsk()
Dinet6_connection_sock.c32 struct inet_request_sock *ireq = inet_rsk(req); in inet6_csk_route_req() local
39 fl6->daddr = ireq->ir_v6_rmt_addr; in inet6_csk_route_req()
43 fl6->saddr = ireq->ir_v6_loc_addr; in inet6_csk_route_req()
44 fl6->flowi6_oif = ireq->ir_iif; in inet6_csk_route_req()
45 fl6->flowi6_mark = ireq->ir_mark; in inet6_csk_route_req()
46 fl6->fl6_dport = ireq->ir_rmt_port; in inet6_csk_route_req()
47 fl6->fl6_sport = htons(ireq->ir_num); in inet6_csk_route_req()
Dtcp_ipv6.c529 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_send_synack() local
545 __tcp_v6_send_check(skb, &ireq->ir_v6_loc_addr, in tcp_v6_send_synack()
546 &ireq->ir_v6_rmt_addr); in tcp_v6_send_synack()
548 fl6->daddr = ireq->ir_v6_rmt_addr; in tcp_v6_send_synack()
549 if (inet6_test_bit(REPFLOW, sk) && ireq->pktopts) in tcp_v6_send_synack()
550 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
562 opt = ireq->ipv6_opt; in tcp_v6_send_synack()
796 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_init_req() local
799 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in tcp_v6_init_req()
800 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in tcp_v6_init_req()
[all …]
/linux-6.12.1/net/dccp/
Dipv6.c199 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response() local
209 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response()
210 fl6.saddr = ireq->ir_v6_loc_addr; in dccp_v6_send_response()
212 fl6.flowi6_oif = ireq->ir_iif; in dccp_v6_send_response()
213 fl6.fl6_dport = ireq->ir_rmt_port; in dccp_v6_send_response()
214 fl6.fl6_sport = htons(ireq->ir_num); in dccp_v6_send_response()
235 &ireq->ir_v6_loc_addr, in dccp_v6_send_response()
236 &ireq->ir_v6_rmt_addr); in dccp_v6_send_response()
237 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response()
239 opt = ireq->ipv6_opt; in dccp_v6_send_response()
[all …]
Dipv4.c415 struct inet_request_sock *ireq; in dccp_v4_request_recv_sock() local
427 ireq = inet_rsk(req); in dccp_v4_request_recv_sock()
428 sk_daddr_set(newsk, ireq->ir_rmt_addr); in dccp_v4_request_recv_sock()
429 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in dccp_v4_request_recv_sock()
430 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
431 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock()
447 ireq->ireq_opt = NULL; in dccp_v4_request_recv_sock()
506 const struct inet_request_sock *ireq = inet_rsk(req); in dccp_v4_send_response() local
509 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response()
510 ireq->ir_rmt_addr); in dccp_v4_send_response()
[all …]
/linux-6.12.1/include/trace/events/
Dtcp.h235 struct inet_request_sock *ireq = inet_rsk(req);
241 __entry->sport = ireq->ir_num;
242 __entry->dport = ntohs(ireq->ir_rmt_port);
246 *p32 = ireq->ir_loc_addr;
249 *p32 = ireq->ir_rmt_addr;
251 TP_STORE_ADDRS(__entry, ireq->ir_loc_addr, ireq->ir_rmt_addr,
252 ireq->ir_v6_loc_addr, ireq->ir_v6_rmt_addr);
/linux-6.12.1/drivers/gpio/
Dgpio-virtio.c40 struct virtio_gpio_irq_request ireq ____cacheline_aligned;
208 struct virtio_gpio_irq_request *ireq = &irq_line->ireq; in virtio_gpio_irq_prepare() local
216 ireq->gpio = cpu_to_le16(gpio); in virtio_gpio_irq_prepare()
217 sg_init_one(&req_sg, ireq, sizeof(*ireq)); in virtio_gpio_irq_prepare()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c375 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs() local
387 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs()
402 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
/linux-6.12.1/net/netlabel/
Dnetlabel_kapi.c1215 struct inet_request_sock *ireq = inet_rsk(req); in netlbl_req_setattr() local
1221 ireq->ir_rmt_addr); in netlbl_req_setattr()
1242 &ireq->ir_v6_rmt_addr); in netlbl_req_setattr()

12