Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/net/openvswitch/
Dflow.h203 static inline bool ovs_identifier_is_ufid(const struct sw_flow_id *sfid) in ovs_identifier_is_ufid() argument
205 return sfid->ufid_len; in ovs_identifier_is_ufid()
208 static inline bool ovs_identifier_is_key(const struct sw_flow_id *sfid) in ovs_identifier_is_key() argument
210 return !ovs_identifier_is_ufid(sfid); in ovs_identifier_is_key()
Dflow_table.c534 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument
536 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash()
540 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument
542 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid()
545 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
Ddatapath.c706 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument
708 return ovs_identifier_is_ufid(sfid) && in should_fill_key()
723 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument
729 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size()
730 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size()
733 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size()
867 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument
878 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
1101 struct sw_flow_id sfid; in ovs_flow_cmd_set() local
1114 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set()
[all …]
Dflow_netlink.h63 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
Dflow_netlink.c1342 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument
1345 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid()
1346 if (sfid->ufid_len) in ovs_nla_get_ufid()
1347 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid()
1349 return sfid->ufid_len; in ovs_nla_get_ufid()
1352 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument
1357 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier()
1365 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
/linux-4.4.14/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.4.14/drivers/s390/char/
Draw3270.c442 char sfid; /* 0x81 if Query Reply */ member