Home
last modified time | relevance | path

Searched refs:sfa (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/net/openvswitch/
Dflow_netlink.c2244 struct sw_flow_actions *sfa; in nla_alloc_flow_actions() local
2248 sfa = kmalloc(sizeof(*sfa) + size, GFP_KERNEL); in nla_alloc_flow_actions()
2249 if (!sfa) in nla_alloc_flow_actions()
2252 sfa->actions_len = 0; in nla_alloc_flow_actions()
2253 return sfa; in nla_alloc_flow_actions()
2303 static struct nlattr *reserve_sfa_size(struct sw_flow_actions **sfa, in reserve_sfa_size() argument
2311 (*sfa)->actions_len; in reserve_sfa_size()
2313 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size()
2316 new_acts_size = ksize(*sfa) * 2; in reserve_sfa_size()
2331 memcpy(acts->actions, (*sfa)->actions, (*sfa)->actions_len); in reserve_sfa_size()
[all …]
Dflow_netlink.h73 struct sw_flow_actions **sfa, bool log);
74 int ovs_nla_add_action(struct sw_flow_actions **sfa, int attrtype,
Dconntrack.c1602 struct sw_flow_actions **sfa, bool log) in ovs_ct_copy_action() argument
1637 err = ovs_nla_add_action(sfa, OVS_ACTION_ATTR_CT, &ct_info, in ovs_ct_copy_action()
/Linux-v4.19/fs/btrfs/
Dsysfs.c687 struct btrfs_feature_attr *sfa; in init_feature_attrs() local
690 sfa = attr_to_btrfs_feature_attr(a); in init_feature_attrs()
691 bit = ilog2(sfa->feature_bit); in init_feature_attrs()
692 fa = &btrfs_feature_attrs[sfa->feature_set][bit]; in init_feature_attrs()
694 fa->kobj_attr.attr.name = sfa->kobj_attr.attr.name; in init_feature_attrs()