H A D | flow_netlink.c | 2309 struct sw_flow_actions *sfa; in nla_alloc_flow_actions() 2311 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions() local 2312 if (!sfa) in nla_alloc_flow_actions() 2315 sfa->actions_len = 0; in nla_alloc_flow_actions() 2316 return sfa; in nla_alloc_flow_actions() 2451 static struct nlattr *reserve_sfa_size(struct sw_flow_actions **sfa, in ovs_nla_free_flow_actions_rcu() 2459 (*sfa)->actions_len; in reserve_sfa_size() 2461 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2464 new_acts_size = max(next_offset + req_size, ksize(*sfa) * in reserve_sfa_size() 2455 reserve_sfa_size(struct sw_flow_actions ** sfa,int attr_len,bool log) reserve_sfa_size() argument 2494 __add_action(struct sw_flow_actions ** sfa,int attrtype,void * data,int len,bool log) __add_action() argument 2513 ovs_nla_add_action(struct sw_flow_actions ** sfa,int attrtype,void * data,int len,bool log) ovs_nla_add_action() argument 2523 add_nested_action_start(struct sw_flow_actions ** sfa,int attrtype,bool log) add_nested_action_start() argument 2536 add_nested_action_end(struct sw_flow_actions * sfa,int st_offset) add_nested_action_end() argument 2554 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 2622 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 2681 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 2761 validate_and_copy_set_tun(const struct nlattr * attr,struct sw_flow_actions ** sfa,bool log) validate_and_copy_set_tun() argument 2870 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 3071 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 3148 copy_action(const struct nlattr * from,struct sw_flow_actions ** sfa,bool log) copy_action() argument 3163 __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 3500 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...] |