Home
last modified time | relevance | path

Searched refs:nla_put_string (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.6.21/drivers/vdpa/vdpa_sim/
Dvdpa_sim_net.c307 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
313 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
319 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
325 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
331 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
348 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
354 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
360 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
366 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
382 if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME, in vdpasim_net_get_stats()
[all …]
/linux-6.6.21/net/ieee802154/
Dnl-phy.c46 if (nla_put_string(msg, IEEE802154_ATTR_PHY_NAME, wpan_phy_name(phy)) || in ieee802154_nl_fill_phy()
243 if (nla_put_string(msg, IEEE802154_ATTR_PHY_NAME, wpan_phy_name(phy)) || in ieee802154_add_iface()
244 nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name)) { in ieee802154_add_iface()
331 if (nla_put_string(msg, IEEE802154_ATTR_PHY_NAME, wpan_phy_name(phy)) || in ieee802154_del_iface()
332 nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, name)) in ieee802154_del_iface()
Dnl-mac.c61 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_start_confirm()
99 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_fill_iface()
100 nla_put_string(msg, IEEE802154_ATTR_PHY_NAME, wpan_phy_name(phy)) || in ieee802154_nl_fill_iface()
677 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_llsec_getparams()
923 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_fill_key()
1059 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_fill_dev()
1167 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_fill_devkey()
1296 if (nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name) || in ieee802154_nl_fill_seclevel()
/linux-6.6.21/fs/smb/client/
Dcifs_swn.c51 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); in cifs_swn_auth_info_ntlm()
57 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_PASSWORD, tcon->ses->password); in cifs_swn_auth_info_ntlm()
63 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); in cifs_swn_auth_info_ntlm()
100 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_NET_NAME, swnreg->net_name); in cifs_swn_send_register_message()
104 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_SHARE_NAME, swnreg->share_name); in cifs_swn_send_register_message()
202 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_NET_NAME, swnreg->net_name); in cifs_swn_send_unregister_message()
206 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_SHARE_NAME, swnreg->share_name); in cifs_swn_send_unregister_message()
/linux-6.6.21/drivers/thermal/
Dthermal_netlink.c114 nla_put_string(p->msg, THERMAL_GENL_ATTR_TZ_NAME, p->name)) in thermal_genl_event_tz_create()
161 if (nla_put_string(p->msg, THERMAL_GENL_ATTR_CDEV_NAME, in thermal_genl_event_cdev_add()
194 nla_put_string(p->msg, THERMAL_GENL_ATTR_GOV_NAME, p->name)) in thermal_genl_event_gov_change()
420 nla_put_string(msg, THERMAL_GENL_ATTR_TZ_NAME, tz->type)) in __thermal_genl_cmd_tz_get_id()
542 nla_put_string(msg, THERMAL_GENL_ATTR_TZ_GOV_NAME, in thermal_genl_cmd_tz_get_gov()
559 if (nla_put_string(msg, THERMAL_GENL_ATTR_CDEV_NAME, cdev->type)) in __thermal_genl_cmd_cdev_get()
/linux-6.6.21/net/netfilter/
Dnfnetlink_hook.c135 ret = nla_put_string(nlskb, NFNLA_CHAIN_TABLE, chain->table->name); in nfnl_hook_put_nft_chain_info()
139 ret = nla_put_string(nlskb, NFNLA_CHAIN_NAME, chain->name); in nfnl_hook_put_nft_chain_info()
192 ret = nla_put_string(nlskb, NFNLA_HOOK_MODULE_NAME, module_name); in nfnl_hook_dump_one()
198 ret = nla_put_string(nlskb, NFNLA_HOOK_FUNCTION_NAME, sym); in nfnl_hook_dump_one()
Dnft_objref.c57 if (nla_put_string(skb, NFTA_OBJREF_IMM_NAME, obj->key.name) || in nft_objref_dump()
167 nla_put_string(skb, NFTA_OBJREF_SET_NAME, priv->set->name)) in nft_objref_map_dump()
Dnf_tables_trace.c247 if (nla_put_string(skb, NFTA_TRACE_CHAIN, chain->name)) in nft_trace_notify()
250 if (nla_put_string(skb, NFTA_TRACE_TABLE, chain->table->name)) in nft_trace_notify()
/linux-6.6.21/drivers/infiniband/core/
Dnldev.c164 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DRIVER_STRING, name)) in put_driver_name_print_type()
204 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DRIVER_STRING, str)) in rdma_nl_put_driver_string()
244 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_NAME, in fill_nldev_handle()
271 if (strlen(fw) && nla_put_string(msg, RDMA_NLDEV_ATTR_FW_VERSION, fw)) in fill_dev_info()
294 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "opa"); in fill_dev_info()
296 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "ib"); in fill_dev_info()
298 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "iw"); in fill_dev_info()
300 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "roce"); in fill_dev_info()
302 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, in fill_dev_info()
355 ret = nla_put_string(msg, in fill_port_info()
[all …]
/linux-6.6.21/net/batman-adv/
Dnetlink.c242 if (nla_put_string(msg, BATADV_ATTR_VERSION, BATADV_SOURCE_VERSION) || in batadv_netlink_mesh_fill()
243 nla_put_string(msg, BATADV_ATTR_ALGO_NAME, in batadv_netlink_mesh_fill()
246 nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, soft_iface->name) || in batadv_netlink_mesh_fill()
268 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_netlink_mesh_fill()
815 if (nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, in batadv_netlink_hardif_fill()
821 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_netlink_hardif_fill()
1050 if (nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, in batadv_netlink_vlan_fill()
Dbat_algo.c169 if (nla_put_string(msg, BATADV_ATTR_ALGO_NAME, bat_algo_ops->name)) in batadv_algo_dump_entry()
Dbat_v.c148 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_v_neigh_dump_neigh()
302 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_v_orig_dump_subentry()
714 if (nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_v_gw_dump_entry()
/linux-6.6.21/net/devlink/
Ddev.c680 return nla_put_string(req->msg, DEVLINK_ATTR_INFO_SERIAL_NUMBER, sn); in devlink_info_serial_number_put()
689 return nla_put_string(req->msg, DEVLINK_ATTR_INFO_BOARD_SERIAL_NUMBER, in devlink_info_board_serial_number_put()
713 err = nla_put_string(req->msg, DEVLINK_ATTR_INFO_VERSION_NAME, in devlink_info_version_put()
718 err = nla_put_string(req->msg, DEVLINK_ATTR_INFO_VERSION_VALUE, in devlink_info_version_put()
791 return nla_put_string(req->msg, DEVLINK_ATTR_INFO_DRIVER_NAME, in devlink_nl_driver_info_get()
893 nla_put_string(msg, DEVLINK_ATTR_FLASH_UPDATE_STATUS_MSG, in devlink_nl_flash_update_fill()
897 nla_put_string(msg, DEVLINK_ATTR_FLASH_UPDATE_COMPONENT, in devlink_nl_flash_update_fill()
Ddevl_internal.h141 if (nla_put_string(msg, DEVLINK_ATTR_BUS_NAME, devlink->dev->bus->name)) in devlink_nl_put_handle()
143 if (nla_put_string(msg, DEVLINK_ATTR_DEV_NAME, dev_name(devlink->dev))) in devlink_nl_put_handle()
Ddpipe.c167 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_TABLE_NAME, table->name) || in devlink_dpipe_table_put()
601 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_FIELD_NAME, field->name) || in devlink_dpipe_fields_put()
625 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_HEADER_NAME, header->name) || in devlink_dpipe_header_put()
Dlinecard.c95 nla_put_string(msg, DEVLINK_ATTR_LINECARD_TYPE, linecard->type)) in devlink_nl_linecard_fill()
105 if (nla_put_string(msg, DEVLINK_ATTR_LINECARD_TYPE, in devlink_nl_linecard_fill()
/linux-6.6.21/net/core/
Ddrop_monitor.c333 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
597 if (name && nla_put_string(msg, NET_DM_ATTR_PORT_NETDEV_NAME, name)) in net_dm_packet_report_in_port_put()
644 if (nla_put_string(msg, NET_DM_ATTR_REASON, in net_dm_packet_report_fill()
652 if (nla_put_string(msg, NET_DM_ATTR_SYMBOL, buf)) in net_dm_packet_report_fill()
795 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_GROUP_NAME, in net_dm_hw_packet_report_fill()
799 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, in net_dm_hw_packet_report_fill()
/linux-6.6.21/net/tipc/
Dnetlink_compat.c448 if (nla_put_string(skb, TIPC_NLA_BEARER_NAME, b->name)) in tipc_nl_compat_bearer_enable()
489 if (nla_put_string(skb, TIPC_NLA_BEARER_NAME, name)) in tipc_nl_compat_bearer_disable()
734 if (nla_put_string(skb, TIPC_NLA_MEDIA_NAME, lc->name)) in tipc_nl_compat_media_set()
761 if (nla_put_string(skb, TIPC_NLA_BEARER_NAME, lc->name)) in tipc_nl_compat_bearer_set()
788 if (nla_put_string(skb, TIPC_NLA_LINK_NAME, lc->name)) in __tipc_nl_compat_link_set()
859 if (nla_put_string(skb, TIPC_NLA_LINK_NAME, name)) in tipc_nl_compat_link_reset_stats()
/linux-6.6.21/net/smc/
Dsmc_pnet.c537 if (nla_put_string(msg, SMC_PNETID_NAME, pnetelem->pnet_name)) in smc_pnet_set_nla()
540 if (nla_put_string(msg, SMC_PNETID_ETHNAME, in smc_pnet_set_nla()
544 if (nla_put_string(msg, SMC_PNETID_ETHNAME, "n/a")) in smc_pnet_set_nla()
548 if (nla_put_string(msg, SMC_PNETID_IBNAME, pnetelem->ib_name) || in smc_pnet_set_nla()
552 if (nla_put_string(msg, SMC_PNETID_IBNAME, "n/a") || in smc_pnet_set_nla()
Dsmc_core.c256 if (nla_put_string(skb, SMC_NLA_SYS_LOCAL_HOST, hostname)) in smc_nl_get_sys_info()
263 if (nla_put_string(skb, SMC_NLA_SYS_SEID, smc_seid)) in smc_nl_get_sys_info()
296 if (nla_put_string(skb, SMC_NLA_LGR_V2_PEER_HOST, smc_host)) in smc_nl_fill_lgr_v2_common()
300 if (nla_put_string(skb, SMC_NLA_LGR_V2_NEG_EID, smc_eid)) in smc_nl_fill_lgr_v2_common()
364 if (nla_put_string(skb, SMC_NLA_LGR_R_PNETID, smc_target)) in smc_nl_fill_lgr()
417 if (nla_put_string(skb, SMC_NLA_LINK_IB_DEV, smc_ibname)) in smc_nl_fill_lgr_link()
427 if (nla_put_string(skb, SMC_NLA_LINK_GID, smc_gid_target)) in smc_nl_fill_lgr_link()
431 if (nla_put_string(skb, SMC_NLA_LINK_PEER_GID, smc_gid_target)) in smc_nl_fill_lgr_link()
539 if (nla_put_string(skb, SMC_NLA_LGR_D_PNETID, smc_pnet)) in smc_nl_fill_smcd_lgr()
Dsmc_ism.c262 if (nla_put_string(skb, SMC_NLA_DEV_PCI_ID, smc_pci_dev.pci_id)) in smc_nl_handle_smcd_dev()
272 if (nla_put_string(skb, SMC_NLA_DEV_PORT_PNETID, smc_pnet)) in smc_nl_handle_smcd_dev()
/linux-6.6.21/drivers/vdpa/
Dvdpa.c461 nla_put_string(msg, VDPA_ATTR_MGMTDEV_BUS_NAME, mdev->device->bus->name)) in vdpa_nl_mgmtdev_handle_fill()
463 if (nla_put_string(msg, VDPA_ATTR_MGMTDEV_DEV_NAME, dev_name(mdev->device))) in vdpa_nl_mgmtdev_handle_fill()
764 if (nla_put_string(msg, VDPA_ATTR_DEV_NAME, dev_name(&vdev->dev))) in vdpa_dev_fill()
965 if (nla_put_string(msg, VDPA_ATTR_DEV_NAME, dev_name(&vdev->dev))) { in vdpa_dev_config_fill()
1076 if (nla_put_string(msg, VDPA_ATTR_DEV_NAME, dev_name(&vdev->dev))) { in vdpa_dev_vendor_stats_fill()
/linux-6.6.21/tools/lib/thermal/
Dthermal_nl.c131 nla_put_string(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_netiface.c118 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list()
352 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface6_data_list()
/linux-6.6.21/net/ipv4/
Dtcp_diag.c95 err = nla_put_string(skb, INET_ULP_INFO_NAME, ulp_ops->name); in tcp_diag_put_ulp()

1234