Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dvfs_init.c383 vfs_register(struct vfsconf *vfc) in vfs_register() argument
397 if (vfc->vfc_version != VFS_VERSION) { in vfs_register()
399 vfc->vfc_name, vfc->vfc_version); in vfs_register()
403 if (vfs_byname_locked(vfc->vfc_name) != NULL) { in vfs_register()
415 hashval = fnv_32_str(vfc->vfc_name, FNV1_32_INIT); in vfs_register()
431 vfc->vfc_typenum = hashval; in vfs_register()
432 if (vfc->vfc_typenum >= maxvfsconf) in vfs_register()
433 maxvfsconf = vfc->vfc_typenum + 1; in vfs_register()
435 vfc->vfc_typenum = maxvfsconf++; in vfs_register()
436 TAILQ_INSERT_TAIL(&vfsconf, vfc, vfc_list); in vfs_register()
[all …]
/freebsd/usr.bin/lsvfs/
H A Dlsvfs.c41 struct xvfsconf vfc, *xvfsp; in main() local
52 if (getvfsbyname(*argv, &vfc) == 0) { in main()
53 printf(FMT, vfc.vfc_name, vfc.vfc_typenum, in main()
54 vfc.vfc_refcount, fmt_flags(vfc.vfc_flags)); in main()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs.h91 struct pfs_info *pi, struct vfsconf *vfc
93 pi, vfc
252 int pfs_init (struct pfs_info *pi, struct vfsconf *vfc);
253 int pfs_uninit (struct pfs_info *pi, struct vfsconf *vfc);
290 _##name##_init(struct vfsconf *vfc) { \
291 return (pfs_init(&name##_info, vfc)); \
295 _##name##_uninit(struct vfsconf *vfc) { \
296 return (pfs_uninit(&name##_info, vfc)); \
H A Dpseudofs.c440 pfs_init(struct pfs_info *pi, struct vfsconf *vfc) in pfs_init() argument
454 error = (pi->pi_init)(pi, vfc); in pfs_init()
470 pfs_uninit(struct pfs_info *pi, struct vfsconf *vfc) in pfs_uninit() argument
479 error = (pi->pi_uninit)(pi, vfc); in pfs_uninit()
/freebsd/sbin/nfsiod/
H A Dnfsiod.c60 struct xvfsconf vfc; in main() local
65 error = getvfsbyname("nfs", &vfc); in main()
69 error = getvfsbyname("nfs", &vfc); in main()
/freebsd/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c82 struct xvfsconf vfc; in main() local
114 error = getvfsbyname(smbfs_vfsname, &vfc); in main()
118 error = getvfsbyname(smbfs_vfsname, &vfc); in main()
/freebsd/sbin/umount/
H A Dumount.c205 struct xvfsconf vfc; in umountall() local
230 if (getvfsbyname(fs->fs_vfstype, &vfc) == -1) in umountall()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c1574 struct xvfsconf vfc; in setup_current_filesystem() local
1576 struct vfsconf vfc; in setup_current_filesystem() local
1631 r = getvfsbyname(sfs.f_fstypename, &vfc); in setup_current_filesystem()
1636 if (vfc.vfc_flags & VFCF_SYNTHETIC) in setup_current_filesystem()
/freebsd/usr.sbin/mountd/
H A Dmountd.c2410 struct xvfsconf vfc; in delete_export() local
2412 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) { in delete_export()
2429 if (vfc.vfc_flags & VFCF_NETWORK) in delete_export()