| H A D | shaper.c | 31 struct net_shaper_binding binding; member 38 return &((struct net_shaper_nl_ctx *)ctx)->binding; in net_shaper_binding_from_ctx() 42 net_shaper_hierarchy(struct net_shaper_binding *binding) in net_shaper_hierarchy() argument 45 if (binding->type == NET_SHAPER_BINDING_TYPE_NETDEV) in net_shaper_hierarchy() 46 return READ_ONCE(binding->netdev->net_shaper_hierarchy); in net_shaper_hierarchy() 53 net_shaper_hierarchy_rcu(struct net_shaper_binding *binding) in net_shaper_hierarchy_rcu() argument 59 if (binding->type == NET_SHAPER_BINDING_TYPE_NETDEV && in net_shaper_hierarchy_rcu() 60 READ_ONCE(binding->netdev->reg_state) <= NETREG_REGISTERED) in net_shaper_hierarchy_rcu() 61 return READ_ONCE(binding->netdev->net_shaper_hierarchy); in net_shaper_hierarchy_rcu() 68 net_shaper_ops(struct net_shaper_binding *binding) in net_shaper_ops() argument 102 net_shaper_fill_binding(struct sk_buff * msg,const struct net_shaper_binding * binding,u32 type) net_shaper_fill_binding() argument 162 net_shaper_fill_one(struct sk_buff * msg,const struct net_shaper_binding * binding,const struct net_shaper * shaper,const struct genl_info * info) net_shaper_fill_one() argument 310 net_shaper_lookup(struct net_shaper_binding * binding,const struct net_shaper_handle * handle) net_shaper_lookup() argument 333 net_shaper_hierarchy_setup(struct net_shaper_binding * binding) net_shaper_hierarchy_setup() argument 359 net_shaper_pre_insert(struct net_shaper_binding * binding,struct net_shaper_handle * handle,struct netlink_ext_ack * extack) net_shaper_pre_insert() argument 424 net_shaper_commit(struct net_shaper_binding * binding,int nr_shapers,const struct net_shaper * shapers) net_shaper_commit() argument 449 net_shaper_rollback(struct net_shaper_binding * binding) net_shaper_rollback() argument 514 net_shaper_validate_caps(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper) net_shaper_validate_caps() argument 582 net_shaper_parse_info(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper,bool * exists) net_shaper_parse_info() argument 638 net_shaper_validate_nesting(struct net_shaper_binding * binding,const struct net_shaper * shaper,struct netlink_ext_ack * extack) net_shaper_validate_nesting() argument 658 net_shaper_parse_leaf(struct net_shaper_binding * binding,const struct nlattr * attr,const struct genl_info * info,const struct net_shaper * node,struct net_shaper * shaper) net_shaper_parse_leaf() argument 697 net_shaper_parse_node(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper) net_shaper_parse_node() argument 816 struct net_shaper_binding *binding; net_shaper_nl_get_doit() local 863 struct net_shaper_binding *binding; net_shaper_nl_get_dumpit() local 895 struct net_shaper_binding *binding; net_shaper_nl_set_doit() local 938 __net_shaper_delete(struct net_shaper_binding * binding,struct net_shaper * shaper,struct netlink_ext_ack * extack) __net_shaper_delete() argument 977 net_shaper_parse_leaves(struct net_shaper_binding * binding,struct genl_info * info,const struct net_shaper * node,struct net_shaper * leaves,int leaves_count) net_shaper_parse_leaves() argument 1036 __net_shaper_group(struct net_shaper_binding * binding,bool update_node,int leaves_count,struct net_shaper * leaves,struct net_shaper * node,struct netlink_ext_ack * extack) __net_shaper_group() argument 1149 net_shaper_pre_del_node(struct net_shaper_binding * binding,const struct net_shaper * shaper,struct netlink_ext_ack * extack) net_shaper_pre_del_node() argument 1209 struct net_shaper_binding *binding; net_shaper_nl_delete_doit() local 1241 net_shaper_group_send_reply(struct net_shaper_binding * binding,const struct net_shaper_handle * handle,struct genl_info * info,struct sk_buff * msg) net_shaper_group_send_reply() argument 1272 struct net_shaper_binding *binding; net_shaper_nl_group_doit() local 1375 net_shaper_cap_fill_one(struct sk_buff * msg,struct net_shaper_binding * binding,enum net_shaper_scope scope,unsigned long flags,const struct genl_info * info) net_shaper_cap_fill_one() argument 1407 struct net_shaper_binding *binding; net_shaper_nl_cap_get_doit() local 1443 struct net_shaper_binding *binding; net_shaper_nl_cap_get_dumpit() local 1466 net_shaper_flush(struct net_shaper_binding * binding) net_shaper_flush() argument 1487 struct net_shaper_binding binding = { net_shaper_flush_netdev() local 1499 struct net_shaper_binding binding; net_shaper_set_real_num_tx_queues() local [all...] |