Home
last modified time | relevance | path

Searched refs:strscpy (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/shared/
Dethtool-util.c287 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_get_driver()
326 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_get_link_info()
374 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_get_permanent_hw_addr()
435 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_set_wol()
505 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_set_nic_buffer_size()
547 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in get_stringset()
601 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in get_features()
749 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_set_features()
966 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_set_glinksettings()
1043 strscpy(ifr.ifr_name, sizeof(ifr.ifr_name), ifname); in ethtool_set_channels()
[all …]
Dudev-util.c556 strscpy(result, maxsize, val); in udev_resolve_subsys_kernel()
Dformat-table.c1515 strscpy(p + n, FORMAT_BYTES_MAX + 2 - n, "bps"); in table_data_format()
/systemd-251/src/udev/scsi_id/
Dscsi_id.c89 strscpy(to, len, type); in set_type()
251 strscpy(maj_min_dev, MAX_PATH_LEN, optarg); in set_options()
255 strscpy(config_file, MAX_PATH_LEN, optarg); in set_options()
314 strscpy(maj_min_dev, MAX_PATH_LEN, argv[optind]); in set_options()
/systemd-251/src/udev/
Dudev-builtin-btrfs.c37 strscpy(args.name, sizeof(args.name), argv[2]); in builtin_btrfs()
Dudev-builtin-usb_id.c101 strscpy(to, len, type); in set_usb_mass_storage_ifsubtype()
130 strscpy(to, len, type); in set_scsi_type()
Dudev-ctrl.c306 strscpy(ctrl_msg_wire.value.buf, sizeof(ctrl_msg_wire.value.buf), data); in udev_ctrl_send()
Dudev-builtin-net_id.c683 strscpy(name, sizeof(name), sysname); in names_usb()
Dudev-rules.c1417 strscpy(vbuf, sizeof(vbuf), value); in token_match_attr()
/systemd-251/src/basic/
Dstrxcpyx.h28 static inline size_t strscpy(char *dest, size_t size, const char *src) { in strscpy() function
/systemd-251/src/test/
Dtest-strxcpyx.c129 TEST(strscpy) { in TEST() argument
/systemd-251/src/network/
Dnetworkctl.c545 strscpy(info->name, sizeof info->name, name); in decode_link()