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)vfs_getopsbyname(name)Given a file system name specified by name, look up the vfs operations for that file system (seevfsops(9)), or return NULL if file system isn’t present in the kernel.vfs_suspend(mp , nowait)Request a mounted file system to suspend all operations. All new operations to the file systemare stopped. After all operations in progress have completed, the file system is synced to diskand the function returns. If a file system suspension is currently in progress and nowait is setEWOULDBLOCK is returned. If the operation is successful, zero is returned, otherwise an appropriateerror code is returned.vfs_resume(mp)Request a mounted file system to resume operations.CODE REFERENCESThis section describes places within the <strong>NetBSD</strong> source tree where actual code implementing or using the vfsoperations can be found. All pathnames are relative to /usr/src.The vfs interface functions are implemented within the files sys/kern/vfs_subr.c,sys/kern/vfs_subr2.c, and sys/kern/vfs_init.c.SEE ALSOintro(9), namei(9), vfs(9), vfsops(9), vnode(9), vnodeops(9)<strong>NetBSD</strong> 3.0 January 21, 2007 3

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

Saved successfully!

Ooh no, something went wrong!