Searched refs:sfa (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/net/openvswitch/ |
D | flow_netlink.c | 2311 struct sw_flow_actions *sfa; in nla_alloc_flow_actions() local 2315 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions() 2316 if (!sfa) in nla_alloc_flow_actions() 2319 sfa->actions_len = 0; in nla_alloc_flow_actions() 2320 return sfa; in nla_alloc_flow_actions() 2455 static struct nlattr *reserve_sfa_size(struct sw_flow_actions **sfa, in reserve_sfa_size() argument 2463 (*sfa)->actions_len; in reserve_sfa_size() 2465 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2468 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size() 2483 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-6.6.21/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()
|