Lines Matching refs:mntp
77 static int setup_bkgrdchk(struct statfs *mntp, int sbrdfailed, char **filesys);
242 struct statfs *mntp; in checkfilesys() local
258 mntp = getmntpoint(filesys); in checkfilesys()
259 if (mntp != NULL) in checkfilesys()
260 filesys = mntp->f_mntfromname; in checkfilesys()
291 if ((mntp == NULL && sblock.fs_clean == 1) || in checkfilesys()
292 (mntp != NULL && (sblock.fs_flags & FS_UNCLEAN) == 0)) in checkfilesys()
318 if (chkdoreload(mntp, pwarn) == 0) in checkfilesys()
330 switch (setup_bkgrdchk(mntp, sbreadfailed, &filesys)) { in checkfilesys()
365 if (chkdoreload(mntp, pwarn) == 0) in checkfilesys()
449 if (mntp != NULL && mntp->f_flags & MNT_ROOTFS) in checkfilesys()
564 if (bkgrdflag == 0 && mntp != NULL && (mntp->f_flags & MNT_RDONLY) == 0) in checkfilesys()
576 if (chkdoreload(mntp, pwarn) != 0) { in checkfilesys()
598 setup_bkgrdchk(struct statfs *mntp, int sbreadfailed, char **filesys) in setup_bkgrdchk() argument
608 if (mntp == NULL) { in setup_bkgrdchk()
612 if ((mntp->f_flags & MNT_RDONLY) != 0) { in setup_bkgrdchk()
616 if ((mntp->f_flags & MNT_SOFTDEP) == 0) { in setup_bkgrdchk()
668 snprintf(snapname, sizeof snapname, "%s/.snap", mntp->f_mntonname); in setup_bkgrdchk()
694 mntp->f_mntonname); in setup_bkgrdchk()
697 build_iovec(&iov, &iovlen, "fspath", mntp->f_mntonname, (size_t)-1); in setup_bkgrdchk()
702 while (nmount(iov, iovlen, mntp->f_flags) < 0) { in setup_bkgrdchk()