hw_metadata 24 include/net/drop_monitor.h const struct net_dm_hw_metadata *hw_metadata); hw_metadata 28 include/net/drop_monitor.h const struct net_dm_hw_metadata *hw_metadata) hw_metadata 7957 net/core/devlink.c devlink_trap_report_metadata_fill(struct net_dm_hw_metadata *hw_metadata, hw_metadata 7963 net/core/devlink.c hw_metadata->trap_group_name = group_item->group->name; hw_metadata 7964 net/core/devlink.c hw_metadata->trap_name = trap_item->trap->name; hw_metadata 7968 net/core/devlink.c hw_metadata->input_dev = in_devlink_port->type_dev; hw_metadata 7983 net/core/devlink.c struct net_dm_hw_metadata hw_metadata = {}; hw_metadata 7988 net/core/devlink.c devlink_trap_report_metadata_fill(&hw_metadata, trap_item, hw_metadata 7990 net/core/devlink.c net_dm_hw_report(skb, &hw_metadata); hw_metadata 117 net/core/drop_monitor.c const struct net_dm_hw_metadata *hw_metadata); hw_metadata 122 net/core/drop_monitor.c struct net_dm_hw_metadata *hw_metadata; hw_metadata 435 net/core/drop_monitor.c const struct net_dm_hw_metadata *hw_metadata) hw_metadata 452 net/core/drop_monitor.c if (!strncmp(hw_entry->trap_name, hw_metadata->trap_name, hw_metadata 462 net/core/drop_monitor.c strlcpy(hw_entry->trap_name, hw_metadata->trap_name, hw_metadata 708 net/core/drop_monitor.c const struct net_dm_hw_metadata *hw_metadata) hw_metadata 718 net/core/drop_monitor.c nla_total_size(strlen(hw_metadata->trap_group_name) + 1) + hw_metadata 720 net/core/drop_monitor.c nla_total_size(strlen(hw_metadata->trap_name) + 1) + hw_metadata 736 net/core/drop_monitor.c struct net_dm_hw_metadata *hw_metadata; hw_metadata 740 net/core/drop_monitor.c hw_metadata = NET_DM_SKB_CB(skb)->hw_metadata; hw_metadata 751 net/core/drop_monitor.c hw_metadata->trap_group_name)) hw_metadata 755 net/core/drop_monitor.c hw_metadata->trap_name)) hw_metadata 758 net/core/drop_monitor.c if (hw_metadata->input_dev) { hw_metadata 759 net/core/drop_monitor.c struct net_device *dev = hw_metadata->input_dev; hw_metadata 798 net/core/drop_monitor.c net_dm_hw_metadata_clone(const struct net_dm_hw_metadata *hw_metadata) hw_metadata 804 net/core/drop_monitor.c n_hw_metadata = kmalloc(sizeof(*hw_metadata), GFP_ATOMIC); hw_metadata 808 net/core/drop_monitor.c trap_group_name = kmemdup(hw_metadata->trap_group_name, hw_metadata 809 net/core/drop_monitor.c strlen(hw_metadata->trap_group_name) + 1, hw_metadata 815 net/core/drop_monitor.c trap_name = kmemdup(hw_metadata->trap_name, hw_metadata 816 net/core/drop_monitor.c strlen(hw_metadata->trap_name) + 1, hw_metadata 822 net/core/drop_monitor.c n_hw_metadata->input_dev = hw_metadata->input_dev; hw_metadata 836 net/core/drop_monitor.c net_dm_hw_metadata_free(const struct net_dm_hw_metadata *hw_metadata) hw_metadata 838 net/core/drop_monitor.c if (hw_metadata->input_dev) hw_metadata 839 net/core/drop_monitor.c dev_put(hw_metadata->input_dev); hw_metadata 840 net/core/drop_monitor.c kfree(hw_metadata->trap_name); hw_metadata 841 net/core/drop_monitor.c kfree(hw_metadata->trap_group_name); hw_metadata 842 net/core/drop_monitor.c kfree(hw_metadata); hw_metadata 847 net/core/drop_monitor.c struct net_dm_hw_metadata *hw_metadata; hw_metadata 861 net/core/drop_monitor.c hw_metadata = NET_DM_SKB_CB(skb)->hw_metadata; hw_metadata 862 net/core/drop_monitor.c msg = nlmsg_new(net_dm_hw_packet_report_size(payload_len, hw_metadata), hw_metadata 876 net/core/drop_monitor.c net_dm_hw_metadata_free(NET_DM_SKB_CB(skb)->hw_metadata); hw_metadata 901 net/core/drop_monitor.c const struct net_dm_hw_metadata *hw_metadata) hw_metadata 916 net/core/drop_monitor.c n_hw_metadata = net_dm_hw_metadata_clone(hw_metadata); hw_metadata 920 net/core/drop_monitor.c NET_DM_SKB_CB(nskb)->hw_metadata = n_hw_metadata; hw_metadata 960 net/core/drop_monitor.c const struct net_dm_hw_metadata *hw_metadata) hw_metadata 967 net/core/drop_monitor.c net_dm_alert_ops_arr[net_dm_alert_mode]->hw_probe(skb, hw_metadata); hw_metadata 1029 net/core/drop_monitor.c struct net_dm_hw_metadata *hw_metadata; hw_metadata 1031 net/core/drop_monitor.c hw_metadata = NET_DM_SKB_CB(skb)->hw_metadata; hw_metadata 1032 net/core/drop_monitor.c net_dm_hw_metadata_free(hw_metadata);