| H A D | flow_netlink.c | 2283 struct sw_flow_actions *sfa; in nla_alloc_flow_actions() 2285 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions() local 2286 if (!sfa) in nla_alloc_flow_actions() 2289 sfa->actions_len = 0; in nla_alloc_flow_actions() 2290 return sfa; in nla_alloc_flow_actions() 2425 static struct nlattr *reserve_sfa_size(struct sw_flow_actions **sfa, in ovs_nla_free_flow_actions_rcu() 2433 (*sfa)->actions_len; in reserve_sfa_size() 2435 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2438 new_acts_size = max(next_offset + req_size, ksize(*sfa) * in reserve_sfa_size() 2427 reserve_sfa_size(struct sw_flow_actions ** sfa,int attr_len,bool log) reserve_sfa_size() argument 2457 __add_action(struct sw_flow_actions ** sfa,int attrtype,void * data,int len,bool log) __add_action() argument 2476 ovs_nla_add_action(struct sw_flow_actions ** sfa,int attrtype,void * data,int len,bool log) ovs_nla_add_action() argument 2486 add_nested_action_start(struct sw_flow_actions ** sfa,int attrtype,bool log) add_nested_action_start() argument 2499 add_nested_action_end(struct sw_flow_actions * sfa,int st_offset) add_nested_action_end() argument 2524 ovs_nla_trim(struct sw_flow_actions * sfa,int start,bool nested) ovs_nla_trim() argument 2560 validate_and_copy_sample(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,__be16 eth_type,__be16 vlan_tci,u32 mpls_label_count,bool log,bool last,u32 depth) validate_and_copy_sample() argument 2638 validate_and_copy_dec_ttl(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,__be16 eth_type,__be16 vlan_tci,u32 mpls_label_count,bool log,u32 depth) validate_and_copy_dec_ttl() argument 2710 validate_and_copy_clone(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,__be16 eth_type,__be16 vlan_tci,u32 mpls_label_count,bool log,bool last,u32 depth) validate_and_copy_clone() argument 2801 validate_and_copy_set_tun(const struct nlattr * attr,struct sw_flow_actions ** sfa,bool log) validate_and_copy_set_tun() argument 2921 validate_set(const struct nlattr * a,const struct sw_flow_key * flow_key,struct sw_flow_actions ** sfa,bool * skip_copy,u8 mac_proto,__be16 eth_type,bool masked,bool log) validate_set() argument 3126 validate_and_copy_check_pkt_len(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,__be16 eth_type,__be16 vlan_tci,u32 mpls_label_count,bool log,bool last,u32 depth) validate_and_copy_check_pkt_len() argument 3247 copy_action(const struct nlattr * from,struct sw_flow_actions ** sfa,bool log) copy_action() argument 3262 __ovs_nla_copy_actions(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,__be16 eth_type,__be16 vlan_tci,u32 mpls_label_count,bool log,u32 depth) __ovs_nla_copy_actions() argument 3606 ovs_nla_copy_actions(struct net * net,const struct nlattr * attr,const struct sw_flow_key * key,struct sw_flow_actions ** sfa,bool log) ovs_nla_copy_actions() argument [all...] |