Lines Matching refs:trap_name
67 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member
333 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
459 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
469 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
763 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()
800 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill()
854 const char *trap_name; in net_dm_hw_metadata_copy() local
865 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy()
866 if (!trap_name) in net_dm_hw_metadata_copy()
868 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy()
888 kfree(trap_name); in net_dm_hw_metadata_copy()
901 kfree(hw_metadata->trap_name); in net_dm_hw_metadata_free()