Searched refs:svfs (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/test/ |
D | test-mount-util.c | 149 struct statvfs svfs; in TEST() local 154 assert_se(statvfs(subdir, &svfs) >= 0); in TEST() 155 assert_se(!FLAGS_SET(svfs.f_flag, ST_RDONLY)); in TEST() 161 assert_se(statvfs(subdir, &svfs) >= 0); in TEST() 162 assert_se(!FLAGS_SET(svfs.f_flag, ST_RDONLY)); in TEST() 168 assert_se(statvfs(p, &svfs) >= 0); in TEST() 169 assert_se(FLAGS_SET(svfs.f_flag, ST_RDONLY)); in TEST() 172 assert_se(statvfs(subdir, &svfs) >= 0); in TEST() 173 … assert_se(FLAGS_SET(svfs.f_flag, ST_RDONLY) == !!path_startswith(subdir, p)); in TEST()
|
/systemd-251/src/core/ |
D | dbus-manager.c | 1420 struct statvfs svfs; in verify_run_space() local 1423 if (statvfs("/run/systemd", &svfs) < 0) in verify_run_space() 1426 available = (uint64_t) svfs.f_bfree * (uint64_t) svfs.f_bsize; in verify_run_space() 1620 struct statvfs svfs; in method_switch_root() local 1627 if (statvfs("/run/systemd", &svfs) < 0) in method_switch_root() 1630 available = (uint64_t) svfs.f_bfree * (uint64_t) svfs.f_bsize; in method_switch_root()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-file.c | 563 struct statvfs svfs; in journal_file_allocate() local 565 if (fstatvfs(f->fd, &svfs) >= 0) { in journal_file_allocate() 568 … available = LESS_BY((uint64_t) svfs.f_bfree * (uint64_t) svfs.f_bsize, f->metrics.keep_free); in journal_file_allocate()
|