12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VFSSUBR (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> VFSSUBR (9)<strong>NAME</strong>vfssubr, vfs_getnewfsid, vfs_getvfs, vfs_export, vfs_showexport,vfs_export_lookup, vfs_setpublicfs, vfs_mountedon, vfs_mountroot,vfs_unmountall, vfs_busy, vfs_unbusy, vfs_rootmountalloc, vfs_shutdown,vfs_attach, vfs_detach, vfs_reinit, vfs_getopsbyname, vfs_suspend, vfs_resume—high-level interface to kernel file system interfaceSYNOPSIS#include #include #include voidvfs_getnewfsid(struct mount ∗mp);struct mount ∗vfs_getvfs(fsid_t ∗fsid);intvfs_export_lookup(struct mount ∗mp , struct netexport ∗nep ,struct export_args ∗argp);intvfs_setpublicfs(struct mount ∗mp , struct netexport ∗nep ,struct export_args ∗argp);intvfs_mountedon(struct vnode ∗vp);intvfs_mountroot(void);voidvfs_unmountall(struct lwp ∗l);intvfs_busy(struct mount ∗mp , int flags , struct simplelock ∗interlkp);voidvfs_unbusy(struct mount ∗mp);intvfs_rootmountalloc(char ∗fstypename , char ∗devname , struct mount ∗∗mpp);voidvfs_shutdown(void);intvfs_attach(struct vfsops ∗vfs);intvfs_detach(struct vfsops ∗vfs);voidvfs_reinit(void);struct vfsops ∗vfs_getopsbyname(const char ∗name);<strong>NetBSD</strong> 3.0 January 21, 2007 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!