Lines Matching defs:sfs
3069 struct user_statfs sfs;
3070 bzero(&sfs, sizeof(sfs));
3071 sfs.f_flags = mp->mnt_flag & MNT_VISFLAGMASK;
3072 sfs.f_type = mp->mnt_vtable->vfc_typenum;
3073 sfs.f_bsize = (user_long_t)sp->f_bsize;
3074 sfs.f_iosize = (user_long_t)sp->f_iosize;
3075 sfs.f_blocks = (user_long_t)sp->f_blocks;
3076 sfs.f_bfree = (user_long_t)sp->f_bfree;
3077 sfs.f_bavail = (user_long_t)sp->f_bavail;
3078 sfs.f_files = (user_long_t)sp->f_files;
3079 sfs.f_ffree = (user_long_t)sp->f_ffree;
3080 sfs.f_fsid = sp->f_fsid;
3081 sfs.f_owner = sp->f_owner;
3083 strlcpy(sfs.f_fstypename, sp->f_fstypename, MFSNAMELEN);
3084 strlcpy(sfs.f_mntonname, sp->f_mntonname, MNAMELEN);
3085 strlcpy(sfs.f_mntfromname, sp->f_mntfromname, MNAMELEN);
3087 error = SYSCTL_OUT(req, &sfs, sizeof(sfs));
3090 struct statfs sfs;
3091 bzero(&sfs, sizeof(struct statfs));
3092 sfs.f_flags = mp->mnt_flag & MNT_VISFLAGMASK;
3093 sfs.f_type = mp->mnt_vtable->vfc_typenum;
3119 sfs.f_blocks = (long)__SHIFT_OR_CLIP(sp->f_blocks, shift);
3120 sfs.f_bfree = (long)__SHIFT_OR_CLIP(sp->f_bfree, shift);
3121 sfs.f_bavail = (long)__SHIFT_OR_CLIP(sp->f_bavail, shift);
3123 sfs.f_bsize = (long)(sp->f_bsize << shift);
3124 sfs.f_iosize = lmax(sp->f_iosize, sp->f_bsize);
3126 sfs.f_bsize = (long)sp->f_bsize;
3127 sfs.f_iosize = (long)sp->f_iosize;
3128 sfs.f_blocks = (long)sp->f_blocks;
3129 sfs.f_bfree = (long)sp->f_bfree;
3130 sfs.f_bavail = (long)sp->f_bavail;
3132 sfs.f_files = (long)sp->f_files;
3133 sfs.f_ffree = (long)sp->f_ffree;
3134 sfs.f_fsid = sp->f_fsid;
3135 sfs.f_owner = sp->f_owner;
3137 strlcpy(sfs.f_fstypename, sp->f_fstypename, MFSNAMELEN);
3138 strlcpy(sfs.f_mntonname, sp->f_mntonname, MNAMELEN);
3139 strlcpy(sfs.f_mntfromname, sp->f_mntfromname, MNAMELEN);
3141 error = SYSCTL_OUT(req, &sfs, sizeof(sfs));