Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal_netlink.c107 nla_put_string(p->msg, THERMAL_GENL_ATTR_TZ_NAME, p->name)) in thermal_genl_event_tz_create()
153 if (nla_put_string(p->msg, THERMAL_GENL_ATTR_CDEV_NAME, in thermal_genl_event_cdev_add()
186 nla_put_string(p->msg, THERMAL_GENL_ATTR_GOV_NAME, p->name)) in thermal_genl_event_gov_change()
366 nla_put_string(msg, THERMAL_GENL_ATTR_TZ_NAME, tz->type)) in __thermal_genl_cmd_tz_get_id()
490 nla_put_string(msg, THERMAL_GENL_ATTR_TZ_GOV_NAME, in thermal_genl_cmd_tz_get_gov()
507 if (nla_put_string(msg, THERMAL_GENL_ATTR_CDEV_NAME, cdev->type)) in __thermal_genl_cmd_cdev_get()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dnldev.c154 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DRIVER_STRING, name)) in put_driver_name_print_type()
194 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DRIVER_STRING, str)) in rdma_nl_put_driver_string()
234 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_NAME, in fill_nldev_handle()
261 if (strlen(fw) && nla_put_string(msg, RDMA_NLDEV_ATTR_FW_VERSION, fw)) in fill_dev_info()
284 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "opa"); in fill_dev_info()
286 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "ib"); in fill_dev_info()
288 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "iw"); in fill_dev_info()
290 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, "roce"); in fill_dev_info()
292 ret = nla_put_string(msg, RDMA_NLDEV_ATTR_DEV_PROTOCOL, in fill_dev_info()
345 ret = nla_put_string(msg, in fill_port_info()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnft_objref.c54 if (nla_put_string(skb, NFTA_OBJREF_IMM_NAME, obj->key.name) || in nft_objref_dump()
160 nla_put_string(skb, NFTA_OBJREF_SET_NAME, priv->set->name)) in nft_objref_map_dump()
Dnf_tables_trace.c240 if (nla_put_string(skb, NFTA_TRACE_CHAIN, info->chain->name)) in nft_trace_notify()
243 if (nla_put_string(skb, NFTA_TRACE_TABLE, info->chain->table->name)) in nft_trace_notify()
Dnft_compat.c310 if (nla_put_string(skb, NFTA_TARGET_NAME, target->name) || in nft_target_dump()
540 if (nla_put_string(skb, NFTA_MATCH_NAME, match->name) || in __nft_match_dump()
607 if (nla_put_string(skb, NFTA_COMPAT_NAME, name) || in nfnl_compat_fill_info()
Dnft_lookup.c151 if (nla_put_string(skb, NFTA_LOOKUP_SET, priv->set->name)) in nft_lookup_dump()
Dnft_flow_offload.c210 if (nla_put_string(skb, NFTA_FLOW_TABLE_NAME, priv->flowtable->name)) in nft_flow_offload_dump()
Dnfnetlink_cthelper.c507 if (nla_put_string(skb, NFCTH_POLICY_NAME, in nfnl_cthelper_dump_policy()
547 if (nla_put_string(skb, NFCTH_NAME, helper->name)) in nfnl_cthelper_fill_info()
Dnft_log.c232 if (nla_put_string(skb, NFTA_LOG_PREFIX, priv->prefix)) in nft_log_dump()
/kernel/linux/linux-5.10/net/smc/
Dsmc_pnet.c528 if (nla_put_string(msg, SMC_PNETID_NAME, pnetelem->pnet_name)) in smc_pnet_set_nla()
531 if (nla_put_string(msg, SMC_PNETID_ETHNAME, in smc_pnet_set_nla()
535 if (nla_put_string(msg, SMC_PNETID_ETHNAME, "n/a")) in smc_pnet_set_nla()
539 if (nla_put_string(msg, SMC_PNETID_IBNAME, pnetelem->ib_name) || in smc_pnet_set_nla()
543 if (nla_put_string(msg, SMC_PNETID_IBNAME, "n/a") || in smc_pnet_set_nla()
/kernel/linux/linux-5.10/net/batman-adv/
Dbat_algo.c187 if (nla_put_string(msg, BATADV_ATTR_ALGO_NAME, bat_algo_ops->name)) in batadv_algo_dump_entry()
Dnetlink.c241 if (nla_put_string(msg, BATADV_ATTR_VERSION, BATADV_SOURCE_VERSION) || in batadv_netlink_mesh_fill()
242 nla_put_string(msg, BATADV_ATTR_ALGO_NAME, in batadv_netlink_mesh_fill()
245 nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, soft_iface->name) || in batadv_netlink_mesh_fill()
267 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_netlink_mesh_fill()
818 nla_put_string(msg, BATADV_ATTR_HARD_IFNAME, in batadv_netlink_hardif_fill()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
590 if (name && nla_put_string(msg, NET_DM_ATTR_PORT_NETDEV_NAME, name)) in net_dm_packet_report_in_port_put()
623 if (nla_put_string(msg, NET_DM_ATTR_SYMBOL, buf)) in net_dm_packet_report_fill()
766 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_GROUP_NAME, in net_dm_hw_packet_report_fill()
770 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, in net_dm_hw_packet_report_fill()
Ddevlink.c475 if (nla_put_string(msg, DEVLINK_ATTR_BUS_NAME, devlink->dev->bus->name)) in devlink_nl_put_handle()
477 if (nla_put_string(msg, DEVLINK_ATTR_DEV_NAME, dev_name(devlink->dev))) in devlink_nl_put_handle()
790 nla_put_string(msg, DEVLINK_ATTR_PORT_NETDEV_NAME, in devlink_nl_port_fill()
798 nla_put_string(msg, DEVLINK_ATTR_PORT_IBDEV_NAME, in devlink_nl_port_fill()
2156 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_TABLE_NAME, table->name) || in devlink_dpipe_table_put()
2590 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_FIELD_NAME, field->name) || in devlink_dpipe_fields_put()
2614 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_HEADER_NAME, header->name) || in devlink_dpipe_header_put()
2895 if (nla_put_string(skb, DEVLINK_ATTR_RESOURCE_NAME, resource->name) || in devlink_resource_put()
3351 nla_put_string(msg, DEVLINK_ATTR_FLASH_UPDATE_STATUS_MSG, in devlink_nl_flash_update_fill()
3355 nla_put_string(msg, DEVLINK_ATTR_FLASH_UPDATE_COMPONENT, in devlink_nl_flash_update_fill()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_diag.c95 err = nla_put_string(skb, INET_ULP_INFO_NAME, ulp_ops->name); in tcp_diag_put_ulp()
/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_hash_netiface.c117 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list()
346 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface6_data_list()
Dip_set_core.c370 return nla_put_string(skb, IPSET_ATTR_COMMENT, c->str); in ip_set_put_comment()
1608 nla_put_string(skb, IPSET_ATTR_SETNAME, set->name)) in ip_set_dump_do()
1615 if (nla_put_string(skb, IPSET_ATTR_TYPENAME, in ip_set_dump_do()
1910 nla_put_string(skb2, IPSET_ATTR_SETNAME, set->name) || in ip_set_header()
1911 nla_put_string(skb2, IPSET_ATTR_TYPENAME, set->type->name) || in ip_set_header()
1970 nla_put_string(skb2, IPSET_ATTR_TYPENAME, typename) || in ip_set_type()
2123 nla_put_string(skb2, IPSET_ATTR_SETNAME, set->name)) in ip_set_byindex()
/kernel/linux/linux-5.10/net/netlink/
Dgenetlink.c830 if (nla_put_string(skb, CTRL_ATTR_FAMILY_NAME, family->name) || in ctrl_fill_info()
893 nla_put_string(skb, CTRL_ATTR_MCAST_GRP_NAME, in ctrl_fill_info()
923 if (nla_put_string(skb, CTRL_ATTR_FAMILY_NAME, family->name) || in ctrl_fill_mcgrp_info()
936 nla_put_string(skb, CTRL_ATTR_MCAST_GRP_NAME, in ctrl_fill_mcgrp_info()
/kernel/linux/linux-5.10/net/wimax/
Dop-msg.c136 result = nla_put_string(skb, WIMAX_GNL_MSG_PIPE_NAME, in wimax_msg_alloc()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch1022 + ret = nla_put_string(rep_skb, TSN_ATTR_IFNAME, portname);
1117 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name)) {
1459 + ret = nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name);
1539 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name)) {
1760 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
1887 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
2189 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
2389 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
2673 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
2912 + if (nla_put_string(rep_skb, TSN_ATTR_IFNAME, netdev->name))
[all …]
/kernel/linux/linux-5.10/net/sched/
Dem_ipt.c254 if (nla_put_string(skb, TCA_EM_IPT_MATCH_NAME, im->match->name) < 0) in em_ipt_dump()
Dact_simple.c184 nla_put_string(skb, TCA_DEF_DATA, d->tcfd_defdata)) in tcf_simp_dump()

1234