Lines Matching refs:img

406                 const Image *img,  in validate_version()  argument
414 assert(img); in validate_version()
433 img->name, in validate_version()
438 img->extension_release); in validate_version()
451 Image *img; in merge_subprocess() local
487 HASHMAP_FOREACH(img, images) { in merge_subprocess()
490 p = path_join(workspace, "extensions", img->name); in merge_subprocess()
498 switch (img->type) { in merge_subprocess()
501 r = mount_nofollow_verbose(LOG_ERR, img->path, p, NULL, MS_BIND, NULL); in merge_subprocess()
525 r = verity_settings_load(&verity_settings, img->path, NULL, NULL); in merge_subprocess()
527 … return log_error_errno(r, "Failed to read verity artifacts for %s: %m", img->path); in merge_subprocess()
533 img->path, in merge_subprocess()
538 … return log_error_errno(r, "Failed to set up loopback device for %s: %m", img->path); in merge_subprocess()
546 img->path, in merge_subprocess()
596 img, in merge_subprocess()
608 r = strv_extend(&extensions, img->name); in merge_subprocess()
641 assert_se(img = hashmap_get(images, extensions[n_extensions - 1 - k])); in merge_subprocess()
643 p = path_join(workspace, "extensions", img->name); in merge_subprocess()
744 Image *img; in image_discover_and_read_metadata() local
757 HASHMAP_FOREACH(img, images) { in image_discover_and_read_metadata()
758 r = image_read_metadata(img); in image_discover_and_read_metadata()
760 … return log_error_errno(r, "Failed to read metadata for image %s: %m", img->name); in image_discover_and_read_metadata()
843 Image *img; in verb_list() local
863 HASHMAP_FOREACH(img, images) { in verb_list()
866 TABLE_STRING, img->name, in verb_list()
867 TABLE_STRING, image_type_to_string(img->type), in verb_list()
868 TABLE_PATH, img->path, in verb_list()
869 TABLE_TIMESTAMP, img->mtime != 0 ? img->mtime : img->crtime); in verb_list()