Searched refs:statfs (Results 1 - 25 of 139) sorted by relevance

123456

/macosx-10.10/bless-103/libbless/HFS/
H A DBLIsMountHFS.c39 struct statfs sc;
43 err = statfs(mountpt, &sc);
45 contextprintf(context, kBLLogLevelError, "Could not statfs() %s\n", mountpt );
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dgetmntinfo.c46 struct statfs **mntbufp;
49 static struct statfs *mntbuf;
57 while (bufsize <= mntsize * sizeof(struct statfs)) {
60 bufsize = (mntsize + 1) * sizeof(struct statfs);
61 if ((mntbuf = (struct statfs *)malloc(bufsize)) == 0)
/macosx-10.10/bless-103/libbless/Misc/
H A DBLGetCommonMountPoint.c46 struct statfs fsinfo;
51 err = statfs(f1, &fsinfo);
63 err = statfs(f2, &fsinfo);
H A DBLMiscUtilities.c57 int blsustatfs(const char *path, struct statfs *buf)
63 ret = statfs(path, buf);
/macosx-10.10/Libc-1044.1.2/emulated/
H A Dstatvfs.c35 cvt_statfs_to_statvfs(struct statfs *from, struct statvfs *to)
63 struct statfs cvt;
76 struct statfs cvt;
78 if ((rv = statfs(path, &cvt)) == 0)
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dstatvfs.c40 #include <sys/statfs.h>
55 #define FSTATFS(a,b) fstatfs(a,b,sizeof(struct statfs),0)
56 #define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0)
59 #define STATFS(a,b) statfs(a,b)
67 us2v(register struct statfs* ufs, register struct stat* st, register struct statvfs* vfs)
91 struct statfs ufs;
103 struct statfs ufs;
/macosx-10.10/postfix-255/postfix/src/util/
H A Dfsspace.c52 #include <sys/statfs.h>
55 #error "please specify the include file with `struct statfs'"
76 if (statfs(path, &fsbuf) < 0)
77 msg_fatal("statfs %s: %m", path);
81 struct statfs fsbuf;
83 if (statfs(path, &fsbuf) < 0)
84 msg_fatal("statfs %s: %m", path);
/macosx-10.10/uucp-11/uucp/unix/
H A Dfsusg.c26 int statfs ();
49 #include <sys/statfs.h>
135 struct statfs fsd;
137 if (statfs (path, &fsd, sizeof (struct statfs)) != 0)
145 if (statfs (path, &fsd) != 1)
156 struct statfs fsd;
158 if (statfs (path, &fsd) < 0)
164 struct statfs fsd;
166 if (statfs (pat
309 statfs (path, fsb) function
[all...]
/macosx-10.10/bless-103/
H A Dminibless.c53 struct statfs sb;
61 if(0 != statfs(mountpath, &sb)) {
H A Dunbless.c50 struct statfs sb;
60 ret = statfs(mntpnt, &sb);
62 err(1, "statfs(%s)", mntpnt);
H A DmodeUnbless.c52 struct statfs sb;
72 if(0 != statfs(actargs[kmount].argument, &sb)) {
73 blesscontextprintf(context, kBLLogLevelError, "Can't statfs %s\n" ,
/macosx-10.10/diskdev_cmds-576/mount_fdesc.tproj/
H A Dmount_fdesc.c88 struct statfs fs;
113 if (statfs(dir, &fs) == -1) {
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-statvfs.h24 #include <sys/statfs.h>
/macosx-10.10/bless-103/test/
H A Dtestgetfileid.c51 struct statfs sf;
61 require_noerr(statfs(path, &sf), cantStat);
94 struct statfs sf;
101 require_noerr(statfs(path, &sf), cantStat2);
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A D32bit_inode_tests.c12 * versions of statfs functions and getdirentries doesn't support 64-bit inodes.
52 struct statfs my_statfs_buf;
56 my_err = statfs( &g_target_path[0], &my_statfs_buf );
58 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
150 * Test 32-bit inode versions of statfs, fstatfs, and getfsstat system calls.
170 struct statfs * my_statfsp;
177 my_buffer_size = (sizeof(struct statfs) * 10);
184 my_statfsp = (struct statfs *) my_bufferp;
185 my_err = statfs( "/", my_statfsp );
187 printf( "statfs cal
[all...]
/macosx-10.10/NFS-82/ncdestroy/
H A Dncdestroy.c54 struct statfs *mounts;
55 struct statfs fsbuf;
77 error = statfs(argv[i], &fsbuf);
/macosx-10.10/smb-759.0/smbutil/
H A Dcommon.h51 struct statfs *smb_getfsstat(int *fs_cnt);
/macosx-10.10/system_cmds-643.1.1/dynamic_pager.tproj/
H A Ddynamic_pager.c52 struct statfs sfs;
86 if (statfs(tmp, &sfs) == -1) {
/macosx-10.10/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/
H A Dos-sunos4.h81 struct statfs;
83 int fstatfs(int, struct statfs *);
169 int statfs(char *, struct statfs *);
/macosx-10.10/libpcap-48/libpcap/lbl/
H A Dos-sunos4.h81 struct statfs;
83 int fstatfs(int, struct statfs *);
169 int statfs(char *, struct statfs *);
/macosx-10.10/tcpdump-61/tcpdump/lbl/
H A Dos-sunos4.h81 struct statfs;
83 int fstatfs(int, struct statfs *);
169 int statfs(char *, struct statfs *);
/macosx-10.10/xar-254/xar/lib/
H A Dlinuxattr.c56 #include <sys/statfs.h>
141 struct statfs sfs;
171 statfs(file, &sfs);
208 struct statfs sfs;
223 if( statfs(file, &sfs) != 0 ) {
227 statfs(bname, &sfs);
/macosx-10.10/diskdev_cmds-576/quotaon.tproj/
H A Dquotaon.c101 int hasquota(register struct statfs *, int, char **);
102 int quotaonoff(register struct statfs *, int, int, char *);
119 struct statfs *fst;
234 register struct statfs *fst;
312 register struct statfs *fst;
387 struct statfs fsbuf;
389 if (statfs(fs->fs_file, &fsbuf) < 0 ||
/macosx-10.10/file_cmds-242/df/
H A Ddf.c127 void prthuman(struct statfs *, uint64_t);
129 void prtstat(struct statfs *, struct maxwidths *);
130 long regetmntinfo(struct statfs **, long, char **);
132 void update_maxwidths(struct maxwidths *, struct statfs *);
146 struct statfs statfsbuf, *mntbuf;
286 if (statfs(mntpt, &statfsbuf) < 0) {
314 struct statfs *mntbuf;
327 * current (not cached) info. Returns the new count of valid statfs bufs.
330 regetmntinfo(struct statfs **mntbufp, long mntsize, char **vfslist)
333 struct statfs *mntbu
[all...]
/macosx-10.10/diskdev_cmds-576/mount.tproj/
H A Dmount.c77 struct statfs *getmntpt __P((const char *));
85 void prmount __P((struct statfs *));
122 struct statfs *mntbuf;
339 struct statfs *mntbuf;
366 struct statfs sf;
459 if (statfs(name, &sf) < 0) {
460 warn("statfs %s", name);
473 struct statfs *sfp;
498 struct statfs *
502 struct statfs *mntbu
[all...]

Completed in 291 milliseconds

123456