Lines Matching defs:statfs
48 struct statfs sf;
137 struct statfs *statfs = (struct statfs *)&TT.stat;
139 if (type == 'a') out('u', statfs->f_bavail);
140 else if (type == 'b') out('u', statfs->f_blocks);
141 else if (type == 'c') out('u', statfs->f_files);
142 else if (type == 'd') out('u', statfs->f_ffree);
143 else if (type == 'f') out('u', statfs->f_bfree);
147 // (glibc and bionic will just re-do the statfs and return f_namelen.)
150 out('d', statfs->f_namelen);
152 } else if (type == 't') out('x', statfs->f_type);
168 if (nn[i].num == statfs->f_type) s = nn[i].name;
171 int *val = (int *) &statfs->f_fsid;
176 } else if (type == 's') out('d', statfs->f_frsize);
177 else if (type == 'S') out('d', statfs->f_bsize);
206 if (flagf && !statfs(TT.file, (void *)&TT.stat));