| /netbsd-src/sys/sys/ |
| H A D | mount.h | 136 struct mount { struct 143 struct mount *mnt_lower; /* fs mounted on */ argument 189 int (*vfs_mount) (struct mount *, const char *, void *, argument 191 int (*vfs_start) (struct mount *, int); 192 int (*vfs_unmount) (struct mount *, int); 193 int (*vfs_root) (struct mount *, int, struct vnode **); 194 int (*vfs_quotactl) (struct mount *, struct quotactl_args *); 195 int (*vfs_statvfs) (struct mount *, struct statvfs *); 196 int (*vfs_sync) (struct mount *, int, struct kauth_cred *); 197 int (*vfs_vget) (struct mount *, ino_t, int, struct vnode **); [all …]
|
| H A D | fstrans.h | 52 void fstrans_start(struct mount *); 53 int fstrans_start_nowait(struct mount *); 54 void fstrans_start_lazy(struct mount *); 55 void fstrans_done(struct mount *); 56 int fstrans_held(struct mount *); 57 int fstrans_is_owner(struct mount *); 58 int fstrans_mount(struct mount *); 59 void fstrans_unmount(struct mount *); 61 int fstrans_setstate(struct mount *, enum fstrans_state); 62 enum fstrans_state fstrans_getstate(struct mount *); [all …]
|
| H A D | pty.h | 39 int pty_fill_ptmget(struct lwp *, dev_t, int, int, void *, struct mount *); 40 int pty_grant_slave(struct lwp *, dev_t, struct mount *); 43 int pty_getmp(struct lwp *, struct mount **); 51 int (*allocvp)(struct mount *, struct lwp *, struct vnode **, dev_t, 53 int (*makename)(struct mount *, struct lwp *, char *, size_t, dev_t, char); 54 void (*getvattr)(struct mount *, struct lwp *, struct vattr *); 55 int (*getmp)(struct lwp *, struct mount **);
|
| /netbsd-src/sys/ufs/ufs/ |
| H A D | ufs_extern.h | 49 struct mount; 124 bool ufs_gro_directory_empty_p(struct mount *, kauth_cred_t, 126 int ufs_gro_rename_check_possible(struct mount *, 128 int ufs_gro_rename_check_permitted(struct mount *, kauth_cred_t, 130 int ufs_gro_remove_check_possible(struct mount *, 132 int ufs_gro_remove_check_permitted(struct mount *, kauth_cred_t, 134 int ufs_gro_rename(struct mount *, kauth_cred_t, 138 int ufs_gro_remove(struct mount *, kauth_cred_t, 141 int ufs_gro_lookup(struct mount *, struct vnode *, 143 int ufs_gro_genealogy(struct mount *, kauth_cred_t, [all …]
|
| H A D | ufs_quota.c | 74 static int quota_handle_cmd_stat(struct mount *, struct lwp *, 76 static int quota_handle_cmd_idtypestat(struct mount *, struct lwp *, 78 static int quota_handle_cmd_objtypestat(struct mount *, struct lwp *, 80 static int quota_handle_cmd_get(struct mount *, struct lwp *, 82 static int quota_handle_cmd_put(struct mount *, struct lwp *, 84 static int quota_handle_cmd_cursorget(struct mount *, struct lwp *, 86 static int quota_handle_cmd_del(struct mount *, struct lwp *, 88 static int quota_handle_cmd_quotaon(struct mount *, struct lwp *, 90 static int quota_handle_cmd_quotaoff(struct mount *, struct lwp *, 92 static int quota_handle_cmd_cursoropen(struct mount *, struct lwp *, [all …]
|
| /netbsd-src/sys/miscfs/genfs/ |
| H A D | layer_extern.h | 79 int layer_node_create(struct mount *, struct vnode *, struct vnode **); 82 int layerfs_start(struct mount *, int); 83 int layerfs_root(struct mount *, int, struct vnode **); 84 int layerfs_quotactl(struct mount *, struct quotactl_args *); 85 int layerfs_statvfs(struct mount *, struct statvfs *); 86 int layerfs_sync(struct mount *, int, struct kauth_cred *); 87 int layerfs_loadvnode(struct mount *, struct vnode *, 89 int layerfs_vget(struct mount *, ino_t, int, struct vnode **); 90 int layerfs_fhtovp(struct mount *, struct fid *, int, struct vnode **); 92 int layerfs_snapshot(struct mount *, struct vnode *, struct timespec *); [all …]
|
| H A D | genfs.h | 10 struct mount; 51 int genfs_statvfs(struct mount *, struct statvfs *); 53 int genfs_renamelock_enter(struct mount *); 54 void genfs_renamelock_exit(struct mount *); 56 int genfs_suspendctl(struct mount *, int); 108 bool (*gro_directory_empty_p)(struct mount *mp, kauth_cred_t cred, 110 int (*gro_rename_check_possible)(struct mount *mp, 113 int (*gro_rename_check_permitted)(struct mount *mp, kauth_cred_t cred, 116 int (*gro_remove_check_possible)(struct mount *mp, 118 int (*gro_remove_check_permitted)(struct mount *mp, kauth_cred_t cred, [all …]
|
| H A D | layer_vfsops.c | 117 layerfs_start(struct mount *mp, int flags) in layerfs_start() 128 layerfs_root(struct mount *mp, int lktype, struct vnode **vpp) in layerfs_root() 147 layerfs_quotactl(struct mount *mp, struct quotactl_args *args) in layerfs_quotactl() 161 layerfs_statvfs(struct mount *mp, struct statvfs *sbp) in layerfs_statvfs() 196 layerfs_sync(struct mount *mp, int waitfor, in layerfs_sync() 207 layerfs_loadvnode(struct mount *mp, struct vnode *vp, in layerfs_loadvnode() 243 layerfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) in layerfs_vget() 274 layerfs_fhtovp(struct mount *mp, struct fid *fidp, int lktype, in layerfs_fhtovp() 326 layerfs_snapshot(struct mount *mp, struct vnode *vp, in layerfs_snapshot() 344 layerfs_suspendctl(struct mount *mp, int cmd) in layerfs_suspendctl() [all …]
|
| /netbsd-src/sys/rump/include/rump-sys/ |
| H A D | vfs_if.h | 44 int rump_vfs_unmount(struct mount *, int); 45 typedef int (*rump_vfs_unmount_fn)(struct mount *, int); 46 int rump_vfs_root(struct mount *, struct vnode **, int); 47 typedef int (*rump_vfs_root_fn)(struct mount *, struct vnode **, int); 48 int rump_vfs_statvfs(struct mount *, struct statvfs *); 49 typedef int (*rump_vfs_statvfs_fn)(struct mount *, struct statvfs *); 50 int rump_vfs_sync(struct mount *, int, struct kauth_cred *); 51 typedef int (*rump_vfs_sync_fn)(struct mount *, int, struct kauth_cred *); 52 int rump_vfs_fhtovp(struct mount *, struct fid *, struct vnode **); 53 typedef int (*rump_vfs_fhtovp_fn)(struct mount *, struct fid *, struct vnode **); [all …]
|
| /netbsd-src/sys/coda/ |
| H A D | coda_vfsops.h | 46 struct mount; 50 int coda_mount(struct mount *, const char *, void *, size_t *); 51 int coda_start(struct mount *, int); 52 int coda_unmount(struct mount *, int); 53 int coda_root(struct mount *, int, struct vnode **); 54 int coda_nb_statvfs(struct mount *, struct statvfs *); 55 int coda_sync(struct mount *, int, kauth_cred_t); 56 int coda_vget(struct mount *, ino_t, int, struct vnode **); 57 int coda_loadvnode(struct mount *, struct vnode *, const void *, size_t, 59 int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **,
|
| /netbsd-src/sys/ufs/ffs/ |
| H A D | ffs_extern.h | 53 struct mount; 105 int ffs_freefile(struct mount *, ino_t, int); 120 int ffs_reload(struct mount *, kauth_cred_t, struct lwp *); 121 int ffs_mountfs(struct vnode *, struct mount *, struct lwp *); 122 int ffs_flushfiles(struct mount *, int, struct lwp *); 159 int ffs_snapshot(struct mount *, struct vnode *, struct timespec *); 160 void ffs_snapshot_mount(struct mount *); 161 void ffs_snapshot_unmount(struct mount *); 166 void ffs_wapbl_verify_inodes(struct mount *, const char *); 167 void ffs_wapbl_replay_finish(struct mount *); [all …]
|
| /netbsd-src/sys/ufs/lfs/ |
| H A D | ulfs_extern.h | 49 struct mount; 123 int lfsquota_handle_cmd(struct mount *, struct lwp *, 126 int lfs_qsync(struct mount *); 129 int lfsquota1_umount(struct mount *, int); 132 int lfsquota2_umount(struct mount *, int); 133 int lfs_quota2_mount(struct mount *); 139 int ulfs_start(struct mount *, int); 140 int ulfs_root(struct mount *, int, struct vnode **); 141 int ulfs_quotactl(struct mount *, struct quotactl_args *); 142 int ulfs_fhtovp(struct mount *, struct ulfs_ufid *, int, struct vnode **); [all …]
|
| H A D | ulfs_quota.c | 75 static int quota_handle_cmd_stat(struct mount *, struct lwp *, 77 static int quota_handle_cmd_idtypestat(struct mount *, struct lwp *, 79 static int quota_handle_cmd_objtypestat(struct mount *, struct lwp *, 81 static int quota_handle_cmd_get(struct mount *, struct lwp *, 83 static int quota_handle_cmd_put(struct mount *, struct lwp *, 85 static int quota_handle_cmd_cursorget(struct mount *, struct lwp *, 87 static int quota_handle_cmd_del(struct mount *, struct lwp *, 89 static int quota_handle_cmd_quotaon(struct mount *, struct lwp *, 91 static int quota_handle_cmd_quotaoff(struct mount *, struct lwp *, 93 static int quota_handle_cmd_cursoropen(struct mount *, struct lwp *, [all …]
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_quotactl.c | 38 vfs_quotactl_stat(struct mount *mp, struct quotastat *info) in vfs_quotactl_stat() 48 vfs_quotactl_idtypestat(struct mount *mp, int idtype, in vfs_quotactl_idtypestat() 60 vfs_quotactl_objtypestat(struct mount *mp, int objtype, in vfs_quotactl_objtypestat() 72 vfs_quotactl_get(struct mount *mp, const struct quotakey *key, in vfs_quotactl_get() 84 vfs_quotactl_put(struct mount *mp, const struct quotakey *key, in vfs_quotactl_put() 96 vfs_quotactl_del(struct mount *mp, const struct quotakey *key) in vfs_quotactl_del() 106 vfs_quotactl_cursoropen(struct mount *mp, struct quotakcursor *cursor) in vfs_quotactl_cursoropen() 116 vfs_quotactl_cursorclose(struct mount *mp, struct quotakcursor *cursor) in vfs_quotactl_cursorclose() 126 vfs_quotactl_cursorskipidtype(struct mount *mp, struct quotakcursor *cursor, in vfs_quotactl_cursorskipidtype() 138 vfs_quotactl_cursorget(struct mount *mp, struct quotakcursor *cursor, in vfs_quotactl_cursorget() [all …]
|
| H A D | vfs_mount.c | 88 #include <sys/mount.h> 110 struct mount *me_mount; /* Actual mount if ME_MOUNT, 111 current mount else. */ 152 struct mount * in vfs_mountalloc() 155 struct mount *mp; in vfs_mountalloc() 180 * initialize a mount structure for it. 182 * Devname is usually updated by mount(8) after booting. 186 struct mount **mpp) in vfs_rootmountalloc() 189 struct mount *m in vfs_rootmountalloc() [all...] |
| H A D | vfs_trans.c | 51 #include <sys/mount.h> 77 struct mount *fli_mount; 93 struct mount *fmi_mount; 114 static inline uint32_t fstrans_mount_hash(struct mount *); 115 static inline struct fstrans_mount_info *fstrans_mount_get(struct mount *); 119 fstrans_get_lwp_info(struct mount *, bool); 120 static struct fstrans_lwp_info *fstrans_alloc_lwp_info(struct mount *); 123 static inline int _fstrans_start(struct mount *, enum fstrans_lock_type, int); 218 * mount pointer to hash in fstrans_mount_hash() 221 fstrans_mount_hash(struct mount *m in fstrans_mount_hash() [all...] |
| H A D | tty_bsdpty.c | 72 static int pty_makename(struct mount *, struct lwp *, char *, size_t, dev_t, 74 static int pty_allocvp(struct mount *, struct lwp *, struct vnode **, 76 static void pty_getvattr(struct mount *, struct lwp *, struct vattr *); 77 static int pty__getmp(struct lwp *, struct mount **); 88 pty_makename(struct mount *mp, struct lwp *l, char *bf, in pty_makename() 118 pty_allocvp(struct mount *mp, struct lwp *l, struct vnode **vp, dev_t dev, in pty_allocvp() 148 pty_getvattr(struct mount *mp, struct lwp *l, struct vattr *vattr) in pty_getvattr() 158 pty__getmp(struct lwp *l __unused, struct mount **mpp) in pty__getmp()
|
| /netbsd-src/sys/rump/include/rump/ |
| H A D | rumpvfs_if_pub.h | 25 int rump_pub_vfs_unmount(struct mount *, int); 26 int rump_pub_vfs_root(struct mount *, struct vnode **, int); 27 int rump_pub_vfs_statvfs(struct mount *, struct statvfs *); 28 int rump_pub_vfs_sync(struct mount *, int, struct kauth_cred *); 29 int rump_pub_vfs_fhtovp(struct mount *, struct fid *, struct vnode **); 31 int rump_pub_vfs_extattrctl(struct mount *, int, struct vnode *, int, const char *); 32 void rump_pub_vfs_syncwait(struct mount *); 33 int rump_pub_vfs_getmp(const char *, struct mount **);
|
| /netbsd-src/sys/fs/v7fs/ |
| H A D | v7fs_vfsops.c | 72 static int v7fs_mountfs(struct vnode *, struct mount *, int); 73 static int v7fs_openfs(struct vnode *, struct mount *, struct lwp *); 74 static void v7fs_closefs(struct vnode *, struct mount *); 79 v7fs_mount(struct mount *mp, const char *path, void *data, size_t *data_len) in v7fs_mount() 210 v7fs_openfs(struct vnode *devvp, struct mount *mp, struct lwp *l) in v7fs_openfs() 240 v7fs_closefs(struct vnode *devvp, struct mount *mp) in v7fs_closefs() 251 v7fs_mountfs(struct vnode *devvp, struct mount *mp, int endian) in v7fs_mountfs() 255 struct v7fs_mount_device mount; in v7fs_mountfs() local 263 mount.device.vnode = devvp; in v7fs_mountfs() 264 mount.endian = endian; in v7fs_mountfs() [all …]
|
| /netbsd-src/sys/miscfs/procfs/ |
| H A D | procfs.h | 147 struct mount *pfs_mount; /* mount associated with this pfsnode */ 228 struct mount; 230 struct proc *procfs_proc_find(struct mount *, pid_t); 231 bool procfs_use_linux_compat(struct mount *); 240 int procfs_proc_lock(struct mount *, int, struct proc **, int); 242 int procfs_allocvp(struct mount *, struct vnode **, pid_t, pfstype, int); 308 int procfs_validauxv(struct lwp *, struct mount *); 309 int procfs_validfile(struct lwp *, struct mount *); 310 int procfs_validfpregs(struct lwp *, struct mount *); 311 int procfs_validregs(struct lwp *, struct mount *); [all …]
|
| /netbsd-src/sys/fs/ptyfs/ |
| H A D | ptyfs_vfsops.c | 73 static int ptyfs__allocvp(struct mount *, struct lwp *, struct vnode **, 75 static int ptyfs__makename(struct mount *, struct lwp *, char *, size_t, 77 static void ptyfs__getvattr(struct mount *, struct lwp *, struct vattr *); 78 static int ptyfs__getmp(struct lwp *, struct mount **); 96 ptyfs__getmp(struct lwp *l, struct mount **mpp) in ptyfs__getmp() 99 struct mount *mp; in ptyfs__getmp() 118 ptyfs__getpath(struct lwp *l, const struct mount *mp) in ptyfs__getpath() 151 ptyfs__makename(struct mount *mp, struct lwp *l, char *tbuf, size_t bufsiz, in ptyfs__makename() 192 ptyfs__allocvp(struct mount *mp, struct lwp *l, struct vnode **vpp, in ptyfs__allocvp() 225 ptyfs__getvattr(struct mount *mp, struct lwp *l, struct vattr *vattr) in ptyfs__getvattr() [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/conf/mount/ |
| H A D | mount_irix6.c | 67 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 73 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 79 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 85 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 91 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 97 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix() 103 return mount(fsname, dir, (MNT2_GEN_OPT_FSS | MNT2_GEN_OPT_DATA | flags), in mount_irix()
|
| /netbsd-src/distrib/alpha/rz25dist/ |
| H A D | Makefile | 23 mount-fs: 31 mount /dev/${DESTDISK}a ${DESTDIR} 33 mount /dev/${DESTDISK}d ${DESTDIR}/usr 69 diskimage.gz: mount-fs build-fs unmount-fs 70 mount /dev/${DESTDISK}a ${DESTDIR} 71 mount /dev/${DESTDISK}d ${DESTDIR}/usr 82 bin.tar.gz: mount-fs build-fs 88 etc.tar.gz: mount-fs build-fs 92 x11.tar.gz: mount-fs build-fs 101 /bin/rm -f mount-fs build-fs unmount-fs
|
| /netbsd-src/sys/rump/librump/rumpvfs/ |
| H A D | rumpvfs.ifspec | 37 int |vfs_unmount |struct mount *, int 38 int |vfs_root |struct mount *, struct vnode **, int 39 int |vfs_statvfs |struct mount *, struct statvfs * 40 int |vfs_sync |struct mount *, int, struct kauth_cred * 41 int |vfs_fhtovp |struct mount *, struct fid *, struct vnode ** 43 int |vfs_extattrctl |struct mount *, int, struct vnode *, \ 45 void |vfs_syncwait |struct mount * 46 int |vfs_getmp |const char *, struct mount **
|
| /netbsd-src/sys/nfs/ |
| H A D | nfs_export.c | 122 struct mount *ne_mount; 135 static int init_exports(struct mount *, struct netexport **); 136 static int hang_addrlist(struct mount *, struct netexport *, 141 static int setpublicfs(struct mount *, struct netexport *, 144 static struct netexport *netexport_lookup(const struct mount *); 151 static int nfs_export_update_30(struct mount *mp, const char *path, void *); 162 static void netexport_unmount(struct mount *); 178 netexport_unmount(struct mount *mp) in netexport_unmount() 207 struct mount *mp; in netexport_fini() 240 struct mount *nmp, int cmd) in mountd_set_exports_list() [all …]
|