Searched refs:sfsp (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/bin/df/
H A Ddf.c395 prthuman(const struct statvfs *sfsp, int64_t used, int64_t bavail) argument
398 prthumanval((int64_t)(sfsp->f_blocks * sfsp->f_frsize), blksize_width);
399 prthumanval((int64_t)(used * sfsp->f_frsize), 1 + blksize_width);
400 prthumanval((int64_t)(bavail * sfsp->f_frsize), 1 + blksize_width);
413 addstat(struct statvfs *totalfsp, const struct statvfs *sfsp) argument
417 frsize = sfsp->f_frsize / totalfsp->f_frsize;
418 totalfsp->f_blocks += sfsp->f_blocks * frsize;
419 totalfsp->f_bfree += sfsp->f_bfree * frsize;
420 totalfsp->f_bavail += sfsp
432 prtstat(const struct statvfs *sfsp, int maxwidth) argument
[all...]
/netbsd-current/sys/compat/netbsd32/
H A Dnetbsd32_compat_20.c99 void *sfsp; local
105 sfsp = SCARG_P32(uap, buf);
109 if (sfsp && count < maxcount) {
116 error = copyout(&sb32, sfsp, sizeof(sb32));
119 sfsp = (char *)sfsp + sizeof(sb32);
133 if (sfsp) {
135 error = copyout(&sb32, sfsp, sizeof(sb32));
142 if (sfsp && count > maxcount)
/netbsd-current/sys/compat/ultrix/
H A Dultrix_fs.c211 struct ultrix_fs_data *sfsp; local
223 sfsp = SCARG(uap, buf);
259 if (sfsp != NULL) {
277 if ((error = copyout((void *)&tem, sfsp,
281 sfsp++;
287 if (sfsp != NULL && count > maxcount)
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-nfs.c1262 const struct nfs_statfs *sfsp; local
1284 sfsp = (const struct nfs_statfs *)dp;
1288 GET_BE_U_8(sfsp->sf_tbytes),
1289 GET_BE_U_8(sfsp->sf_fbytes),
1290 GET_BE_U_8(sfsp->sf_abytes));
1293 GET_BE_U_8(sfsp->sf_tfiles),
1294 GET_BE_U_8(sfsp->sf_ffiles),
1295 GET_BE_U_8(sfsp->sf_afiles),
1296 GET_BE_U_4(sfsp->sf_invarsec));
1300 GET_BE_U_4(sfsp
[all...]
/netbsd-current/sys/kern/
H A Dvfs_syscalls.c1395 do_sys_getvfsstat(struct lwp *l, void *sfsp, size_t bufsize, int flags, argument
1412 if (sfsp && count < maxcount) {
1418 error = copyfn(sb, sfsp, entry_sz);
1421 sfsp = (char *)sfsp + entry_sz;
1435 if (sfsp) {
1436 error = copyfn(sb, sfsp, entry_sz);
1442 if (sfsp && count > maxcount)

Completed in 224 milliseconds