Searched refs:sfid (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A D | flow.h | 257 static inline bool ovs_identifier_is_ufid(const struct sw_flow_id *sfid) in ovs_identifier_is_ufid() argument 259 return sfid->ufid_len; in ovs_identifier_is_ufid() 262 static inline bool ovs_identifier_is_key(const struct sw_flow_id *sfid) in ovs_identifier_is_key() argument 264 return !ovs_identifier_is_ufid(sfid); in ovs_identifier_is_key()
|
| H A D | datapath.c | 716 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument 718 return ovs_identifier_is_ufid(sfid) && in should_fill_key() 733 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument 741 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size() 742 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size() 747 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size() 884 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument 895 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info() 1178 struct sw_flow_id sfid; in ovs_flow_cmd_set() local 1184 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set() [all …]
|
| H A D | flow_table.c | 896 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument 898 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash() 902 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument 904 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid() 907 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
|
| H A D | flow_netlink.h | 53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
|
| H A D | flow_netlink.c | 1874 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument 1877 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid() 1878 if (sfid->ufid_len) in ovs_nla_get_ufid() 1879 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid() 1881 return sfid->ufid_len; in ovs_nla_get_ufid() 1884 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument 1889 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier() 1897 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | nfsfh.c | 156 struct fid *fid = NULL, sfid; in nfsd_set_fh_dentry() local 256 sfid.i32.ino = fh->ofh_ino; in nfsd_set_fh_dentry() 257 sfid.i32.gen = fh->ofh_generation; in nfsd_set_fh_dentry() 258 sfid.i32.parent_ino = fh->ofh_dirino; in nfsd_set_fh_dentry() 259 fid = &sfid; in nfsd_set_fh_dentry()
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | raw3270.c | 396 char sfid; /* 0x81 if Query Reply */ member
|