Lines Matching refs:statfsbuf
1924 int parse_statfs(const UInt8 *xmlp, CFIndex xmlp_len, struct statfs *statfsbuf)
1934 bzero((void *)statfsbuf, sizeof(struct statfs));
1963 /* stuff the results into statfsbuf */
1964 statfsbuf->f_bsize = bsize;
1966 statfsbuf->f_blocks = total_blocks;
1967 statfsbuf->f_bavail = statfsbuf->f_bfree = quotas.quota_available_bytes / bsize;
1969 statfsbuf->f_blocks = (long)total_blocks;
1970 statfsbuf->f_bavail = statfsbuf->f_bfree = (long)(quotas.quota_available_bytes / bsize);
1973 /* else we were handed values we cannot represent so leave statfsbuf zeroed (no quota support for this file system) */
1981 statfsbuf->f_bavail = statfsbuf->f_bfree = (quotas.quota - quotas.quotaused);
1983 statfsbuf->f_bavail = statfsbuf->f_bfree = (long)(quotas.quota - quotas.quotaused);
1988 statfsbuf->f_bavail = statfsbuf->f_bfree = 0;
1991 statfsbuf->f_blocks = quotas.quota;
1993 statfsbuf->f_blocks = (long)quotas.quota;
1995 statfsbuf->f_bsize = S_BLKSIZE;
1998 statfsbuf->f_iosize = WEBDAV_IOSIZE;