| /dragonfly/sys/sys/ |
| HD | mount.h | 138 int (*io_sync) (struct mount *); 216 struct mount { struct 217 TAILQ_ENTRY(mount) mnt_list; /* mount list */ 266 RB_ENTRY(mount) mnt_node; /* mnt_stat.f_fsid */ argument 404 #define VFS_MPLOCK_DECLARE struct mount *xlock_mp 468 struct mount *np_mount; /* Mountpoint of exported fs */ 541 TAILQ_HEAD(mntlist, mount); /* struct mntlist */ 549 typedef int vfs_mount_t(struct mount *mp, char *path, caddr_t data, 551 typedef int vfs_start_t(struct mount *mp, int flags); 552 typedef int vfs_unmount_t(struct mount *mp, int mntflags); [all …]
|
| HD | vnode.h | 159 struct mount *v_mount; /* ptr to vfs we are in */ 193 struct mount *v_pfsmp; /* real mp for pfs/nullfs mt */ 416 struct mount; 436 int getnewvnode (enum vtagtype tag, struct mount *mp, 438 int getspecialvnode (enum vtagtype tag, struct mount *mp, 441 void speedup_syncer (struct mount *mp); 442 void trigger_syncer (struct mount *mp); 443 void trigger_syncer_start (struct mount *mp); 444 void trigger_syncer_stop (struct mount *mp); 450 void vfs_add_vnodeops(struct mount *, struct vop_ops *, struct vop_ops **); [all …]
|
| HD | namecache.h | 156 struct mount *mount; /* mount pt (possible overlay) */ member 188 struct mount; 190 void cache_clearmntcache(struct mount *mp); 213 void cache_allocroot(struct nchandle *nch, struct mount *mp, struct vnode *vp); 214 struct mount *cache_findmount(struct nchandle *nch); 215 void cache_dropmount(struct mount *mp); 216 void cache_ismounting(struct mount *mp); 217 void cache_unmounting(struct mount *mp); 229 void cache_purgevfs (struct mount *mp); 238 void cache_changemount(struct nchandle *nch, struct mount *mp);
|
| HD | vfs_quota.h | 40 void vq_init(struct mount *); 41 void vq_done(struct mount *); 48 struct mount* vq_vptomp(struct vnode *vp); 51 int vq_write_ok(struct mount *mp, uid_t uid, gid_t gid, uint64_t delta);
|
| /dragonfly/sys/kern/ |
| HD | vfs_mount.c | 91 struct mount *msi_node; 100 mount_cmp(struct mount *mnt1, struct mount *mnt2) in mount_cmp() 114 mount_fsid_cmp(fsid_t *fsid, struct mount *mnt) in mount_fsid_cmp() 127 RB_HEAD(mount_rb_tree, mount); 128 RB_PROTOTYPEX(mount_rb_tree, FSID, mount, mnt_node, mount_cmp, fsid_t *); 129 RB_GENERATE(mount_rb_tree, mount, mnt_node, mount_cmp); 130 RB_GENERATE_XLOOKUP(mount_rb_tree, FSID, mount, mnt_node, 140 static struct mount dummymount; 174 struct mount *mp = vp->v_mount; in vremovevnodemnt() 194 getnewvnode(enum vtagtype tag, struct mount *mp, in getnewvnode() [all …]
|
| HD | vfs_vfsops.c | 84 vfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in vfs_mount() 102 vfs_start(struct mount *mp, int flags) in vfs_start() 124 vfs_unmount(struct mount *mp, int mntflags) in vfs_unmount() 144 vfs_root(struct mount *mp, struct vnode **vpp) in vfs_root() 159 vfs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t arg, in vfs_quotactl() 175 vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in vfs_statfs() 190 vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in vfs_statvfs() 205 vfs_sync(struct mount *mp, int waitfor) in vfs_sync() 220 vfs_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in vfs_vget() 235 vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in vfs_fhtovp() [all …]
|
| HD | vfs_cache.c | 162 struct mount *mp; 163 struct mount *mp_target; 246 static int cache_resolve_mp(struct mount *mp, int adjgen); 247 static int cache_findmount_callback(struct mount *mp, void *data); 346 struct mount *mp; 389 _cache_mntref(struct mount *mp) in _cache_mntref() 392 struct mount *mpr; in _cache_mntref() 411 _cache_mntrel(struct mount *mp) in _cache_mntrel() 415 struct mount *mpr; in _cache_mntrel() 449 cache_clearmntcache(struct mount *target __unused) in cache_clearmntcache() [all …]
|
| HD | vfs_quota.c | 61 struct ac_unode* unode_insert(struct mount*, uid_t); 62 struct ac_gnode* gnode_insert(struct mount*, gid_t); 85 unode_insert(struct mount *mp, uid_t uid) in unode_insert() 99 gnode_insert(struct mount *mp, gid_t gid) in gnode_insert() 119 vq_init(struct mount *mp) in vq_init() 143 vq_done(struct mount *mp) in vq_done() 149 vfs_stdaccount(struct mount *mp, uid_t uid, gid_t gid, int64_t delta) in vfs_stdaccount() 175 cmd_get_usage_all(struct mount *mp, prop_array_t dict_out) in cmd_get_usage_all() 219 cmd_set_usage_all(struct mount *mp, prop_array_t args) in cmd_set_usage_all() 273 cmd_set_limit(struct mount *mp, prop_dictionary_t args) in cmd_set_limit() [all …]
|
| HD | vfs_jops.c | 75 static int journal_attach(struct mount *mp); 76 static void journal_detach(struct mount *mp); 77 static int journal_install_vfs_journal(struct mount *mp, struct file *fp, 79 static int journal_restart_vfs_journal(struct mount *mp, struct file *fp, 81 static int journal_remove_vfs_journal(struct mount *mp, 83 static int journal_restart(struct mount *mp, struct file *fp, 85 static int journal_destroy(struct mount *mp, struct journal *jo, int flags); 86 static int journal_resync_vfs_journal(struct mount *mp, const void *ctl); 87 static int journal_status_vfs_journal(struct mount *mp, 156 struct mount *mp; in journal_mountctl() [all …]
|
| /dragonfly/sys/vfs/nullfs/ |
| HD | null_vnops.c | 122 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nresolve() 130 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_ncreate() 138 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nmkdir() 146 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nmknod() 154 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nlink() 162 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nsymlink() 170 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nwhiteout() 178 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nremove() 186 ap->a_head.a_ops = MOUNTTONULLMOUNT(ap->a_nch->mount)->nullm_vfs->mnt_vn_norm_ops; in null_nrmdir() 194 struct mount *lmp; in null_nrename() [all …]
|
| HD | null_vfsops.c | 68 static int nullfs_root(struct mount *mp, struct vnode **vpp); 69 static int nullfs_statfs(struct mount *mp, struct statfs *sbp, 76 nullfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in nullfs_mount() 144 xmp->nullm_vfs = nd.nl_nch.mount; in nullfs_mount() 252 nullfs_unmount(struct mount *mp, int mntflags) in nullfs_unmount() 272 nullfs_root(struct mount *mp, struct vnode **vpp) in nullfs_root() 291 nullfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, in nullfs_quotactl() 298 nullfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in nullfs_statfs() 334 nullfs_checkexp(struct mount *mp, struct sockaddr *nam, int *extflagsp, in nullfs_checkexp() 357 nullfs_export(struct mount *mp, int op, const struct export_args *export) in nullfs_export() [all …]
|
| /dragonfly/sys/vfs/ufs/ |
| HD | ffs_extern.h | 57 struct mount; 78 int ffs_fhtovp(struct mount *, struct vnode *, 80 int ffs_flushfiles(struct mount *, int); 85 int ffs_mountfs(struct vnode *, struct mount *, struct malloc_type *); 91 int ffs_statfs(struct mount *, struct statfs *, struct ucred *); 92 int ffs_sync(struct mount *, int); 94 int ffs_unmount(struct mount *, int); 99 int ffs_vget(struct mount *, struct vnode *, ino_t, struct vnode **); 106 int softdep_mount(struct vnode *, struct mount *, struct fs *); 107 int softdep_flushfiles(struct mount *, int);
|
| HD | quota.h | 174 struct mount; 185 int ufs_getquota(struct mount *, u_long, int, caddr_t); 186 int ufs_qsync(struct mount *mp); 187 int ufs_quotaoff(struct mount *, int); 188 int ufs_quotaon(struct ucred *, struct mount *, int, caddr_t); 189 int ufs_setquota(struct mount *, u_long, int, caddr_t); 190 int ufs_setuse(struct mount *, u_long, int, caddr_t); 191 int ufs_quotactl(struct mount *, int, uid_t, caddr_t, struct ucred *);
|
| HD | ufs_extern.h | 41 struct mount; 61 int ufs_check_export(struct mount *, struct sockaddr *, 63 int ufs_fhtovp(struct mount *, struct vnode *, 90 int ufs_root(struct mount *, struct vnode **); 91 int ufs_start(struct mount *, int, struct thread *); 92 int ufs_vinit(struct mount *, struct vnode **);
|
| /dragonfly/sys/vfs/devfs/ |
| HD | devfs_vfsops.c | 53 static int devfs_vfs_mount (struct mount *mp, char *path, caddr_t data, 55 static int devfs_vfs_statfs (struct mount *mp, struct statfs *sbp, 57 static int devfs_vfs_unmount (struct mount *mp, int mntflags); 58 int devfs_vfs_root(struct mount *mp, struct vnode **vpp); 59 static int devfs_vfs_vget(struct mount *mp, struct vnode *dvp, 61 static int devfs_vfs_fhtovp(struct mount *mp, struct vnode *rootvp, 72 devfs_vfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in devfs_vfs_mount() 138 devfs_vfs_unmount(struct mount *mp, int mntflags) in devfs_vfs_unmount() 166 devfs_vfs_root(struct mount *mp, struct vnode **vpp) in devfs_vfs_root() 182 devfs_vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in devfs_vfs_statfs() [all …]
|
| /dragonfly/sys/vfs/procfs/ |
| HD | procfs_vfsops.c | 52 static int procfs_mount (struct mount *mp, char *path, caddr_t data, 54 static int procfs_statfs (struct mount *mp, struct statfs *sbp, 56 static int procfs_unmount (struct mount *mp, int mntflags); 65 procfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in procfs_mount() 97 procfs_unmount(struct mount *mp, int mntflags) in procfs_unmount() 119 procfs_root(struct mount *mp, struct vnode **vpp) in procfs_root() 128 procfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in procfs_statfs()
|
| /dragonfly/sys/vfs/hpfs/ |
| HD | hpfs_vfsops.c | 68 static int hpfs_root (struct mount *, struct vnode **); 69 static int hpfs_statfs (struct mount *, struct statfs *, struct ucred *); 70 static int hpfs_unmount (struct mount *, int); 71 static int hpfs_vget (struct mount *mp, struct vnode *, 73 static int hpfs_mountfs (struct vnode *, struct mount *, 76 static int hpfs_fhtovp (struct mount *, struct vnode *, 81 static int hpfs_mount (struct mount *, char *, caddr_t, struct ucred *); 83 static int hpfs_checkexp (struct mount *, struct sockaddr *, 88 hpfs_checkexp(struct mount *mp, in hpfs_checkexp() 117 hpfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in hpfs_mount() [all …]
|
| /dragonfly/sys/vfs/dirfs/ |
| HD | dirfs_vfsops.c | 67 KTR_INFO(KTR_DIRFS, dirfs, mount, 21, 69 char *path, dirfs_mount_t dmp, struct mount *mp, int error); 73 dirfs_mount_t dmp, struct mount *mp, int error); 95 static int dirfs_statfs(struct mount *, struct statfs *, struct ucred *); 98 dirfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in dirfs_mount() 177 dirfs_unmount(struct mount *mp, int mntflags) in dirfs_unmount() 222 dirfs_root(struct mount *mp, struct vnode **vpp) in dirfs_root() 282 dirfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, struct vnode **vpp) in dirfs_fhtovp() 290 dirfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in dirfs_statfs() 309 dirfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in dirfs_statvfs() [all …]
|
| /dragonfly/test/stress/stress2/misc/ |
| HD | backingstore2.sh | 45 mount | grep "${mntpoint}" | grep -q md$m2 && umount ${mntpoint}$m2 47 mount | grep "${mntpoint}" | grep -q md$m1 && umount ${mntpoint}$m1 56 mount /dev/md${m1}${part} ${mntpoint}$m1 64 mount /dev/md${m2}${part} ${mntpoint}$m2 70 mount | grep "${mntpoint}" | grep -q md$m2 && umount ${mntpoint}$m2 72 mount | grep "${mntpoint}" | grep -q md$m1 && umount ${mntpoint}$m1
|
| HD | backingstore.sh | 42 mount | grep "${mntpoint}" | grep -q md$m && umount ${mntpoint}$m 51 mount $opt /dev/md${m}${part} ${mntpoint}$m 56 mount | grep "${mntpoint}" | grep -q md$m && umount ${mntpoint}$m 64 mount $opt /dev/md${m}${part} ${mntpoint}$m 69 while mount | grep -q ${mntpoint}$m; do 76 while mount | grep -q ${mntpoint}$m; do
|
| HD | backingstore3.sh | 44 mount | grep "${mntpoint}" | grep -q md$m2 && umount ${mntpoint}$m2 46 mount | grep "${mntpoint}" | grep -q md$m1 && umount ${mntpoint}$m1 55 mount /dev/md${m1}${part} ${mntpoint}$m1 63 mount /dev/md${m2}${part} ${mntpoint}$m2 71 mount | grep "${mntpoint}" | grep -q md$m2 && umount ${mntpoint}$m2 73 mount | grep "${mntpoint}" | grep -q md$m1 && umount ${mntpoint}$m1
|
| HD | nullfs5.sh | 47 mount | grep -q procfs || mount -t procfs procfs /procfs 56 mount | grep -q $mp && umount -f $mp 58 mount -t nullfs `dirname $RUNDIR` $mp 66 mount | grep -q $mp && umount -f $mp
|
| HD | mount.sh | 64 mount | grep /tmp && umount -f /tmp 68 mount -r /tmp 69 mount -r /tmp 76 mount /tmp
|
| HD | nfs6.sh | 40 mount | grep "${mntpoint}2" | grep nfs > /dev/null && umount -f ${mntpoint}2 41 mount | grep "$mntpoint" | grep /md > /dev/null && umount -f ${mntpoint} 48 mount /dev/md${mdstart}${part} $mntpoint 56 mount -t nfs -o tcp -o retrycnt=3 -o intr -o soft -o rw 127.0.0.1:$mntpoint ${mntpoint}2 66 mount /dev/md${mdstart}${part} $mntpoint
|
| /dragonfly/sys/vfs/ntfs/ |
| HD | ntfs_vfsops.c | 71 static int ntfs_root (struct mount *, struct vnode **); 72 static int ntfs_statfs (struct mount *, struct statfs *, 74 static int ntfs_statvfs (struct mount *, struct statvfs *, 76 static int ntfs_unmount (struct mount *, int); 77 static int ntfs_vget (struct mount *mp, struct vnode *dvp, 79 static int ntfs_mountfs (struct vnode *, struct mount *, 82 static int ntfs_fhtovp (struct mount *, struct vnode *rootvp, 86 static int ntfs_mount (struct mount *, char *, caddr_t, struct ucred *); 88 static int ntfs_checkexp (struct mount *, struct sockaddr *, 95 ntfs_checkexp(struct mount *mp, struct sockaddr *nam, in ntfs_checkexp() [all …]
|