Lines Matching refs:sfs
113 struct statfs32 sfs; in cstatfs() local
130 bzero(&sfs, sizeof (sfs)); in cstatfs()
131 sfs.f_bsize = svfs.f_bsize; in cstatfs()
132 sfs.f_frsize = (svfs.f_frsize == svfs.f_bsize) ? 0 : svfs.f_frsize; in cstatfs()
133 sfs.f_blocks = svfs.f_blocks * (svfs.f_frsize / 512); in cstatfs()
134 sfs.f_bfree = svfs.f_bfree * (svfs.f_frsize / 512); in cstatfs()
135 sfs.f_files = svfs.f_files; in cstatfs()
136 sfs.f_ffree = svfs.f_ffree; in cstatfs()
139 cp2 = sfs.f_fname; in cstatfs()
141 while (i++ < sizeof (sfs.f_fname)) in cstatfs()
147 i++ < (sizeof (svfs.f_fstr) - sizeof (sfs.f_fpack))) in cstatfs()
149 (void) strncpy(sfs.f_fpack, cp + 1, sizeof (sfs.f_fpack)); in cstatfs()
151 sfs.f_fstyp = 0; in cstatfs()
153 sfs.f_fstyp = vswp - vfssw; in cstatfs()
157 if (copyout(&sfs, sbp, len)) in cstatfs()