| /linux-6.15/tools/lib/thermal/ |
| H A D | sampling.c | 14 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_sample() local 23 switch (genlhdr->cmd) { in handle_thermal_sample()
|
| H A D | events.c | 24 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_event() local 36 if (!enabled_ops[genlhdr->cmd]) in handle_thermal_event() 39 switch (genlhdr->cmd) { in handle_thermal_event()
|
| /linux-6.15/tools/power/x86/intel-speed-select/ |
| H A D | hfi-events.c | 193 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_event() local 200 debug_printf("Received event %d parse_rer:%d\n", genlhdr->cmd, ret); in handle_event() 201 if (genlhdr->cmd == THERMAL_GENL_EVENT_CPU_CAPABILITY_CHANGE) { in handle_event()
|
| /linux-6.15/include/net/ |
| H A D | genetlink.h | 136 struct genlmsghdr * genlhdr; member 158 return (u8 *)info->genlhdr + GENL_HDRLEN; in genl_info_userhdr() 320 info->genlhdr = hdr; in genl_info_init_ntf() 343 flags, info->genlhdr->cmd); in __genlmsg_iput()
|
| /linux-6.15/fs/smb/server/ |
| H A D | transport_ipc.c | 44 if (m->genlhdr->version != KSMBD_GENL_VERSION) { in ksmbd_ipc_validate_version() 47 m->genlhdr->version, in ksmbd_ipc_validate_version() 400 req = nla_data(info->attrs[info->genlhdr->cmd]); in handle_startup_event() 417 pr_err("Unknown IPC event: %d, ignore.\n", info->genlhdr->cmd); in handle_unsupported_event() 425 int type = info->genlhdr->cmd; in handle_generic_event() 443 payload = nla_data(info->attrs[info->genlhdr->cmd]); in handle_generic_event() 444 sz = nla_len(info->attrs[info->genlhdr->cmd]); in handle_generic_event()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | netlink-dumps.c | 151 struct genlmsghdr genlhdr; member 162 .genlhdr = {
|
| /linux-6.15/kernel/ |
| H A D | taskstats.c | 99 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_reply() local 100 void *reply = genlmsg_data(genlhdr); in send_reply() 113 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_cpu_listeners() local 116 void *reply = genlmsg_data(genlhdr); in send_cpu_listeners()
|
| /linux-6.15/drivers/dpll/ |
| H A D | dpll_netlink.c | 1168 nla_for_each_attr(a, genlmsg_data(info->genlhdr), in dpll_pin_set_from_nlattr() 1169 genlmsg_len(info->genlhdr), rem) { in dpll_pin_set_from_nlattr() 1254 nla_for_each_attr(attr, genlmsg_data(info->genlhdr), in dpll_pin_find_from_nlattr() 1255 genlmsg_len(info->genlhdr), rem) { in dpll_pin_find_from_nlattr() 1447 nla_for_each_attr(attr, genlmsg_data(info->genlhdr), in dpll_device_find_from_nlattr() 1448 genlmsg_len(info->genlhdr), rem) { in dpll_device_find_from_nlattr()
|
| /linux-6.15/tools/testing/selftests/nci/ |
| H A D | nci_dev.c | 721 struct genlmsghdr *genlhdr; in connect_tag() local 733 genlhdr = (struct genlmsghdr *)((struct nlmsghdr *)evt_data + 1); in connect_tag() 734 na = (struct nlattr *)(genlhdr + 1); in connect_tag()
|
| /linux-6.15/net/handshake/ |
| H A D | netlink.c | 86 &handshake_nl_family, 0, info->genlhdr->cmd); in handshake_genl_put()
|
| /linux-6.15/net/shaper/ |
| H A D | shaper.c | 84 nla_for_each_attr_type(attr, type, genlmsg_data(info->genlhdr), in net_shaper_list_len() 85 genlmsg_len(info->genlhdr), rem) in net_shaper_list_len() 1180 genlmsg_data(info->genlhdr), in net_shaper_nl_group_doit() 1181 genlmsg_len(info->genlhdr), rem) { in net_shaper_nl_group_doit()
|
| /linux-6.15/net/core/ |
| H A D | netdev-genl.c | 918 genlmsg_data(info->genlhdr), in netdev_nl_bind_rx_doit() 919 genlmsg_len(info->genlhdr), rem) { in netdev_nl_bind_rx_doit()
|
| H A D | drop_monitor.c | 1383 switch (info->genlhdr->cmd) { in net_dm_cmd_trace()
|
| /linux-6.15/net/ethtool/ |
| H A D | netlink.c | 468 const u8 cmd = info->genlhdr->cmd; in ethnl_default_doit() 680 const u8 cmd = info->genlhdr->cmd; in ethnl_default_set_doit()
|
| /linux-6.15/net/mptcp/ |
| H A D | pm_netlink.c | 198 info->genlhdr->cmd); in mptcp_pm_nl_get_addr_doit()
|
| /linux-6.15/net/ipv6/ila/ |
| H A D | ila_xlat.c | 486 info->genlhdr->cmd); in ila_xlat_nl_cmd_get_mapping()
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_netlink.c | 807 int cmd = info->genlhdr->cmd; in thermal_genl_cmd_doit()
|
| /linux-6.15/net/netlink/ |
| H A D | genetlink.c | 996 info->info.genlhdr = nlmsg_data(cb->nlh); in genl_start() 1103 info.genlhdr = nlmsg_data(nlh); in genl_family_rcv_msg_doit()
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_metrics.c | 866 info->genlhdr->cmd); in tcp_metrics_nl_cmd_get()
|
| H A D | fou_core.c | 869 info->genlhdr->cmd); in fou_nl_get_doit()
|
| /linux-6.15/net/netfilter/ipvs/ |
| H A D | ip_vs_ctl.c | 3888 cmd = info->genlhdr->cmd; in ip_vs_genl_set_daemon() 3917 cmd = info->genlhdr->cmd; in ip_vs_genl_set_cmd() 4044 cmd = info->genlhdr->cmd; in ip_vs_genl_get_cmd()
|
| /linux-6.15/drivers/block/drbd/ |
| H A D | drbd_nl.c | 163 const u8 cmd = info->genlhdr->cmd; in drbd_adm_prepare() 793 if (info->genlhdr->cmd == DRBD_ADM_PRIMARY) in drbd_adm_set_role()
|
| /linux-6.15/net/openvswitch/ |
| H A D | datapath.c | 1851 if (info->genlhdr->version < OVS_DP_VER_FEATURES) in ovs_dp_cmd_new()
|