Searched refs:sfa (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/net/openvswitch/ |
D | flow_netlink.c | 2310 struct sw_flow_actions *sfa; in nla_alloc_flow_actions() local 2314 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions() 2315 if (!sfa) in nla_alloc_flow_actions() 2318 sfa->actions_len = 0; in nla_alloc_flow_actions() 2319 return sfa; in nla_alloc_flow_actions() 2454 static struct nlattr *reserve_sfa_size(struct sw_flow_actions **sfa, in reserve_sfa_size() argument 2462 (*sfa)->actions_len; in reserve_sfa_size() 2464 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2467 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size() 2482 memcpy(acts->actions, (*sfa)->actions, (*sfa)->actions_len); in reserve_sfa_size() [all …]
|
D | flow_netlink.h | 59 struct sw_flow_actions **sfa, bool log); 60 int ovs_nla_add_action(struct sw_flow_actions **sfa, int attrtype,
|
D | conntrack.c | 1350 struct sw_flow_actions **sfa, bool log) in ovs_ct_copy_action() argument 1400 err = ovs_nla_add_action(sfa, OVS_ACTION_ATTR_CT, &ct_info, in ovs_ct_copy_action()
|
/Linux-v6.6/fs/btrfs/ |
D | sysfs.c | 1527 struct btrfs_feature_attr *sfa; in init_feature_attrs() local 1530 sfa = attr_to_btrfs_feature_attr(a); in init_feature_attrs() 1531 bit = ilog2(sfa->feature_bit); in init_feature_attrs() 1532 fa = &btrfs_feature_attrs[sfa->feature_set][bit]; in init_feature_attrs() 1534 fa->kobj_attr.attr.name = sfa->kobj_attr.attr.name; in init_feature_attrs()
|