Lines Matching defs:old_name
735 const char *old_name;
740 r = sd_bus_message_read(message, "s", &old_name);
744 if (!image_name_is_valid(old_name))
745 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", old_name);
747 r = image_find(old_name, &i);
751 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_IMAGE, "No image '%s' known", old_name);
759 const char *old_name;
764 r = sd_bus_message_read(message, "s", &old_name);
768 if (!image_name_is_valid(old_name))
769 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", old_name);
771 r = image_find(old_name, &i);
775 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_IMAGE, "No image '%s' known", old_name);