Home
last modified time | relevance | path

Searched refs:trap_group_name (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/trace/events/
Ddevlink.h188 __string(trap_group_name, metadata->trap_group_name)
199 __assign_str(trap_group_name, metadata->trap_group_name);
206 __get_str(trap_name), __get_str(trap_group_name),
/linux-6.6.21/net/core/
Ddrop_monitor.c761 nla_total_size(strlen(hw_metadata->trap_group_name) + 1) + in net_dm_hw_packet_report_size()
796 hw_metadata->trap_group_name)) in net_dm_hw_packet_report_fill()
853 const char *trap_group_name; in net_dm_hw_metadata_copy() local
860 trap_group_name = kstrdup(metadata->trap_group_name, GFP_ATOMIC); in net_dm_hw_metadata_copy()
861 if (!trap_group_name) in net_dm_hw_metadata_copy()
863 hw_metadata->trap_group_name = trap_group_name; in net_dm_hw_metadata_copy()
890 kfree(trap_group_name); in net_dm_hw_metadata_copy()
902 kfree(hw_metadata->trap_group_name); in net_dm_hw_metadata_free()
/linux-6.6.21/tools/net/ynl/generated/
Ddevlink-user.h1433 char *trap_group_name; member
1465 const char *trap_group_name) in devlink_trap_group_get_req_set_trap_group_name() argument
1467 free(req->trap_group_name); in devlink_trap_group_get_req_set_trap_group_name()
1468 req->_present.trap_group_name_len = strlen(trap_group_name); in devlink_trap_group_get_req_set_trap_group_name()
1469 req->trap_group_name = malloc(req->_present.trap_group_name_len + 1); in devlink_trap_group_get_req_set_trap_group_name()
1470 memcpy(req->trap_group_name, trap_group_name, req->_present.trap_group_name_len); in devlink_trap_group_get_req_set_trap_group_name()
1471 req->trap_group_name[req->_present.trap_group_name_len] = 0; in devlink_trap_group_get_req_set_trap_group_name()
1483 char *trap_group_name; member
Ddevlink-user.c2254 free(req->trap_group_name); in devlink_trap_group_get_req_free()
2262 free(rsp->trap_group_name); in devlink_trap_group_get_rsp_free()
2307 dst->trap_group_name = malloc(len + 1); in devlink_trap_group_get_rsp_parse()
2308 memcpy(dst->trap_group_name, mnl_attr_get_str(attr), len); in devlink_trap_group_get_rsp_parse()
2309 dst->trap_group_name[len] = 0; in devlink_trap_group_get_rsp_parse()
2334 mnl_attr_put_strz(nlh, DEVLINK_ATTR_TRAP_GROUP_NAME, req->trap_group_name); in devlink_trap_group_get()
2363 free(rsp->obj.trap_group_name); in devlink_trap_group_get_list_free()
/linux-6.6.21/include/net/
Ddevlink.h755 const char *trap_group_name; member
/linux-6.6.21/net/devlink/
Dtrap.c1474 metadata->trap_group_name = trap_item->group_item->group->name; in devlink_trap_report_metadata_set()