Lines Matching refs:trap_name
65 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member
331 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
457 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
467 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
748 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()
785 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill()
839 const char *trap_name; in net_dm_hw_metadata_copy() local
850 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy()
851 if (!trap_name) in net_dm_hw_metadata_copy()
853 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy()
873 kfree(trap_name); in net_dm_hw_metadata_copy()
886 kfree(hw_metadata->trap_name); in net_dm_hw_metadata_free()