Lines Matching refs:mounted
39 _cleanup_(umount_and_rmdir_and_freep) char *mounted = NULL; in thread_func()
49 assert_se(mkdtemp_malloc(NULL, &mounted) >= 0); in thread_func()
56 log_notice("Acquired loop device %s, will mount on %s", loop->node, mounted); in thread_func()
87 … r = dissected_image_mount(dissected, mounted, UID_INVALID, UID_INVALID, DISSECT_IMAGE_READ_ONLY); in thread_func()
88 log_notice_errno(r, "Mounted %s → %s: %m", loop->node, mounted); in thread_func()
95 log_notice("Unmounting %s", mounted); in thread_func()
96 mounted = umount_and_rmdir_and_free(mounted); in thread_func()
221 _cleanup_(umount_and_rmdir_and_freep) char *mounted = NULL; in run()
256 assert_se(mkdtemp_malloc(NULL, &mounted) >= 0); in run()
266 assert_se(dissected_image_mount(dissected, mounted, UID_INVALID, UID_INVALID, 0) >= 0); in run()
273 assert_se(umount_recursive(mounted, 0) >= 0); in run()