Lines Matching refs:new_name
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()
174 "new_name", new_name, in bus_image_method_clone()
201 r = image_clone(image, new_name, read_only); in bus_image_method_clone()