Lines Matching defs:new_name
71 const char *new_name;
77 r = sd_bus_message_read(message, "s", &new_name);
81 if (!image_name_is_valid(new_name))
82 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name);
98 r = image_rename(image, new_name);
112 const char *new_name;
118 r = sd_bus_message_read(message, "sb", &new_name, &read_only);
122 if (!image_name_is_valid(new_name))
123 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name);
139 r = image_clone(image, new_name, read_only);