Lines Matching defs:mstat
472 struct statfs *mstat;
481 mstat = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK | M_ZERO);
483 error = VFS_STATFS(ump->um_lowermp, mstat);
485 free(mstat, M_STATFS);
490 sbp->f_blocks = mstat->f_blocks;
491 sbp->f_files = mstat->f_files;
493 lbsize = mstat->f_bsize;
495 error = VFS_STATFS(ump->um_uppermp, mstat);
497 free(mstat, M_STATFS);
505 sbp->f_type = mstat->f_type;
506 sbp->f_flags = mstat->f_flags;
507 sbp->f_bsize = mstat->f_bsize;
508 sbp->f_iosize = mstat->f_iosize;
510 if (mstat->f_bsize != lbsize)
512 mstat->f_bsize;
514 sbp->f_blocks += mstat->f_blocks;
515 sbp->f_bfree = mstat->f_bfree;
516 sbp->f_bavail = mstat->f_bavail;
517 sbp->f_files += mstat->f_files;
518 sbp->f_ffree = mstat->f_ffree;
520 free(mstat, M_STATFS);