/freebsd-10.0-release/contrib/amd/conf/checkmount/ |
H A D | checkmount_bsd44.c | 55 struct statfs *mntbufp, *mntp; local 66 mntp = mntbufp; 68 if ((colon = strchr(mntp->f_mntfromname, ':'))) { 71 is_same_host(mntp->f_mntfromname, host, hostaddr))
|
/freebsd-10.0-release/contrib/amd/conf/mtab/ |
H A D | mtab_bsd.c | 112 struct statfs *mntbufp, *mntp; local 121 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) { 130 (*mpp)->mnt = mnt_dup(mntp);
|
/freebsd-10.0-release/sbin/fsck_ffs/ |
H A D | main.c | 71 static int chkdoreload(struct statfs *mntp); 218 struct statfs *mntp; local 240 mntp = getmntpt(filesys); 241 if (mntp != NULL) 242 filesys = mntp->f_mntfromname; 264 if ((mntp == NULL && sblock.fs_clean == 1) || 265 (mntp != NULL && (sblock.fs_flags & FS_UNCLEAN) == 0)) 285 if (chkdoreload(mntp) == 0) 302 if (mntp == NULL) { 305 } else if ((mntp 567 chkdoreload(struct statfs *mntp) argument [all...] |
/freebsd-10.0-release/contrib/amd/libamu/ |
H A D | mount_fs.c | 121 compute_mount_flags(mntent_t *mntp) argument 137 flags |= amu_hasmntopt(mntp, opt->opt) ? opt->flag : 0; 146 compute_automounter_mount_flags(mntent_t *mntp) argument 336 compute_nfs_attrcache_flags(nfs_args_t *nap, mntent_t *mntp) argument 358 err_acval = hasmntvalerr(mntp, MNTTAB_OPT_ACTIMEO, &acval); /* attr cache timeout (sec) */ 368 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACREGMIN, (int *) &nap->acregmin); 387 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACREGMAX, (int *) &nap->acregmax); 406 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACDIRMIN, (int *) &nap->acdirmin); 425 err_acrdmm = hasmntvalerr(mntp, MNTTAB_OPT_ACDIRMAX, (int *) &nap->acdirmax); 440 if (amu_hasmntopt(mntp, MNTTAB_OPT_NOA 461 compute_nfs_args(nfs_args_t *nap, mntent_t *mntp, int genflags, struct netconfig *nfsncp, struct sockaddr_in *ip_addr, u_long nfs_version, char *nfs_proto, am_nfs_handle_t *fhp, char *host_name, char *fs_name) argument 803 compute_automounter_nfs_args(nfs_args_t *nap, mntent_t *mntp) argument [all...] |
/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 95 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, argument 107 nmp = VFSTONFS(mntp); 116 error = vfs_hash_get(mntp, hash, lkflags, 127 error = getnewvnode("newnfs", mntp, &newnfs_vnodeops, &nvp); 165 error = insmntque(vp, mntp);
|
H A D | nfs_clport.c | 111 nfscl_nget(struct mount *mntp, struct vnode *dvp, struct nfsfh *nfhp, argument 122 nmp = VFSTONFS(mntp); 128 error = vfs_hash_get(mntp, hash, lkflags, 202 error = getnewvnode("newnfs", mntp, &newnfs_vnodeops, &nvp); 257 error = insmntque(vp, mntp); 293 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, argument 303 if ((mntp->mnt_kern_flag & MNTK_UNMOUNTF)) 315 error = vfs_hash_get(mntp, hash, (LK_EXCLUSIVE | LK_NOWAIT), td, &nvp, 330 if ((mntp->mnt_kern_flag & MNTK_UNMOUNTF)) 333 error = vfs_hash_get(mntp, has [all...] |
/freebsd-10.0-release/sys/nfsclient/ |
H A D | nfs_node.c | 105 nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int flags) argument 116 nmp = VFSTONFS(mntp); 123 error = vfs_hash_get(mntp, hash, flags, 133 error = getnewvnode("nfs", mntp, &nfs_vnodeops, &nvp); 161 error = insmntque(vp, mntp);
|
/freebsd-10.0-release/sbin/fsck/ |
H A D | fsck.c | 188 struct statfs *mntp; local 198 mntp = getmntpt(spec); 199 if (mntp != NULL) { 200 spec = mntp->f_mntfromname; 201 mntpt = mntp->f_mntonname;
|
/freebsd-10.0-release/sys/fs/msdosfs/ |
H A 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.0-release/contrib/amd/include/ |
H A D | am_utils.h | 313 extern void compute_automounter_nfs_args(nfs_args_t *nap, mntent_t *mntp); 370 extern void compute_nfs_args(nfs_args_t *nap, mntent_t *mntp, int genflags, struct netconfig *nfsncp, struct sockaddr_in *ip_addr, u_long nfs_version, char *nfs_proto, am_nfs_handle_t *fhp, char *host_name, char *fs_name);
|
/freebsd-10.0-release/sys/nfsserver/ |
H A D | nfs_serv.c | 987 struct mount *mntp = NULL; local 997 if ((mntp = vfs_getvfs(&fhp->fh_fsid)) == NULL) { 1001 (void) vn_start_write(NULL, &mntp, V_WAIT); 1002 vfs_rel(mntp); /* The write holds a ref. */ 1168 vn_finished_write(mntp); 2929 struct mount *mntp = NULL; local 2957 mntp = vp->v_mount; 3108 error = VFS_VGET(mntp, dp->d_fileno, LK_SHARED, 3268 if (mntp) 3269 vfs_unbusy(mntp); [all...] |
/freebsd-10.0-release/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 2574 ufs_vinit(mntp, fifoops, vpp) 2575 struct mount *mntp;
|
/freebsd-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_vnops.c | 1502 ext2_vinit(struct mount *mntp, struct vop_vector *fifoops, struct vnode **vpp) argument
|