Home
last modified time | relevance | path

Searched refs:fsp (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/scsi/libfc/
Dfc_fcp.c149 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 …]
Dfc_libfc.h110 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid);
111 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
Dfc_exch.c2083 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.1.27/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c344 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local
348 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule()
353 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule()
356 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule()
363 fsp->h_u.tcp_ip4_spec.ip4src = n->keys.src; in enic_grxclsrule()
364 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()
366 fsp->h_u.tcp_ip4_spec.ip4dst = n->keys.dst; in enic_grxclsrule()
367 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
369 fsp->h_u.tcp_ip4_spec.psrc = n->keys.port16[0]; in enic_grxclsrule()
370 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2330 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local
2340 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2344 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2352 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2355 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2358 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2361 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2362 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2363 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2364 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1882 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() local
1889 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry()
1893 if (!rule || fsp->location != rule->fd_id) in i40e_get_ethtool_fdir_entry()
1896 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry()
1897 if (fsp->flow_type == IP_USER_FLOW) { in i40e_get_ethtool_fdir_entry()
1898 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
1899 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()
1900 fsp->m_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()
1906 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
1907 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
[all …]
/linux-4.1.27/tools/perf/util/
Dprobe-finder.c710 struct find_scope_param *fsp = data; in find_best_scope_cb() local
715 if (fsp->file) { in find_best_scope_cb()
717 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
721 if (fsp->function) { in find_best_scope_cb()
722 if (die_compare_name(fn_die, fsp->function)) { in find_best_scope_cb()
723 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
724 fsp->found = true; in find_best_scope_cb()
730 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb()
732 fsp->diff = fsp->line - lno; in find_best_scope_cb()
733 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
[all …]
/linux-4.1.27/include/scsi/
Dlibfc.h1048 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.1.27/drivers/net/ethernet/sun/
Dniu.c7103 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key() argument
7109 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7112 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7115 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7118 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7120 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()
7122 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()
7125 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key()
7131 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7135 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
[all …]
/linux-4.1.27/fs/nfsd/
Dnfs4state.c6809 nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, struct nfsd4_free_stateid *fsp) in nfsd4_get_freestateid() argument
6811 get_stateid(cstate, &fsp->fr_stateid); in nfsd4_get_freestateid()