/kernel/linux/linux-5.10/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 | 219 struct isci_request *ireq = NULL; in isci_task_request_build() local 228 ireq = isci_tmf_request_from_tag(ihost, isci_tmf, tag); in isci_task_request_build() 229 if (!ireq) in isci_task_request_build() 234 ireq); in isci_task_request_build() 248 status = sci_task_request_construct_ssp(ireq); in isci_task_request_build() 253 return ireq; in isci_task_request_build() 262 struct isci_request *ireq; in isci_task_execute_tmf() local 295 ireq = isci_task_request_build(ihost, idev, tag, tmf); in isci_task_execute_tmf() 296 if (!ireq) in isci_task_execute_tmf() 302 status = sci_controller_start_task(ihost, idev, ireq); in isci_task_execute_tmf() [all …]
|
D | host.c | 260 struct isci_request *ireq = ihost->reqs[index]; in sci_controller_task_completion() local 263 if (test_bit(IREQ_ACTIVE, &ireq->flags) && in sci_controller_task_completion() 264 ireq->io_tag != SCI_CONTROLLER_INVALID_IO_TAG && in sci_controller_task_completion() 265 ISCI_TAG_SEQ(ireq->io_tag) == ihost->io_request_sequence[index]) in sci_controller_task_completion() 269 sci_io_request_tc_completion(ireq, ent); in sci_controller_task_completion() 275 struct isci_request *ireq; in sci_controller_sdma_completion() local 283 ireq = ihost->reqs[index]; in sci_controller_sdma_completion() 285 __func__, ent, ireq); in sci_controller_sdma_completion() 371 struct isci_request *ireq; in sci_controller_event_completion() local 403 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 | 752 struct isci_request *ireq) in sci_remote_node_context_start_io() argument 778 struct isci_request *ireq, in sci_remote_node_context_start_task() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | syncookies.c | 131 struct inet_request_sock *ireq; in cookie_v6_check() local 177 ireq = inet_rsk(req); in cookie_v6_check() 185 ireq->ir_rmt_port = th->source; in cookie_v6_check() 186 ireq->ir_num = ntohs(th->dest); in cookie_v6_check() 187 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in cookie_v6_check() 188 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in cookie_v6_check() 193 ireq->pktopts = skb; in cookie_v6_check() 196 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_v6_check() 199 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check() 200 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 | 524 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_send_synack() local 540 __tcp_v6_send_check(skb, &ireq->ir_v6_loc_addr, in tcp_v6_send_synack() 541 &ireq->ir_v6_rmt_addr); in tcp_v6_send_synack() 543 fl6->daddr = ireq->ir_v6_rmt_addr; in tcp_v6_send_synack() 544 if (np->repflow && ireq->pktopts) in tcp_v6_send_synack() 545 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack() 557 opt = ireq->ipv6_opt; in tcp_v6_send_synack() 827 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_init_req() local 830 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in tcp_v6_init_req() 831 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in tcp_v6_init_req() [all …]
|
D | addrconf.c | 2826 struct in6_ifreq *ireq) in addrconf_set_sit_dstaddr() argument 2831 if (!(ipv6_addr_type(&ireq->ifr6_addr) & IPV6_ADDR_COMPATv4)) in addrconf_set_sit_dstaddr() 2834 p.iph.daddr = ireq->ifr6_addr.s6_addr32[3]; in addrconf_set_sit_dstaddr() 2860 struct in6_ifreq ireq; in addrconf_set_dstaddr() local 2865 if (copy_from_user(&ireq, arg, sizeof(struct in6_ifreq))) in addrconf_set_dstaddr() 2869 dev = __dev_get_by_index(net, ireq.ifr6_ifindex); in addrconf_set_dstaddr() 2871 err = addrconf_set_sit_dstaddr(net, dev, &ireq); in addrconf_set_dstaddr() 3038 struct in6_ifreq ireq; in addrconf_add_ifaddr() local 3044 if (copy_from_user(&ireq, arg, sizeof(struct in6_ifreq))) in addrconf_add_ifaddr() 3047 cfg.pfx = &ireq.ifr6_addr; in addrconf_add_ifaddr() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | syncookies.c | 67 struct inet_request_sock *ireq; in cookie_init_timestamp() local 71 ireq = inet_rsk(req); in cookie_init_timestamp() 73 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp() 74 if (ireq->sack_ok) in cookie_init_timestamp() 76 if (ireq->ecn_ok) in cookie_init_timestamp() 327 struct inet_request_sock *ireq; in cookie_v4_check() local 373 ireq = inet_rsk(req); in cookie_v4_check() 380 ireq->ir_num = ntohs(th->dest); in cookie_v4_check() 381 ireq->ir_rmt_port = th->source; in cookie_v4_check() 384 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_v4_check() [all …]
|
D | tcp_minisocks.c | 364 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init_rwin() local 390 mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), in tcp_openreq_init_rwin() 393 ireq->wscale_ok, in tcp_openreq_init_rwin() 396 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin() 440 struct inet_request_sock *ireq; in smc_check_reset_syn_req() local 443 ireq = inet_rsk(req); in smc_check_reset_syn_req() 444 if (oldtp->syn_smc && !ireq->smc_ok) in smc_check_reset_syn_req() 461 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_create_openreq_child() local 509 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child() 510 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child() [all …]
|
D | inet_connection_sock.c | 617 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_req() local 618 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_req() 623 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_req() 625 flowi4_init_output(fl4, ireq->ir_iif, ireq->ir_mark, in inet_csk_route_req() 628 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, in inet_csk_route_req() 629 ireq->ir_loc_addr, ireq->ir_rmt_port, in inet_csk_route_req() 630 htons(ireq->ir_num), sk->sk_uid); in inet_csk_route_req() 653 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_child_sock() local 654 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_child_sock() 660 opt = rcu_dereference(ireq->ireq_opt); in inet_csk_route_child_sock() [all …]
|
D | tcp_ipv4.c | 971 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_send_synack() local 984 __tcp_v4_send_check(skb, ireq->ir_loc_addr, ireq->ir_rmt_addr); in tcp_v4_send_synack() 996 err = ip_build_and_send_pkt(skb, sk, ireq->ir_loc_addr, in tcp_v4_send_synack() 997 ireq->ir_rmt_addr, in tcp_v4_send_synack() 998 rcu_dereference(ireq->ireq_opt), in tcp_v4_send_synack() 1452 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_init_req() local 1457 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(net, skb)); in tcp_v4_init_req() 1519 struct inet_request_sock *ireq; in tcp_v4_syn_recv_sock() local 1543 ireq = inet_rsk(req); in tcp_v4_syn_recv_sock() 1544 sk_daddr_set(newsk, ireq->ir_rmt_addr); in tcp_v4_syn_recv_sock() [all …]
|
D | tcp_output.c | 724 const struct inet_request_sock *ireq, in smc_set_option_cond() argument 730 if (tp->syn_smc && ireq->smc_ok) { in smc_set_option_cond() 849 struct inet_request_sock *ireq = inet_rsk(req); in tcp_synack_options() local 863 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options() 871 if (likely(ireq->wscale_ok)) { in tcp_synack_options() 872 opts->ws = ireq->rcv_wscale; in tcp_synack_options() 876 if (likely(ireq->tstamp_ok)) { in tcp_synack_options() 882 if (likely(ireq->sack_ok)) { in tcp_synack_options() 884 if (unlikely(!ireq->tstamp_ok)) in tcp_synack_options() 902 smc_set_option_cond(tcp_sk(sk), ireq, opts, &remaining); in tcp_synack_options() [all …]
|
D | tcp_input.c | 6561 struct inet_request_sock *ireq = inet_rsk(req); in pr_drop_req() local 6565 &ireq->ir_rmt_addr, port); in pr_drop_req() 6569 &ireq->ir_v6_rmt_addr, port); in pr_drop_req() 6618 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init() local 6627 ireq->tstamp_ok = rx_opt->tstamp_ok; in tcp_openreq_init() 6628 ireq->sack_ok = rx_opt->sack_ok; in tcp_openreq_init() 6629 ireq->snd_wscale = rx_opt->snd_wscale; in tcp_openreq_init() 6630 ireq->wscale_ok = rx_opt->wscale_ok; in tcp_openreq_init() 6631 ireq->acked = 0; in tcp_openreq_init() 6632 ireq->ecn_ok = 0; in tcp_openreq_init() [all …]
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ipv6.c | 190 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response() local 200 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response() 201 fl6.saddr = ireq->ir_v6_loc_addr; in dccp_v6_send_response() 203 fl6.flowi6_oif = ireq->ir_iif; in dccp_v6_send_response() 204 fl6.fl6_dport = ireq->ir_rmt_port; in dccp_v6_send_response() 205 fl6.fl6_sport = htons(ireq->ir_num); in dccp_v6_send_response() 226 &ireq->ir_v6_loc_addr, in dccp_v6_send_response() 227 &ireq->ir_v6_rmt_addr); in dccp_v6_send_response() 228 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response() 230 opt = ireq->ipv6_opt; in dccp_v6_send_response() [all …]
|
D | ipv4.c | 400 struct inet_request_sock *ireq; in dccp_v4_request_recv_sock() local 412 ireq = inet_rsk(req); in dccp_v4_request_recv_sock() 413 sk_daddr_set(newsk, ireq->ir_rmt_addr); in dccp_v4_request_recv_sock() 414 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in dccp_v4_request_recv_sock() 415 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock() 416 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock() 432 ireq->ireq_opt = NULL; in dccp_v4_request_recv_sock() 490 const struct inet_request_sock *ireq = inet_rsk(req); in dccp_v4_send_response() local 493 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response() 494 ireq->ir_rmt_addr); in dccp_v4_send_response() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | tcp.h | 202 struct inet_request_sock *ireq = inet_rsk(req); 208 __entry->sport = ireq->ir_num; 209 __entry->dport = ntohs(ireq->ir_rmt_port); 212 *p32 = ireq->ir_loc_addr; 215 *p32 = ireq->ir_rmt_addr; 217 TP_STORE_ADDRS(__entry, ireq->ir_loc_addr, ireq->ir_rmt_addr, 218 ireq->ir_v6_loc_addr, ireq->ir_v6_rmt_addr);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 295 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs() local 307 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs() 322 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
|
/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_kapi.c | 1189 struct inet_request_sock *ireq = inet_rsk(req); in netlbl_req_setattr() local 1195 ireq->ir_rmt_addr); in netlbl_req_setattr() 1216 &ireq->ir_v6_rmt_addr); in netlbl_req_setattr()
|