Searched refs:new_name (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/machine/ |
D | image-dbus.c | 104 const char *new_name; in bus_image_method_rename() local 110 r = sd_bus_message_read(message, "s", &new_name); in bus_image_method_rename() 114 if (!image_name_is_valid(new_name)) in bus_image_method_rename() 115 …eturn sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name); in bus_image_method_rename() 120 "new_name", new_name, in bus_image_method_rename() 138 r = image_rename(image, new_name); in bus_image_method_rename() 153 const char *new_name; in bus_image_method_clone() local 164 r = sd_bus_message_read(message, "sb", &new_name, &read_only); in bus_image_method_clone() 168 if (!image_name_is_valid(new_name)) in bus_image_method_clone() 169 …eturn sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name); in bus_image_method_clone() [all …]
|
D | machined-dbus.c | 1129 SD_BUS_ARGS("s", name, "s", new_name), 1134 SD_BUS_ARGS("s", name, "s", new_name, "b", read_only),
|
/systemd-251/src/shared/ |
D | discover-image.c | 707 static int rename_auxiliary_file(const char *path, const char *new_name, const char *suffix) { in rename_auxiliary_file() argument 711 fn = strjoina(new_name, suffix); in rename_auxiliary_file() 720 int image_rename(Image *i, const char *new_name) { in image_rename() argument 729 if (!image_name_is_valid(new_name)) in image_rename() 751 r = image_name_lock(new_name, LOCK_EX|LOCK_NB, &name_lock); in image_rename() 755 r = image_find(IMAGE_MACHINE, new_name, NULL, NULL); in image_rename() 772 new_path = file_in_same_dir(i->path, new_name); in image_rename() 781 new_path = file_in_same_dir(i->path, new_name); in image_rename() 787 fn = strjoina(new_name, ".raw"); in image_rename() 799 nn = strdup(new_name); in image_rename() [all …]
|
D | discover-image.h | 72 int image_rename(Image *i, const char *new_name); 73 int image_clone(Image *i, const char *new_name, bool read_only);
|
/systemd-251/src/udev/net/ |
D | link-config.c | 742 const char *new_name = NULL; in link_generate_new_name() local 761 … (void) sd_device_get_property_value(device, "ID_NET_NAME_FROM_DATABASE", &new_name); in link_generate_new_name() 764 … (void) sd_device_get_property_value(device, "ID_NET_NAME_ONBOARD", &new_name); in link_generate_new_name() 767 … (void) sd_device_get_property_value(device, "ID_NET_NAME_SLOT", &new_name); in link_generate_new_name() 770 … (void) sd_device_get_property_value(device, "ID_NET_NAME_PATH", &new_name); in link_generate_new_name() 773 … (void) sd_device_get_property_value(device, "ID_NET_NAME_MAC", &new_name); in link_generate_new_name() 778 if (ifname_valid(new_name)) { in link_generate_new_name() 779 … log_link_debug(link, "Policy *%s* yields \"%s\".", name_policy_to_string(*policy), new_name); in link_generate_new_name() 780 link->new_name = new_name; in link_generate_new_name() 787 link->new_name = link->config->name; in link_generate_new_name() [all …]
|
D | link-config.h | 29 const char *new_name; member
|
/systemd-251/src/udev/ |
D | udev-builtin-net_setup_link.c | 48 if (link->new_name) in builtin_net_setup_link() 49 udev_builtin_add_property(dev, test, "ID_NET_NAME", link->new_name); in builtin_net_setup_link()
|
/systemd-251/src/resolve/ |
D | resolved-manager.c | 1579 _cleanup_free_ char * new_name = NULL; in manager_next_dnssd_names() local 1584 r = manager_next_random_name(s->name_template, &new_name); in manager_next_dnssd_names() 1590 free_and_replace(s->name_template, new_name); in manager_next_dnssd_names()
|