Searched refs:fsp (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_fcp.c | 149 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() local 151 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc() 152 if (fsp) { in fc_fcp_pkt_alloc() 153 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc() 154 fsp->lp = lport; in fc_fcp_pkt_alloc() 155 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc() 156 atomic_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc() 157 init_timer(&fsp->timer); in fc_fcp_pkt_alloc() 158 fsp->timer.data = (unsigned long)fsp; in fc_fcp_pkt_alloc() 159 INIT_LIST_HEAD(&fsp->list); in fc_fcp_pkt_alloc() [all …]
|
D | fc_libfc.h | 110 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid); 111 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
|
D | fc_exch.c | 2083 struct fc_fcp_pkt *fsp = NULL; in fc_exch_seq_send() local 2107 fsp = fr_fsp(fp); in fc_exch_seq_send() 2123 if (fsp) in fc_exch_seq_send() 2124 fc_fcp_ddp_done(fsp); in fc_exch_seq_send()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 361 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local 365 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule() 370 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule() 373 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule() 380 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule() 381 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule() 383 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule() 384 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule() 386 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule() 387 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2335 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local 2345 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2349 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2357 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2360 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2363 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2366 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry() 2367 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry() 2368 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2369 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 2049 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() local 2056 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry() 2060 if (!rule || fsp->location != rule->fd_id) in i40e_get_ethtool_fdir_entry() 2063 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry() 2064 if (fsp->flow_type == IP_USER_FLOW) { in i40e_get_ethtool_fdir_entry() 2065 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry() 2066 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry() 2067 fsp->m_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry() 2073 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry() 2074 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | probe-finder.c | 719 struct find_scope_param *fsp = data; in find_best_scope_cb() local 724 if (fsp->file) { in find_best_scope_cb() 726 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb() 730 if (fsp->function) { in find_best_scope_cb() 731 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb() 732 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb() 733 fsp->found = true; in find_best_scope_cb() 739 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb() 741 fsp->diff = fsp->line - lno; in find_best_scope_cb() 742 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb() [all …]
|
/linux-4.4.14/include/scsi/ |
D | libfc.h | 1048 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument 1050 if (fsp && fsp->cmd) in fc_fcp_is_read() 1051 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 7101 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key() argument 7107 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7110 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7113 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7116 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7118 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7120 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7123 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key() 7129 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key() 7133 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4state.c | 6888 nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, struct nfsd4_free_stateid *fsp) in nfsd4_get_freestateid() argument 6890 get_stateid(cstate, &fsp->fr_stateid); in nfsd4_get_freestateid()
|