Home
last modified time | relevance | path

Searched refs:umount_log_level (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/shutdown/
Dumount.c527 static int remount_with_timeout(MountPoint *m, int umount_log_level) { in remount_with_timeout() argument
546 … log_full_errno(umount_log_level, errno, "Failed to remount '%s' read-only: %m", m->path); in remount_with_timeout()
563 static int umount_with_timeout(MountPoint *m, int umount_log_level) { in umount_with_timeout() argument
588 … log_full_errno(umount_log_level, errno, "Failed to unmount %s: %m", m->path); in umount_with_timeout()
607 static int mount_points_list_umount(MountPoint **head, bool *changed, int umount_log_level) { in mount_points_list_umount() argument
627 if (remount_with_timeout(m, umount_log_level) < 0) { in mount_points_list_umount()
643 if (umount_with_timeout(m, umount_log_level) < 0) in mount_points_list_umount()
673 static int loopback_points_list_detach(MountPoint **head, bool *changed, int umount_log_level) { in loopback_points_list_detach() argument
691 … log_full_errno(umount_log_level, r, "Could not detach loopback %s: %m", m->path); in loopback_points_list_detach()
704 static int dm_points_list_detach(MountPoint **head, bool *changed, int umount_log_level) { in dm_points_list_detach() argument
[all …]
Dumount.h10 int umount_all(bool *changed, int umount_log_level);
14 int loopback_detach_all(bool *changed, int umount_log_level);
16 int dm_detach_all(bool *changed, int umount_log_level);
18 int md_detach_all(bool *changed, int umount_log_level);
Dshutdown.c337 int cmd, r, umount_log_level = LOG_INFO; in main() local
439 r = umount_all(&changed, umount_log_level); in main()
463 r = loopback_detach_all(&changed, umount_log_level); in main()
475 r = md_detach_all(&changed, umount_log_level); in main()
487 r = dm_detach_all(&changed, umount_log_level); in main()
504 if (!changed && umount_log_level == LOG_INFO && !can_initrd) { in main()
510 umount_log_level = LOG_ERR; in main()