Searched defs:vfs (Results 1 - 5 of 5) sorted by relevance
/ast/src/cmd/3d/ |
H A D | fstatfs3d.c | 41 #include <sys/vfs.h> 65 #define VFS (&vfs) 76 struct statvfs vfs; local 85 fs->f_bsize = vfs.f_bsize; 86 fs->f_blocks = vfs.f_blocks; 87 fs->f_bfree = vfs.f_bfree; 88 fs->f_files = vfs.f_files; 89 fs->f_ffree = vfs.f_ffree; 102 memset(&vfs, 0, sizeof(vfs)); [all...] |
H A D | statfs3d.c | 41 #include <sys/vfs.h> 65 #define VFS (&vfs) 77 struct statvfs vfs; local 86 fs->f_bsize = vfs.f_bsize; 87 fs->f_blocks = vfs.f_blocks; 88 fs->f_bfree = vfs.f_bfree; 89 fs->f_files = vfs.f_files; 90 fs->f_ffree = vfs.f_ffree; 105 memset(&vfs, 0, sizeof(vfs)); [all...] |
/ast/src/lib/libast/path/ |
H A D | pathprobe.c | 74 struct statvfs vfs; local 77 if (!statvfs(path, &vfs)) 80 if (vfs.f_flag & ST_RDONLY) 84 if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid()))
|
/ast/src/cmd/probe/ |
H A D | probe.c | 183 struct statvfs vfs; local 185 if (!statvfs(path, &vfs)) 188 if (vfs.f_flag & ST_RDONLY) 192 if (vfs.f_flag & ST_NOSUID)
|
/ast/src/cmd/std/ |
H A D | df.c | 111 struct statvfs vfs; /* statvfs() info */ member in struct:__anon226 509 if ((n = F_FRSIZE(&df->vfs)) >= 1024) 564 status(const char* path, struct statvfs* vfs) argument 571 r = statvfs(path, vfs); 596 if (REALITY(df->vfs.f_blocks) == 0) 604 * NOTE: on some systems vfs.f_* are unsigned, 609 df->total = df->vfs.f_blocks; 610 df->used = ((long)df->vfs.f_blocks <= (long)df->vfs.f_bfree) ? 0 : (df->vfs 671 struct statvfs vfs; local [all...] |
Completed in 14 milliseconds