/Linux-v6.6/drivers/scsi/isci/ |
D | request.c | 74 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 …]
|
D | request.h | 152 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 …]
|
D | remote_device.c | 105 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 …]
|
D | task.c | 164 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 status = sci_task_request_construct_ssp(ireq); in isci_task_request_build() 251 return ireq; in isci_task_request_build() 260 struct isci_request *ireq; in isci_task_execute_tmf() local [all …]
|
D | host.c | 258 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 …]
|
D | remote_device.h | 324 struct isci_request *ireq); 329 struct isci_request *ireq); 334 struct isci_request *ireq); 374 struct isci_request *ireq); 379 struct isci_request *ireq);
|
D | host.h | 472 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);
|
D | remote_node_context.h | 221 struct isci_request *ireq, 225 struct isci_request *ireq);
|
D | port.h | 247 struct isci_request *ireq); 252 struct isci_request *ireq);
|
D | remote_node_context.c | 745 struct isci_request *ireq) in sci_remote_node_context_start_io() argument 771 struct isci_request *ireq, in sci_remote_node_context_start_task() argument
|
/Linux-v6.6/net/ipv6/ |
D | syncookies.c | 131 struct inet_request_sock *ireq; in cookie_v6_check() local 179 ireq = inet_rsk(req); in cookie_v6_check() 187 ireq->ir_rmt_port = th->source; in cookie_v6_check() 188 ireq->ir_num = ntohs(th->dest); in cookie_v6_check() 189 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in cookie_v6_check() 190 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in cookie_v6_check() 195 ireq->pktopts = skb; in cookie_v6_check() 198 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_v6_check() 201 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check() 202 ireq->ir_iif = tcp_v6_iif(skb); in cookie_v6_check() [all …]
|
D | inet6_connection_sock.c | 32 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()
|
D | tcp_ipv6.c | 531 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_send_synack() local 547 __tcp_v6_send_check(skb, &ireq->ir_v6_loc_addr, in tcp_v6_send_synack() 548 &ireq->ir_v6_rmt_addr); in tcp_v6_send_synack() 550 fl6->daddr = ireq->ir_v6_rmt_addr; in tcp_v6_send_synack() 551 if (np->repflow && ireq->pktopts) in tcp_v6_send_synack() 552 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack() 564 opt = ireq->ipv6_opt; in tcp_v6_send_synack() 785 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_init_req() local 788 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in tcp_v6_init_req() 789 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in tcp_v6_init_req() [all …]
|
/Linux-v6.6/net/ipv4/ |
D | syncookies.c | 65 struct inet_request_sock *ireq; in cookie_init_timestamp() local 69 ireq = inet_rsk(req); in cookie_init_timestamp() 71 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp() 72 if (ireq->sack_ok) in cookie_init_timestamp() 74 if (ireq->ecn_ok) in cookie_init_timestamp() 329 struct inet_request_sock *ireq; in cookie_v4_check() local 377 ireq = inet_rsk(req); in cookie_v4_check() 384 ireq->ir_num = ntohs(th->dest); in cookie_v4_check() 385 ireq->ir_rmt_port = th->source; in cookie_v4_check() 388 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_v4_check() [all …]
|
D | tcp_minisocks.c | 394 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init_rwin() local 420 mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), in tcp_openreq_init_rwin() 423 ireq->wscale_ok, in tcp_openreq_init_rwin() 426 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin() 470 struct inet_request_sock *ireq; in smc_check_reset_syn_req() local 473 ireq = inet_rsk(req); in smc_check_reset_syn_req() 474 if (oldtp->syn_smc && !ireq->smc_ok) in smc_check_reset_syn_req() 491 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_create_openreq_child() local 540 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child() 541 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child() [all …]
|
D | inet_connection_sock.c | 789 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_req() local 790 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_req() 795 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_req() 797 flowi4_init_output(fl4, ireq->ir_iif, ireq->ir_mark, in inet_csk_route_req() 800 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, in inet_csk_route_req() 801 ireq->ir_loc_addr, ireq->ir_rmt_port, in inet_csk_route_req() 802 htons(ireq->ir_num), sk->sk_uid); in inet_csk_route_req() 825 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_child_sock() local 826 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_child_sock() 832 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_child_sock() [all …]
|
D | tcp_ipv4.c | 1012 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_send_synack() local 1025 __tcp_v4_send_check(skb, ireq->ir_loc_addr, ireq->ir_rmt_addr); in tcp_v4_send_synack() 1037 err = ip_build_and_send_pkt(skb, sk, ireq->ir_loc_addr, in tcp_v4_send_synack() 1038 ireq->ir_rmt_addr, in tcp_v4_send_synack() 1039 rcu_dereference(ireq->ireq_opt), in tcp_v4_send_synack() 1490 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_init_req() local 1495 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(net, skb)); in tcp_v4_init_req() 1562 struct inet_request_sock *ireq; in tcp_v4_syn_recv_sock() local 1586 ireq = inet_rsk(req); in tcp_v4_syn_recv_sock() 1587 sk_daddr_set(newsk, ireq->ir_rmt_addr); in tcp_v4_syn_recv_sock() [all …]
|
D | tcp_output.c | 733 const struct inet_request_sock *ireq, in smc_set_option_cond() argument 739 if (tp->syn_smc && ireq->smc_ok) { in smc_set_option_cond() 858 struct inet_request_sock *ireq = inet_rsk(req); in tcp_synack_options() local 872 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options() 880 if (likely(ireq->wscale_ok)) { in tcp_synack_options() 881 opts->ws = ireq->rcv_wscale; in tcp_synack_options() 885 if (likely(ireq->tstamp_ok)) { in tcp_synack_options() 891 if (likely(ireq->sack_ok)) { in tcp_synack_options() 893 if (unlikely(!ireq->tstamp_ok)) in tcp_synack_options() 911 smc_set_option_cond(tcp_sk(sk), ireq, opts, &remaining); in tcp_synack_options() [all …]
|
D | tcp_input.c | 6754 struct inet_request_sock *ireq = inet_rsk(req); in pr_drop_req() local 6758 &ireq->ir_rmt_addr, port); in pr_drop_req() 6762 &ireq->ir_v6_rmt_addr, port); in pr_drop_req() 6811 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init() local 6820 ireq->tstamp_ok = rx_opt->tstamp_ok; in tcp_openreq_init() 6821 ireq->sack_ok = rx_opt->sack_ok; in tcp_openreq_init() 6822 ireq->snd_wscale = rx_opt->snd_wscale; in tcp_openreq_init() 6823 ireq->wscale_ok = rx_opt->wscale_ok; in tcp_openreq_init() 6824 ireq->acked = 0; in tcp_openreq_init() 6825 ireq->ecn_ok = 0; in tcp_openreq_init() [all …]
|
/Linux-v6.6/net/dccp/ |
D | ipv6.c | 198 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response() local 208 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response() 209 fl6.saddr = ireq->ir_v6_loc_addr; in dccp_v6_send_response() 211 fl6.flowi6_oif = ireq->ir_iif; in dccp_v6_send_response() 212 fl6.fl6_dport = ireq->ir_rmt_port; in dccp_v6_send_response() 213 fl6.fl6_sport = htons(ireq->ir_num); in dccp_v6_send_response() 234 &ireq->ir_v6_loc_addr, in dccp_v6_send_response() 235 &ireq->ir_v6_rmt_addr); in dccp_v6_send_response() 236 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response() 238 opt = ireq->ipv6_opt; in dccp_v6_send_response() [all …]
|
D | ipv4.c | 414 struct inet_request_sock *ireq; in dccp_v4_request_recv_sock() local 426 ireq = inet_rsk(req); in dccp_v4_request_recv_sock() 427 sk_daddr_set(newsk, ireq->ir_rmt_addr); in dccp_v4_request_recv_sock() 428 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in dccp_v4_request_recv_sock() 429 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock() 430 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock() 446 ireq->ireq_opt = NULL; in dccp_v4_request_recv_sock() 505 const struct inet_request_sock *ireq = inet_rsk(req); in dccp_v4_send_response() local 508 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response() 509 ireq->ir_rmt_addr); in dccp_v4_send_response() [all …]
|
/Linux-v6.6/include/trace/events/ |
D | tcp.h | 209 struct inet_request_sock *ireq = inet_rsk(req); 215 __entry->sport = ireq->ir_num; 216 __entry->dport = ntohs(ireq->ir_rmt_port); 220 *p32 = ireq->ir_loc_addr; 223 *p32 = ireq->ir_rmt_addr; 225 TP_STORE_ADDRS(__entry, ireq->ir_loc_addr, ireq->ir_rmt_addr, 226 ireq->ir_v6_loc_addr, ireq->ir_v6_rmt_addr);
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-virtio.c | 40 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-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 336 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs() local 348 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs() 363 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
|
/Linux-v6.6/net/netlabel/ |
D | netlabel_kapi.c | 1190 struct inet_request_sock *ireq = inet_rsk(req); in netlbl_req_setattr() local 1196 ireq->ir_rmt_addr); in netlbl_req_setattr() 1217 &ireq->ir_v6_rmt_addr); in netlbl_req_setattr()
|