/linux-master/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 134 struct fc_fcp_pkt *fsp; local 136 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); 137 if (fsp) { 138 memset(fsp, 0, sizeof(*fsp)); 139 fsp->lp = lport; 140 fsp->xfer_ddp = FC_XID_UNKNOWN; 141 refcount_set(&fsp->ref_cnt, 1); 142 timer_setup(&fsp->timer, NULL, 0); 143 INIT_LIST_HEAD(&fsp 158 fc_fcp_pkt_release(struct fc_fcp_pkt *fsp) argument 171 fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp) argument 187 fc_fcp_pkt_destroy(struct fc_seq *seq, void *fsp) argument 209 fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp) argument 226 fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp) argument 237 fc_fcp_timer_set(struct fc_fcp_pkt *fsp, unsigned long delay) argument 245 fc_fcp_abort_done(struct fc_fcp_pkt *fsp) argument 261 fc_fcp_send_abort(struct fc_fcp_pkt *fsp) argument 298 fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp, int status_code) argument 316 fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) argument 334 fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) argument 457 get_fsp_rec_tov(struct fc_fcp_pkt *fsp) argument 472 fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 589 fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, size_t offset, size_t seq_blen) argument 736 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 775 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; local 848 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 978 fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) argument 1041 fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error) argument 1063 struct fc_fcp_pkt *fsp; local 1129 fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) argument 1162 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) argument 1215 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1244 fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) argument 1286 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); local 1308 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) argument 1364 struct fc_fcp_pkt *fsp = arg; local 1419 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); local 1455 fc_fcp_rec(struct fc_fcp_pkt *fsp) argument 1506 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; local 1648 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1692 fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) argument 1714 fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset) argument 1770 struct fc_fcp_pkt *fsp = arg; local 1815 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1861 struct fc_fcp_pkt *fsp; local 1951 fc_io_compl(struct fc_fcp_pkt *fsp) argument 2098 struct fc_fcp_pkt *fsp; local 2152 struct fc_fcp_pkt *fsp; local [all...] |
H A D | fc_libfc.h | 98 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid); 99 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
|
H A D | fc_exch.c | 2186 struct fc_fcp_pkt *fsp = NULL; local 2210 fsp = fr_fsp(fp); 2226 if (fsp) 2227 fc_fcp_ddp_done(fsp);
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 97 struct ethtool_rx_flow_spec *fsp = &cmd->fs; local 104 rule = tsnep_get_rule(adapter, fsp->location); 111 fsp->flow_type = ETHER_FLOW; 112 fsp->ring_cookie = rule->queue_index; 115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type); 116 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 172 const struct ethtool_rx_flow_spec *fsp) 176 rule->queue_index = fsp->ring_cookie; 177 rule->location = fsp->location; 180 rule->filter.ether_type = ntohs(fsp 171 tsnep_rxnfc_init_rule(struct tsnep_rxnfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) argument 205 struct ethtool_rx_flow_spec *fsp = local 272 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 9 aq_rule_is_approve(struct ethtool_rx_flow_spec *fsp) argument 11 if (fsp->flow_type & FLOW_MAC_EXT) 14 switch (fsp->flow_type & ~FLOW_EXT) { 26 switch (fsp->h_u.usr_ip4_spec.proto) { 36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { 68 struct ethtool_rx_flow_spec *fsp) 76 if (rule->aq_fsp.location == fsp->location) 78 if (aq_match_filter(&rule->aq_fsp, fsp)) { 90 struct ethtool_rx_flow_spec *fsp) 95 if (fsp 67 aq_rule_already_exists(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) argument 88 aq_check_approve_fl3l4(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) argument 125 aq_check_approve_fl2(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) argument 152 aq_check_approve_fvlan(struct aq_nic_s *aq_nic, struct aq_hw_rx_fltrs_s *rx_fltrs, struct ethtool_rx_flow_spec *fsp) argument 185 aq_check_filter(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) argument 234 aq_rule_is_not_support(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) argument 264 aq_rule_is_not_correct(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) argument 293 aq_check_rule(struct aq_nic_s *aq_nic, struct ethtool_rx_flow_spec *fsp) argument 312 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; local 405 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; local 474 const struct ethtool_rx_flow_spec *fsp = &aq_rx_fltr->aq_fsp; local 682 struct ethtool_rx_flow_spec *fsp = local 743 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 985 * @fsp: pointer to ethtool Rx flow specification 991 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, argument 997 if (!(fsp->flow_type & FLOW_EXT)) 1005 u32 value = be32_to_cpu(fsp->h_ext.data[i]); 1006 u32 mask = be32_to_cpu(fsp->m_ext.data[i]); 1032 * @fsp: pointer to ethtool Rx flow specification 1036 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, argument 1042 fsp->flow_type |= FLOW_EXT; 1044 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp 1059 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; local 1236 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, struct iavf_fdir_fltr *fltr) argument 1392 struct ethtool_rx_flow_spec *fsp = &cmd->fs; local 1464 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; local [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 118 struct ethtool_rx_flow_spec *fsp; local 123 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; 127 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); 129 if (!rule || fsp->location != rule->fltr_id) { 134 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); 136 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); 137 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); 139 switch (fsp 477 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *data) argument 1205 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, struct ice_rx_flow_userdef *user) argument 1631 struct ethtool_rx_flow_spec *fsp = local 1696 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct ice_fdir_fltr *input) argument 1844 struct ethtool_rx_flow_spec *fsp; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 528 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, argument 532 struct ethtool_usrip4_spec *ipv4_usr_mask = &fsp->m_u.usr_ip4_spec; 533 struct ethtool_usrip4_spec *ipv4_usr_hdr = &fsp->h_u.usr_ip4_spec; 534 struct ethtool_tcpip4_spec *ipv4_l4_mask = &fsp->m_u.tcp_ip4_spec; 535 struct ethtool_tcpip4_spec *ipv4_l4_hdr = &fsp->h_u.tcp_ip4_spec; 536 struct ethtool_ah_espip4_spec *ah_esp_hdr = &fsp->h_u.ah_ip4_spec; 537 struct ethtool_ah_espip4_spec *ah_esp_mask = &fsp->m_u.ah_ip4_spec; 687 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, argument 691 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; 692 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp 813 otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, struct npc_install_flow_req *req) argument 940 otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, struct ethtool_rx_flow_spec *fsp) argument 1086 struct ethtool_rx_flow_spec *fsp = &nfc->fs; local [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 963 struct ethtool_rx_flow_spec *fsp = &cmd->fs; local 970 rule = igc_get_nfc_rule(adapter, fsp->location); 974 fsp->flow_type = ETHER_FLOW; 975 fsp->ring_cookie = rule->action; 978 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); 979 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 983 fsp->flow_type |= FLOW_EXT; 984 fsp->h_ext.vlan_etype = htons(rule->filter.vlan_etype); 985 fsp->m_ext.vlan_etype = ETHER_TYPE_FULL_MASK; 989 fsp 1216 igc_ethtool_init_nfc_rule(struct igc_nfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) argument 1326 struct ethtool_rx_flow_spec *fsp = local 1403 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 414 struct ethtool_rx_flow_spec *fsp = local 418 n = htbl_fltr_search(enic, (u16)fsp->location); 423 fsp->flow_type = TCP_V4_FLOW; 426 fsp->flow_type = UDP_V4_FLOW; 432 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); 433 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; 435 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); 436 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; 438 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; 439 fsp [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 3244 * @fsp: pointer to rx flow specification 3261 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, argument 3270 if (!(fsp->flow_type & FLOW_EXT)) 3273 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); 3274 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); 3295 * @fsp: pointer to rx_flow specification 3301 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, argument 3313 fsp->flow_type |= FLOW_EXT; 3315 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); 3316 *((__be64 *)fsp 3368 struct ethtool_rx_flow_spec *fsp = local 3881 struct ethtool_rx_flow_spec *fsp = local 4148 i40e_flow_str(struct ethtool_rx_flow_spec *fsp) argument 4298 i40e_check_fdir_input_set(struct i40e_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct i40e_rx_flow_userdef *userdef) argument 4805 struct ethtool_rx_flow_spec *fsp; local [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2538 struct ethtool_rx_flow_spec *fsp = local 2548 if (fsp->location <= rule->sw_idx) 2552 if (!rule || fsp->location != rule->sw_idx) 2560 fsp->flow_type = TCP_V4_FLOW; 2563 fsp->flow_type = UDP_V4_FLOW; 2566 fsp->flow_type = SCTP_V4_FLOW; 2569 fsp->flow_type = IP_USER_FLOW; 2570 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; 2571 fsp->h_u.usr_ip4_spec.proto = 0; 2572 fsp 2766 ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, u8 *flow_type) argument 2810 struct ethtool_rx_flow_spec *fsp = local 2940 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 1320 struct ethtool_rx_flow_spec *fsp = &cmd->fs; local 1334 fsp->location); 1337 fsp->location); 1344 fsp->flow_type = TCP_V4_FLOW; 1346 fsp->flow_type = UDP_V4_FLOW; 1348 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; 1349 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; 1350 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; 1351 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; 1354 fsp 2017 struct ethtool_rx_flow_spec *fsp = &info->fs; local [all...] |
/linux-master/tools/perf/util/ |
H A D | probe-finder.c | 642 struct find_scope_param *fsp = data; local 647 if (fsp->file) { 649 if (!file || strcmp(fsp->file, file) != 0) 653 if (fsp->function) { 654 if (die_match_name(fn_die, fsp->function)) { 655 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); 656 fsp->found = true; 662 if (lno < fsp->line && fsp->diff > fsp 675 struct find_scope_param *fsp = data; local 685 struct find_scope_param fsp = { local [all...] |
/linux-master/include/scsi/ |
H A D | libfc.h | 355 * @fsp should be tested and set under the scsi_pkt_queue lock 358 struct fc_fcp_pkt *fsp; member in struct:libfc_cmd_priv 554 * Send a fcp cmd from fsp pkt. 887 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) argument 889 if (fsp && fsp->cmd) 890 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE;
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2439 struct ethtool_rx_flow_spec *fsp = &cmd->fs; local 2446 if (fsp->location <= rule->sw_idx) 2450 if (!rule || fsp->location != rule->sw_idx) 2454 fsp->flow_type = ETHER_FLOW; 2455 fsp->ring_cookie = rule->action; 2457 fsp->h_u.ether_spec.h_proto = rule->filter.etype; 2458 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 2461 fsp->flow_type |= FLOW_EXT; 2462 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; 2463 fsp 2901 struct ethtool_rx_flow_spec *fsp = local 2997 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/hwmon/pmbus/ |
H A D | Makefile | 14 obj-$(CONFIG_SENSORS_FSP_3Y) += fsp-3y.o
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | restrack.c | 139 struct t4_swsqe *fsp = NULL, *lsp = NULL; local 162 fsp = &first_sqe; 176 if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp))
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | niu.c | 7093 struct ethtool_rx_flow_spec *fsp) 7099 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); 7102 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); 7105 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); 7108 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); 7110 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> 7112 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> 7115 switch (fsp->flow_type) { 7121 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); 7125 fsp 7092 niu_get_ip4fs_from_tcam_key(struct niu_tcam_entry *tp, struct ethtool_rx_flow_spec *fsp) argument 7173 struct ethtool_rx_flow_spec *fsp = &nfc->fs; local 7359 niu_get_tcamkey_from_ip4fs(struct ethtool_rx_flow_spec *fsp, struct niu_tcam_entry *tp, int l2_rdc_tab, u64 class) argument 7432 struct ethtool_rx_flow_spec *fsp = &nfc->fs; local [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 2906 struct ethtool_rx_flow_spec *fsp = local 2912 if ((fsp->flow_type != TCP_V4_FLOW) || 2913 (!fsp->h_u.tcp_ip4_spec.ip4dst) || 2914 (fsp->location > 1)) 2917 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); 2918 hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location; 2922 mtk_hwlro_val_ipaddr(eth, hwlro_idx, mac->hwlro_ip[fsp->location]); 2930 struct ethtool_rx_flow_spec *fsp = local 2936 if (fsp 2969 struct ethtool_rx_flow_spec *fsp = local [all...] |
/linux-master/drivers/scsi/ |
H A D | scsi_debug.c | 3389 u8 *fsp; local 3406 fsp = sip->storep; 3413 fsp + (block * sdebug_sector_size), 3420 fsp, rest * sdebug_sector_size, 3451 u8 *fsp = sip->storep; local 3457 res = !memcmp(fsp + (block * lb_size), arr, (num - rest) * lb_size); 3461 res = memcmp(fsp, arr + ((num - rest) * lb_size), 3468 memcpy(fsp + (block * lb_size), arr, (num - rest) * lb_size); 3470 memcpy(fsp, arr + ((num - rest) * lb_size), rest * lb_size); 3935 u8 *fsp local 4279 u8 *fsp; local 4684 u8 *fsp = sip->storep; local [all...] |