| /dragonfly/sys/kern/ |
| HD | vfs_init.c | 265 vfsconf_add(struct vfsconf *vfc) in vfsconf_add() argument 267 vfc->vfc_typenum = vfsconf_maxtypenum++; in vfsconf_add() 268 STAILQ_INSERT_TAIL(&vfsconf_list, vfc, vfc_next); in vfsconf_add() 272 vfsconf_remove(struct vfsconf *vfc) in vfsconf_remove() argument 276 STAILQ_REMOVE(&vfsconf_list, vfc, vfsconf, vfc_next); in vfsconf_remove() 279 STAILQ_FOREACH(vfc, &vfsconf_list, vfc_next) { in vfsconf_remove() 280 if (maxtypenum < vfc->vfc_typenum) in vfsconf_remove() 281 maxtypenum = vfc->vfc_typenum; in vfsconf_remove() 318 vfs_register(struct vfsconf *vfc) in vfs_register() argument 323 if (vfsconf_find_by_name(vfc->vfc_name) != NULL) in vfs_register() [all …]
|
| HD | vfs_vfsops.c | 282 vfs_init(struct vfsconf *vfc) in vfs_init() argument 286 error = (vfc->vfc_vfsops->vfs_init)(vfc); in vfs_init() 295 vfs_uninit(struct vfsconf *vfc, struct vfsconf *vfsp) in vfs_uninit() argument 299 error = (vfc->vfc_vfsops->vfs_uninit)(vfsp); in vfs_uninit()
|
| /dragonfly/usr.bin/lsvfs/ |
| HD | lsvfs.c | 39 struct vfsconf vfc; in main() local 50 if (getvfsbyname(*argv, &vfc) == 0) { in main() 51 printf(FMT, vfc.vfc_name, vfc.vfc_typenum, in main() 52 vfc.vfc_refcount, in main() 53 fmt_flags(vfc.vfc_flags)); in main() 61 if (getvfsbyname(ovfcp->vfc_name, &vfc) == 0) { in main() 62 printf(FMT, vfc.vfc_name, vfc.vfc_typenum, in main() 63 vfc.vfc_refcount, in main() 64 fmt_flags(vfc.vfc_flags)); in main()
|
| /dragonfly/share/misc/ |
| HD | gdbinit | 17 set $vfc = (struct vfsconf *)vfsconf_list.stqh_first 19 while ($vfc != 0) 20 printf "%-10s %6d 0x%08x\n", $vfc->vfc_name, \ 21 $vfc->vfc_refcount, $vfc->vfc_flags 22 set $vfc = $vfc->vfc_next.stqe_next 35 set $vfc = (struct vfsconf *)vfsconf_list.stqh_first 36 while ($vfc != 0) 38 $vfc->vfc_name, $vfc->vfc_refcount, $vfc->vfc_flags 41 print *$vfc->vfc_vfsops 43 set $vfc = $vfc->vfc_next.stqe_next
|
| /dragonfly/sbin/mount_dirfs/ |
| HD | mount_dirfs.c | 67 struct vfsconf vfc; in main() local 116 if (mount(vfc.vfc_name, mountpt, mount_flags, NULL)) in main() 133 error = getvfsbyname("dirfs", &vfc); in main() 138 error = getvfsbyname("dirfs", &vfc); in main() 143 error = mount(vfc.vfc_name, mountpt, mount_flags, hostdir); in main()
|
| /dragonfly/sbin/mount_std/ |
| HD | mount_std.c | 61 struct vfsconf vfc; in main() local 96 error = getvfsbyname(fsname, &vfc); in main() 101 error = getvfsbyname(fsname, &vfc); in main() 109 if (mount(vfc.vfc_name, mntpath, mntflags, NULL)) in main()
|
| /dragonfly/sbin/mount_null/ |
| HD | mount_null.c | 64 struct vfsconf vfc; in main() local 107 error = getvfsbyname("null", &vfc); in main() 112 error = getvfsbyname("null", &vfc); in main() 117 if (mount(vfc.vfc_name, source, mntflags, &args)) in main()
|
| /dragonfly/sbin/mount_ext2fs/ |
| HD | mount_ext2fs.c | 63 struct vfsconf vfc; in main() local 99 error = getvfsbyname("ext2fs", &vfc); in main() 105 error = getvfsbyname("ext2fs", &vfc); in main() 110 if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_udf/ |
| HD | mount_udf.c | 70 struct vfsconf vfc; in main() local 113 error = getvfsbyname("udf", &vfc); in main() 118 error = getvfsbyname("udf", &vfc); in main() 123 if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_hammer/ |
| HD | mount_hammer.c | 68 struct vfsconf vfc; in main() local 124 if (mount(vfc.vfc_name, mountpt, mount_flags, &info)) { in main() 146 error = getvfsbyname("hammer", &vfc); in main() 153 error = getvfsbyname("hammer", &vfc); in main() 160 if (mount(vfc.vfc_name, mountpt, mount_flags, &info)) { in main()
|
| /dragonfly/sbin/mount_devfs/ |
| HD | mount_devfs.c | 75 struct vfsconf vfc; in main() local 125 error = getvfsbyname("devfs", &vfc); in main() 130 error = getvfsbyname("devfs", &vfc); in main() 146 if (mount(vfc.vfc_name, mntpoint, mntflags, &info)) in main()
|
| /dragonfly/sbin/mount_ufs/ |
| HD | mount_ufs.c | 71 struct vfsconf vfc; in mount_ufs() local 120 error = getvfsbyname("ufs", &vfc); in mount_ufs() 127 error = getvfsbyname("ufs", &vfc); in mount_ufs() 134 if (mount(vfc.vfc_name, fs_name, mntflags, &args) < 0) { in mount_ufs()
|
| /dragonfly/sbin/mount_autofs/ |
| HD | mount_autofs.c | 109 struct vfsconf vfc; in mount_autofs() local 119 error = getvfsbyname("autofs", &vfc); in mount_autofs() 124 error = getvfsbyname("autofs", &vfc); in mount_autofs() 129 if (mount(vfc.vfc_name, canon_dir, mntflags, &am) == -1) in mount_autofs()
|
| /dragonfly/sbin/mount_fuse/ |
| HD | mount_fusefs.c | 118 struct vfsconf vfc; in main() local 179 error = getvfsbyname("fuse", &vfc); in main() 184 error = getvfsbyname("fuse", &vfc); in main() 189 if (mount(vfc.vfc_name, mntpath, mntflags, &args) == -1) in main()
|
| /dragonfly/sbin/mount_hammer2/ |
| HD | mount_hammer2.c | 67 struct vfsconf vfc; in main() local 96 error = getvfsbyname("hammer2", &vfc); in main() 111 if (mount(vfc.vfc_name, mountpt, mount_flags, &info)) in main() 180 error = mount(vfc.vfc_name, mountpt, mount_flags, &info); in main()
|
| /dragonfly/sbin/nfsiod/ |
| HD | nfsiod.c | 70 struct vfsconf vfc; in main() local 73 error = getvfsbyname("nfs", &vfc); in main() 78 error = getvfsbyname("nfs", &vfc); in main()
|
| /dragonfly/sbin/mount_ntfs/ |
| HD | mount_ntfs.c | 75 struct vfsconf vfc; in main() local 151 error = getvfsbyname("ntfs", &vfc); in main() 156 error = getvfsbyname("ntfs", &vfc); in main() 161 if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_hpfs/ |
| HD | mount_hpfs.c | 69 struct vfsconf vfc; in main() local 140 error = getvfsbyname("hpfs", &vfc); in main() 145 error = getvfsbyname("hpfs", &vfc); in main() 150 if (mount(vfc.vfc_name, dir, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_msdos/ |
| HD | mount_msdos.c | 88 struct vfsconf vfc; in main() local 201 error = getvfsbyname("msdos", &vfc); in main() 206 error = getvfsbyname("msdos", &vfc); in main() 211 if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_cd9660/ |
| HD | mount_cd9660.c | 84 struct vfsconf vfc; in main() local 218 error = getvfsbyname("cd9660", &vfc); in main() 223 error = getvfsbyname("cd9660", &vfc); in main() 228 if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0) in main()
|
| /dragonfly/sbin/mount_tmpfs/ |
| HD | mount_tmpfs.c | 334 struct vfsconf vfc; in mount_tmpfs() local 342 error = getvfsbyname("tmpfs", &vfc); in mount_tmpfs() 347 error = getvfsbyname("tmpfs", &vfc); in mount_tmpfs() 355 if (mount(vfc.vfc_name, canon_dir, mntflags, &args) == -1) in mount_tmpfs()
|
| /dragonfly/contrib/smbfs/mount_smbfs/ |
| HD | mount_smbfs.c | 78 struct vfsconf vfc; in main() local 102 error = getvfsbyname(SMBFS_VFSNAME, &vfc); in main() 107 error = getvfsbyname(SMBFS_VFSNAME, &vfc); in main()
|
| /dragonfly/test/debug/ |
| HD | vnodeinfo.c | 200 struct vfsconf vfc; in dumpmount() local 215 kkread(kd, (u_long)mnt.mnt_vfc, &vfc, sizeof(vfc)); in dumpmount() 218 vp = dumpvp(kd, vp, 1, vfc.vfc_name); in dumpmount()
|
| HD | ncptrace.c | 78 static int printvfc(kvm_t *kd, struct vfsconf *vfc); 291 printvfc(kvm_t *kd, struct vfsconf *vfc) in printvfc() argument 295 kkread(kd, (long)vfc, &vfcinfo, sizeof(vfcinfo)); in printvfc()
|
| /dragonfly/sbin/newfs/ |
| HD | newfs.c | 216 struct vfsconf vfc; in main() local 661 error = getvfsbyname("mfs", &vfc); in main() 666 error = getvfsbyname("mfs", &vfc); in main() 679 if (mount(vfc.vfc_name, argv[1], mntflags, &args) < 0) in main()
|