Home
last modified time | relevance | path

Searched refs:sfid (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/staging/gdm72xx/
Dgdm_qos.c303 static int get_csr(struct qos_cb_s *qcb, u32 sfid, int mode) in get_csr() argument
308 if (qcb->csr[i].sfid == sfid) in get_csr()
332 u32 sfid; in gdm_recv_qos_hci_packet() local
345 sfid = ((buf[(i*5)+6]<<24)&0xff000000); in gdm_recv_qos_hci_packet()
346 sfid += ((buf[(i*5)+7]<<16)&0xff0000); in gdm_recv_qos_hci_packet()
347 sfid += ((buf[(i*5)+8]<<8)&0xff00); in gdm_recv_qos_hci_packet()
348 sfid += (buf[(i*5)+9]); in gdm_recv_qos_hci_packet()
349 index = get_csr(qcb, sfid, 0); in gdm_recv_qos_hci_packet()
366 sfid = ((buf[pos++]<<24)&0xff000000); in gdm_recv_qos_hci_packet()
367 sfid += ((buf[pos++]<<16)&0xff0000); in gdm_recv_qos_hci_packet()
[all …]
Dgdm_qos.h36 u32 sfid; member
/linux-4.1.27/net/openvswitch/
Dflow.h258 static inline bool ovs_identifier_is_ufid(const struct sw_flow_id *sfid) in ovs_identifier_is_ufid() argument
260 return sfid->ufid_len; in ovs_identifier_is_ufid()
263 static inline bool ovs_identifier_is_key(const struct sw_flow_id *sfid) in ovs_identifier_is_key() argument
265 return !ovs_identifier_is_ufid(sfid); in ovs_identifier_is_key()
Dflow_table.c532 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument
534 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash()
538 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument
540 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid()
543 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
Ddatapath.c663 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument
665 return ovs_identifier_is_ufid(sfid) && in should_fill_key()
680 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument
686 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size()
687 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size()
690 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size()
824 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument
835 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
1055 struct sw_flow_id sfid; in ovs_flow_cmd_set() local
1068 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set()
[all …]
Dflow_netlink.h61 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
Dflow_netlink.c1205 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument
1208 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid()
1209 if (sfid->ufid_len) in ovs_nla_get_ufid()
1210 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid()
1212 return sfid->ufid_len; in ovs_nla_get_ufid()
1215 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument
1220 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier()
1228 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
/linux-4.1.27/fs/nfsd/
Dnfsfh.c138 struct fid *fid = NULL, sfid; in nfsd_set_fh_dentry() local
235 sfid.i32.ino = fh->ofh_ino; in nfsd_set_fh_dentry()
236 sfid.i32.gen = fh->ofh_generation; in nfsd_set_fh_dentry()
237 sfid.i32.parent_ino = fh->ofh_dirino; in nfsd_set_fh_dentry()
238 fid = &sfid; in nfsd_set_fh_dentry()
/linux-4.1.27/drivers/s390/char/
Draw3270.c442 char sfid; /* 0x81 if Query Reply */ member