Home
last modified time | relevance | path

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

/linux/drivers/net/can/
H A Dvxcan.c233 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
262 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
/linux/net/devlink/
H A Dnetlink.c65 data_offset += nla_strscpy(pos, in devlink_nl_notify_filter_set_doit()
72 nla_strscpy(pos, attrs[DEVLINK_ATTR_DEV_NAME], in devlink_nl_notify_filter_set_doit()
/linux/drivers/block/drbd/
H A Ddrbd_nl_gen.c668 s->ctx_resource_name_len = nla_strscpy(s->ctx_resource_name, nla, 128); in __drbd_cfg_context_from_attrs()
723 s->backing_dev_len = nla_strscpy(s->backing_dev, nla, 128); in __disk_conf_from_attrs()
732 s->meta_dev_len = nla_strscpy(s->meta_dev, nla, 128); in __disk_conf_from_attrs()
879 s->cpu_mask_len = nla_strscpy(s->cpu_mask, nla, DRBD_CPU_MASK_SIZE); in __res_opts_from_attrs()
929 s->shared_secret_len = nla_strscpy(s->shared_secret, nla, SHARED_SECRET_MAX); in __net_conf_from_attrs()
933 s->cram_hmac_alg_len = nla_strscpy(s->cram_hmac_alg, nla, SHARED_SECRET_MAX); in __net_conf_from_attrs()
937 s->integrity_alg_len = nla_strscpy(s->integrity_alg, nla, SHARED_SECRET_MAX); in __net_conf_from_attrs()
941 s->verify_alg_len = nla_strscpy(s->verify_alg, nla, SHARED_SECRET_MAX); in __net_conf_from_attrs()
945 s->csums_alg_len = nla_strscpy(s->csums_alg, nla, SHARED_SECRET_MAX); in __net_conf_from_attrs()
/linux/net/netfilter/ipset/
H A Dip_set_hash_netiface.c228 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface4_uadt()
450 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface6_uadt()
/linux/net/netfilter/
H A Dnfnetlink_cthelper.c162 nla_strscpy(expect_policy->name, in nfnl_cthelper_expect_policy()
249 nla_strscpy(helper->name, in nfnl_cthelper_create()
H A Dnfnetlink_hook.c429 nla_strscpy(name, nla[NFNLA_HOOK_DEV], sizeof(name)); in nfnl_hook_dump_start()
H A Dnfnetlink_cttimeout.c171 nla_strscpy(timeout->name, cda[CTA_TIMEOUT_NAME], sizeof(timeout->name)); in cttimeout_new_timeout()
H A Dnft_ct.c1043 nla_strscpy(name, tb[NFTA_CT_HELPER_NAME], sizeof(name)); in nft_ct_helper_obj_init()
H A Dnf_tables_api.c1897 nla_strscpy(search, nla, sizeof(search)); in nft_chain_lookup()
2412 err = nla_strscpy(hook->ifname, attr, IFNAMSIZ); in nft_netdev_hook_alloc()
8115 nla_strscpy(search, nla, sizeof(search)); in nft_obj_lookup()
/linux/lib/
H A Dnlattr.c772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() function
799 EXPORT_SYMBOL(nla_strscpy);
/linux/drivers/infiniband/core/
H A Dnldev.c1194 nla_strscpy(name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_set_doit()
1210 nla_strscpy(name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_set_doit()
1835 nla_strscpy(ibdev_name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_newlink()
1840 nla_strscpy(type, tb[RDMA_NLDEV_ATTR_LINK_TYPE], sizeof(type)); in nldev_newlink()
1841 nla_strscpy(ndev_name, tb[RDMA_NLDEV_ATTR_NDEV_NAME], in nldev_newlink()
1922 nla_strscpy(client_name, tb[RDMA_NLDEV_ATTR_CHARDEV_TYPE], in nldev_get_chardev()
2686 nla_strscpy(name, tb[RDMA_NLDEV_ATTR_DEV_NAME], sizeof(name)); in nldev_newdev()
/linux/net/netlabel/
H A Dnetlabel_mgmt.c99 nla_strscpy(entry->domain, in netlbl_mgmt_add_common()
/linux/net/core/
H A Dfib_rules.c612 nla_strscpy(nlrule->iifname, tb[FRA_IIFNAME], IFNAMSIZ); in fib_nl2rule()
617 nla_strscpy(nlrule->oifname, tb[FRA_OIFNAME], IFNAMSIZ); in fib_nl2rule()
H A Drtnetlink.c2420 nla_strscpy(kind, linfo[IFLA_INFO_KIND], sizeof(kind)); in linkinfo_to_kind_ops()
3163 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in do_setlink()
3537 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get()
3539 nla_strscpy(ifname, tb[IFLA_ALT_IFNAME], ALTIFNAMSIZ); in rtnl_dev_get()
3552 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get_rcu()
3554 nla_strscpy(ifname, tb[IFLA_ALT_IFNAME], ALTIFNAMSIZ); in rtnl_dev_get_rcu()
3958 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_newlink_create()
4146 nla_strscpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in rtnl_newlink()
/linux/include/net/
H A Dpkt_cls.h574 if (nla_strscpy(indev, indev_tlv, IFNAMSIZ) < 0) { in tcf_change_indev()
/linux/fs/smb/client/
H A Dcifs_swn.c699 nla_strscpy(name, info->attrs[CIFS_GENL_ATTR_SWN_RESOURCE_NAME], in cifs_swn_notify()
/linux/drivers/net/
H A Dveth.c1853 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
1898 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
/linux/net/tipc/
H A Dnetlink_compat.c699 nla_strscpy(link_info.str, link[TIPC_NLA_LINK_NAME], in tipc_nl_compat_link_dump()
/linux/net/sunrpc/
H A Dsvcauth_unix.c1440 nla_strscpy(class, tb[SUNRPC_A_IP_MAP_CLASS], sizeof(class)); in sunrpc_nl_parse_one_ip_map()
/linux/net/nfc/
H A Dnetlink.c1248 nla_strscpy(firmware_name, info->attrs[NFC_ATTR_FIRMWARE_NAME], in nfc_genl_fw_download()
/linux/net/sched/
H A Dact_api.c1366 if (nla_strscpy(act_name, kind, IFNAMSIZ) < 0) { in tc_action_load_ops()
H A Dsch_api.c1815 if (nla_strscpy(name, kind, IFNAMSIZ) >= 0) { in request_qdisc_module()
H A Dcls_api.c347 return nla_strscpy(name, kind, IFNAMSIZ) < 0; in tcf_proto_check_kind()
/linux/net/ipv4/
H A Dfib_semantics.c1086 nla_strscpy(tmp, nla, sizeof(tmp)); in fib_metrics_match()
H A Ddevinet.c929 nla_strscpy(ifa->ifa_label, tb[IFA_LABEL], IFNAMSIZ); in inet_rtm_to_ifa()