Home
last modified time | relevance | path

Searched refs:vfc (Results 1 – 25 of 35) sorted by relevance

12

/dragonfly/sys/kern/
HDvfs_init.c265 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 …]
HDvfs_vfsops.c282 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/
HDlsvfs.c39 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/
HDgdbinit17 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/
HDmount_dirfs.c67 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/
HDmount_std.c61 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/
HDmount_null.c64 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/
HDmount_ext2fs.c63 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/
HDmount_udf.c70 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/
HDmount_hammer.c68 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/
HDmount_devfs.c75 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/
HDmount_ufs.c71 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/
HDmount_autofs.c109 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/
HDmount_fusefs.c118 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/
HDmount_hammer2.c67 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/
HDnfsiod.c70 struct vfsconf vfc; in main() local
73 error = getvfsbyname("nfs", &vfc); in main()
78 error = getvfsbyname("nfs", &vfc); in main()
/dragonfly/sbin/mount_ntfs/
HDmount_ntfs.c75 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/
HDmount_hpfs.c69 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/
HDmount_msdos.c88 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/
HDmount_cd9660.c84 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/
HDmount_tmpfs.c334 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/
HDmount_smbfs.c78 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/
HDvnodeinfo.c200 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()
HDncptrace.c78 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/
HDnewfs.c216 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()

12