statfs12
__compat_getmntinfo(struct statfs12 **mntbufp, int flags)
static struct statfs12 *mntbuf;
while (bufsize <= mntsize * sizeof(struct statfs12)) {
bufsize = (mntsize + 1) * sizeof(struct statfs12);
__compat_getfsstat(struct statfs12 *ost, long size, int flags)
__compat_statfs(const char *file, struct statfs12 *ost)
__compat_fstatfs(int f, struct statfs12 *ost)
__compat_fhstatfs(const struct compat_30_fhandle *fh, struct statfs12 *ost)
sizeof(struct statfs12), retval);
statvfs_to_statfs12(const struct statvfs *fs, struct statfs12 *s12)
struct statfs12 *s12 = kmem_zalloc(sizeof(*s12), KM_SLEEP);
int __compat_fstatfs(int, struct statfs12 *) __dso_hidden;
int __compat_getfsstat(struct statfs12 *, long, int) __dso_hidden;
int __compat_statfs(const char *, struct statfs12 *) __dso_hidden;
int __compat_getmntinfo(struct statfs12 **, int) __dso_hidden;
int __compat_fhstatfs(const struct compat_30_fhandle *, struct statfs12 *)
syscallarg(struct statfs12 *) buf;
syscallarg(struct statfs12 *) buf;
syscallarg(struct statfs12 *) buf;
syscallarg(struct statfs12 *) buf;