| /freebsd-10-stable/contrib/amd/libamu/ |
| D | mount_fs.c | 142 compute_mount_flags(mntent_t *mntp) in compute_mount_flags() argument 158 flags |= amu_hasmntopt(mntp, opt->opt) ? opt->flag : 0; in compute_mount_flags() 167 compute_automounter_mount_flags(mntent_t *mntp) in compute_automounter_mount_flags() argument 372 compute_nfs_attrcache_flags(struct nfs_common_args *nap, mntent_t *mntp) in compute_nfs_attrcache_flags() argument 394 err_acval = hasmntvalerr(mntp, MNTTAB_OPT_ACTIMEO, &acval); /* attr cache timeout (sec) */ in compute_nfs_attrcache_flags() 405 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACREGMIN, &tmp); in compute_nfs_attrcache_flags() 426 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACREGMAX, &tmp); in compute_nfs_attrcache_flags() 447 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACDIRMIN, &tmp); in compute_nfs_attrcache_flags() 468 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACDIRMAX, &tmp); in compute_nfs_attrcache_flags() 484 if (amu_hasmntopt(mntp, MNTTAB_OPT_NOAC) != NULL) in compute_nfs_attrcache_flags() [all …]
|
| /freebsd-10-stable/sbin/fsck_ffs/ |
| D | main.c | 74 static int chkdoreload(struct statfs *mntp); 229 struct statfs *mntp; in checkfilesys() local 254 mntp = getmntpt(filesys); in checkfilesys() 255 if (mntp != NULL) in checkfilesys() 256 filesys = mntp->f_mntfromname; in checkfilesys() 278 if ((mntp == NULL && sblock.fs_clean == 1) || in checkfilesys() 279 (mntp != NULL && (sblock.fs_flags & FS_UNCLEAN) == 0)) in checkfilesys() 299 if (chkdoreload(mntp) == 0) in checkfilesys() 316 if (mntp == NULL) { in checkfilesys() 319 } else if ((mntp->f_flags & MNT_SOFTDEP) == 0) { in checkfilesys() [all …]
|
| /freebsd-10-stable/contrib/amd/conf/mtab/ |
| D | mtab_bsd.c | 111 struct statfs *mntbufp, *mntp; in read_mtab() local 120 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) { in read_mtab() 129 (*mpp)->mnt = mnt_dup(mntp); in read_mtab()
|
| /freebsd-10-stable/contrib/amd/conf/checkmount/ |
| D | checkmount_bsd44.c | 54 struct statfs *mntbufp, *mntp; in fixmount_check_mount() local 65 mntp = mntbufp; in fixmount_check_mount() 67 if ((colon = strchr(mntp->f_mntfromname, ':'))) { in fixmount_check_mount() 70 is_same_host(mntp->f_mntfromname, host, hostaddr)) in fixmount_check_mount()
|
| /freebsd-10-stable/sys/nfsclient/ |
| D | nfs_node.c | 105 nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int flags) in nfs_nget() argument 116 nmp = VFSTONFS(mntp); in nfs_nget() 123 error = vfs_hash_get(mntp, hash, flags, in nfs_nget() 133 error = getnewvnode("nfs", mntp, &nfs_vnodeops, &nvp); in nfs_nget() 161 error = insmntque(vp, mntp); in nfs_nget()
|
| /freebsd-10-stable/sys/fs/nfsclient/ |
| D | nfs_clnode.c | 97 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, in ncl_nget() argument 109 nmp = VFSTONFS(mntp); in ncl_nget() 118 error = vfs_hash_get(mntp, hash, lkflags, in ncl_nget() 129 error = getnewvnode(nfs_vnode_tag, mntp, &newnfs_vnodeops, &nvp); in ncl_nget() 167 error = insmntque(vp, mntp); in ncl_nget()
|
| D | nfs_clport.c | 110 nfscl_nget(struct mount *mntp, struct vnode *dvp, struct nfsfh *nfhp, in nfscl_nget() argument 121 nmp = VFSTONFS(mntp); in nfscl_nget() 127 error = vfs_hash_get(mntp, hash, lkflags, in nfscl_nget() 201 error = getnewvnode(nfs_vnode_tag, mntp, &newnfs_vnodeops, &nvp); in nfscl_nget() 256 error = insmntque(vp, mntp); in nfscl_nget() 292 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, in nfscl_ngetreopen() argument 302 if ((mntp->mnt_kern_flag & MNTK_UNMOUNTF)) in nfscl_ngetreopen() 314 error = vfs_hash_get(mntp, hash, (LK_EXCLUSIVE | LK_NOWAIT), td, &nvp, in nfscl_ngetreopen() 325 if ((mntp->mnt_kern_flag & MNTK_UNMOUNTF)) in nfscl_ngetreopen() 328 vfs_hash_ref(mntp, hash, td, &nvp, newnfs_vncmpf, nfhp); in nfscl_ngetreopen()
|
| /freebsd-10-stable/sbin/fsck/ |
| D | fsck.c | 198 struct statfs *mntp; in main() local 208 mntp = getmntpt(spec); in main() 209 if (mntp != NULL) { in main() 210 spec = mntp->f_mntfromname; in main() 211 mntpt = mntp->f_mntonname; in main()
|
| /freebsd-10-stable/sys/fs/msdosfs/ |
| D | msdosfs_denode.c | 103 struct mount *mntp = pmp->pm_mountp; local 135 error = vfs_hash_get(mntp, inode, LK_EXCLUSIVE, curthread, &nvp, 152 error = getnewvnode("msdosfs", mntp, &msdosfs_vnodeops, &nvp); 166 error = insmntque(nvp, mntp);
|
| /freebsd-10-stable/contrib/amd/include/ |
| D | am_utils.h | 318 extern void compute_automounter_nfs_args(nfs_args_t *nap, mntent_t *mntp); 377 extern void compute_nfs_args(void *nap, mntent_t *mntp, int genflags, struct netconfig *nfsncp, str…
|
| /freebsd-10-stable/sys/nfsserver/ |
| D | nfs_serv.c | 988 struct mount *mntp = NULL; in nfsrv_write() local 998 if ((mntp = vfs_getvfs(&fhp->fh_fsid)) == NULL) { in nfsrv_write() 1002 (void) vn_start_write(NULL, &mntp, V_WAIT); in nfsrv_write() 1003 vfs_rel(mntp); /* The write holds a ref. */ in nfsrv_write() 1169 vn_finished_write(mntp); in nfsrv_write() 2928 struct mount *mntp = NULL; in nfsrv_readdirplus() local 2956 mntp = vp->v_mount; in nfsrv_readdirplus() 3105 error = VFS_VGET(mntp, dp->d_fileno, LK_SHARED, in nfsrv_readdirplus() 3265 if (mntp) in nfsrv_readdirplus() 3266 vfs_unbusy(mntp); in nfsrv_readdirplus()
|
| /freebsd-10-stable/sys/ufs/ufs/ |
| D | ufs_vnops.c | 2562 ufs_vinit(mntp, fifoops, vpp) in ufs_vinit() argument 2563 struct mount *mntp; in ufs_vinit()
|
| /freebsd-10-stable/sys/fs/ext2fs/ |
| D | ext2_vnops.c | 1504 ext2_vinit(struct mount *mntp, struct vop_vector *fifoops, struct vnode **vpp) in ext2_vinit() argument
|