Lines Matching refs:mount
122 int hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context);
125 static int hfs_changefs(struct mount *mp, struct hfs_mount_args *args);
126 static int hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, vfs_context_t context);
127 static int hfs_flushfiles(struct mount *, int, struct proc *);
131 static int hfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context);
132 static int hfs_mountfs(struct vnode *devvp, struct mount *mp, struct hfs_mount_args *args, int journal_replay_only, vfs_context_t context);
133 static int hfs_reload(struct mount *mp);
134 static int hfs_vfs_root(struct mount *mp, struct vnode **vpp, vfs_context_t context);
135 static int hfs_quotactl(struct mount *, int, uid_t, caddr_t, vfs_context_t context);
136 static int hfs_start(struct mount *mp, int flags, vfs_context_t context);
137 static int hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, vfs_context_t context);
138 static int hfs_sync(struct mount *mp, int waitfor, vfs_context_t context);
141 static int hfs_unmount(struct mount *mp, int mntflags, vfs_context_t context);
191 * mount system call
195 hfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context)
291 * On inconsistent disks, do not allow read-write mount
339 /* If this mount point was downgraded from read-write
378 /* Set the mount flag to indicate that we support volfs */
455 /* Change fs mount parameters */
457 hfs_changefs(struct mount *mp, struct hfs_mount_args *args)
569 * hung off of this mount point
650 * Things to do to update the mount:
660 hfs_reload(struct mount *mountp)
690 * hung off of this mount point that can't be recycled...
925 * Common code for mount and mountroot
928 hfs_mountfs(struct vnode *devvp, struct mount *mp, struct hfs_mount_args *args,
1107 /* Even w/o explicit mount arguments, MNT_UNKNOWNPERMISSIONS requires setting up uid, gid, and mask: */
1241 * On inconsistent disks, do not allow read-write mount
1263 // to mount this volume was journaling aware. Otherwise
1274 // if we're able to init the journal, mark the mount
1418 // save off a snapshot of the mtime from the previous mount
1533 hfs_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t context)
1543 hfs_unmount(struct mount *mp, int mntflags, vfs_context_t context)
1735 hfs_vfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t context)
1746 hfs_quotactl(__unused struct mount *mp, __unused int cmds, __unused uid_t uid, __unused caddr_t datap, __unused vfs_context_t context)
1752 hfs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t datap, vfs_context_t context)
1830 hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, __unused vfs_context_t context)
1883 struct mount *mp = (struct mount *)arg;
1971 hfs_sync(struct mount *mp, int waitfor, vfs_context_t context)
2003 * hung off of this mount point... the vnode will be
2102 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context)
2415 printf("hfs: disabling journaling for mount @ %p\n", vnode_mount(vp));
2470 struct mount *mp;
2525 hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, __unused vfs_context_t context)
2735 hfs_flushfiles(struct mount *mp, int flags, struct proc *p)
2737 hfs_flushfiles(struct mount *mp, int flags, __unused struct proc *p)
2988 * Flush any dirty in-memory mount data to the on-disk
4843 hfs_vfs_getattr(struct mount *mp, struct vfs_attr *fsap, __unused vfs_context_t context)
5104 hfs_vfs_setattr(struct mount *mp, struct vfs_attr *fsap, __unused vfs_context_t context)
5151 printf("HFS: Runtime corruption detected on %s, fsck will be forced on next mount.\n", hfsmp->vcbVN);
5162 struct mount *mp = NULL;
5177 /* Create dummy mount structures */
5178 MALLOC(mp, struct mount *, sizeof(struct mount), M_TEMP, M_WAITOK);
5179 bzero(mp, sizeof(struct mount));