Home
last modified time | relevance | path

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

/linux-3.4.99/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.c1989 struct fc_fcp_pkt *fsp = NULL; in fc_exch_seq_send() local
2013 fsp = fr_fsp(fp); in fc_exch_seq_send()
2029 if (fsp) in fc_exch_seq_send()
2030 fc_fcp_ddp_done(fsp); in fc_exch_seq_send()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2243 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local
2253 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2257 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2265 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2268 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2271 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2274 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2275 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2276 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2277 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
[all …]
/linux-3.4.99/tools/perf/util/
Dprobe-finder.c776 struct find_scope_param *fsp = data; in find_best_scope_cb() local
781 if (fsp->file) { in find_best_scope_cb()
783 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
787 if (fsp->function) { in find_best_scope_cb()
788 if (die_compare_name(fn_die, fsp->function)) { in find_best_scope_cb()
789 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
790 fsp->found = true; in find_best_scope_cb()
796 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb()
798 fsp->diff = fsp->line - lno; in find_best_scope_cb()
799 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
[all …]
/linux-3.4.99/include/scsi/
Dlibfc.h1034 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument
1036 if (fsp && fsp->cmd) in fc_fcp_is_read()
1037 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()
/linux-3.4.99/drivers/net/ethernet/sun/
Dniu.c7104 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key() argument
7110 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7113 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7116 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7119 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7121 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()
7123 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()
7126 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key()
7132 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7136 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
[all …]
/linux-3.4.99/fs/nfsd/
Dnfs4state.c4864 nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, struct nfsd4_free_stateid *fsp) in nfsd4_get_freestateid() argument
4866 get_stateid(cstate, &fsp->fr_stateid); in nfsd4_get_freestateid()