Lines Matching refs:get_home_root
89 if (statfs(get_home_root(), &sfs) < 0) { in manager_watch_home()
91 … "Failed to statfs() %s directory, disabling automatic scanning.", get_home_root()); in manager_watch_home()
96 … log_info("%s is a network file system, disabling automatic scanning.", get_home_root()); in manager_watch_home()
101 log_info("%s is on autofs, disabling automatic scanning.", get_home_root()); in manager_watch_home()
107 r = sd_event_add_inotify(m->event, &m->inotify_event_source, get_home_root(), in manager_watch_home()
112 "Failed to create inotify watch on %s, ignoring.", get_home_root()); in manager_watch_home()
116 log_info("Watching %s.", get_home_root()); in manager_watch_home()
130 log_debug("%s inotify queue overflow, rescanning.", get_home_root()); in on_home_inotify()
132 … log_info("%s moved or renamed, recreating watch and rescanning.", get_home_root()); in on_home_inotify()
134 log_info("%s deleted, recreating watch and rescanning.", get_home_root()); in on_home_inotify()
136 log_info("%s unmounted, recreating watch and rescanning.", get_home_root()); in on_home_inotify()
138 … log_info("%s watch invalidated, recreating watch and rescanning.", get_home_root()); in on_home_inotify()
159 j = path_join(get_home_root(), event->name); in on_home_inotify()
171 (void) manager_assess_image(m, -1, get_home_root(), event->name); in on_home_inotify()
500 …FOREACH_STRING(where, get_home_root(), "/tmp/", "/var/", "/var/mail/", "/var/tmp/", "/var/spool/")… in search_quota()
926 d = opendir(get_home_root()); in manager_enumerate_images()
929 "Failed to open %s: %m", get_home_root()); in manager_enumerate_images()
931 …CH_DIRENT(de, d, return log_error_errno(errno, "Failed to read %s directory: %m", get_home_root())) in manager_enumerate_images()
932 (void) manager_assess_image(m, dirfd(d), get_home_root(), de->d_name); in manager_enumerate_images()
1827 if (statfs(get_home_root(), &sfs) < 0) in manager_rebalance_calculate()