/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/lib/util/ |
H A D | fsusage.m4 | 67 struct statfs fsd; 69 exit (statfs (".", &fsd, sizeof (struct statfs))); 83 AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl 98 struct statfs fsd; 100 exit (statfs (".", &fsd)); 117 #include <sys/statfs.h> 120 struct statfs fsd; 135 AC_MSG_CHECKING([for two-argument statfs with statfs.fsize dnl 147 struct statfs fsd; 149 exit (statfs (".", &fsd)); [all …]
|
H A D | fsusage.c | 54 struct statfs fsd; in sys_fsusage() 56 if (statfs (path, &fsd, sizeof (struct statfs)) != 0) in sys_fsusage() 64 if (statfs (path, &fsd) != 1) in sys_fsusage() 73 struct statfs fsd; in sys_fsusage() 75 if (statfs (path, &fsd) < 0) in sys_fsusage() 96 struct statfs fsd; in sys_fsusage() 98 if (statfs (path, &fsd) < 0) in sys_fsusage() 117 struct statfs fsd; in sys_fsusage() 119 if (statfs (path, &fsd, sizeof fsd, 0) < 0) in sys_fsusage()
|
/dports/editors/emacs-devel/emacs-4d1968b/m4/ |
H A D | fsusage.m4 | 110 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 126 struct statfs fsd; 137 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 152 struct statfs fsd; 154 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 189 struct statfs fsd; 200 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 212 #include <sys/statfs.h> 216 struct statfs fsd; 234 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/misc/mc/mc-4.8.27/m4.include/gnulib/ |
H A D | fsusage.m4 | 110 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 126 struct statfs fsd; 137 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 152 struct statfs fsd; 154 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 189 struct statfs fsd; 200 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 212 #include <sys/statfs.h> 216 struct statfs fsd; 234 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/m4.include/gnulib/ |
H A D | fsusage.m4 | 110 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 126 struct statfs fsd; 137 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 152 struct statfs fsd; 154 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 189 struct statfs fsd; 200 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 212 #include <sys/statfs.h> 216 struct statfs fsd; 234 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/editors/emacs/emacs-27.2/m4/ |
H A D | fsusage.m4 | 112 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 128 struct statfs fsd; 139 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 154 struct statfs fsd; 156 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 191 struct statfs fsd; 202 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 214 #include <sys/statfs.h> 218 struct statfs fsd; 236 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/m4/ |
H A D | fsusage.m4 | 110 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 126 struct statfs fsd; 137 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 152 struct statfs fsd; 154 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 189 struct statfs fsd; 200 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 212 #include <sys/statfs.h> 216 struct statfs fsd; 234 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/sysutils/coreutils/coreutils-8.32/m4/ |
H A D | fsusage.m4 | 111 AC_CACHE_CHECK([for two-argument statfs with statfs.f_frsize member], 127 struct statfs fsd; 138 [Define if statfs takes 2 args and struct statfs has a field named f_frsize. 153 struct statfs fsd; 155 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 190 struct statfs fsd; 201 [Define if statfs takes 2 args and struct statfs has a field named f_bsize. 213 #include <sys/statfs.h> 217 struct statfs fsd; 235 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in [all …]
|
/dports/misc/amanda-server/amanda-3.3.9/config/gnulib/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/misc/amanda-client/amanda-3.3.9/config/gnulib/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/net-mgmt/monitoring-plugins/monitoring-plugins-2.3.1/gl/m4/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/net-mgmt/nagios-plugins/nagios-plugins-2.3.3/gl/m4/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/m4/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/misc/gnuls/coreutils-8.30/m4/ |
H A D | fsusage.m4 | 107 AC_MSG_CHECKING([for two-argument statfs with statfs.f_frsize member]) 122 struct statfs fsd; 133 [ Define if statfs takes 2 args and struct statfs has a field named f_frsize. 148 struct statfs fsd; 150 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 170 AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl 186 struct statfs fsd; 209 #include <sys/statfs.h> 213 struct statfs fsd; 233 AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/volume/util/fs/ |
H A D | fs.go | 40 statfs := &unix.Statfs_t{} 41 err := unix.Statfs(path, statfs) 47 available := int64(statfs.Bavail) * int64(statfs.Bsize) 50 capacity := int64(statfs.Blocks) * int64(statfs.Bsize) 53 usage := (int64(statfs.Blocks) - int64(statfs.Bfree)) * int64(statfs.Bsize) 55 inodes := int64(statfs.Files) 56 inodesFree := int64(statfs.Ffree)
|
/dports/net-p2p/dclib/dclib-0.3.23/m4/ |
H A D | fsusage.m4 | 84 struct statfs fsd; 86 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 101 AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl 117 struct statfs fsd; 119 return statfs (".", &fsd) != 0; 128 [ Define if statfs takes 2 args and struct statfs has a field named f_bsize. 138 #include <sys/statfs.h> 142 struct statfs fsd; 158 AC_MSG_CHECKING([for two-argument statfs with statfs.fsize dnl 171 struct statfs fsd; [all …]
|
/dports/sysutils/toybox/toybox-0.8.5/toys/other/ |
H A D | stat.c | 48 struct statfs sf; 137 struct statfs *statfs = (struct statfs *)&TT.stat; in print_statfs() local 139 if (type == 'a') out('u', statfs->f_bavail); in print_statfs() 140 else if (type == 'b') out('u', statfs->f_blocks); in print_statfs() 141 else if (type == 'c') out('u', statfs->f_files); in print_statfs() 142 else if (type == 'd') out('u', statfs->f_ffree); in print_statfs() 143 else if (type == 'f') out('u', statfs->f_bfree); in print_statfs() 145 else if (type == 't') out('x', statfs->f_type); in print_statfs() 146 else if (type == 'T') strout(fs_type_name(statfs)); in print_statfs() 148 int *val = (int *) &statfs->f_fsid; in print_statfs() [all …]
|
/dports/net/rclone/rclone-1.57.0/vendor/github.com/hanwen/go-fuse/v2/fuse/ |
H A D | types_linux.go | 125 func (s *StatfsOut) FromStatfsT(statfs *syscall.Statfs_t) { 126 s.Blocks = statfs.Blocks 127 s.Bsize = uint32(statfs.Bsize) 128 s.Bfree = statfs.Bfree 129 s.Bavail = statfs.Bavail 130 s.Files = statfs.Files 131 s.Ffree = statfs.Ffree 132 s.Frsize = uint32(statfs.Frsize) 133 s.NameLen = uint32(statfs.Namelen)
|
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/stat/ |
H A D | statvfs.c | 6 int __statfs(const char *path, struct statfs *buf) in __statfs() 8 *buf = (struct statfs){0}; in __statfs() 16 int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 18 *buf = (struct statfs){0}; in __fstatfs() 26 weak_alias(__statfs, statfs); 29 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 47 struct statfs kbuf; in statvfs() 55 struct statfs kbuf; in fstatvfs() 62 LFS64(statfs);
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|