*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: vfs_busy | Section: 9 | Source: FreeBSD | File: vfs_busy.9.gz
VFS_BUSY(9) FreeBSD Kernel Developer's Manual VFS_BUSY(9) NAME vfs_busy - marks a mount point as busy SYNOPSIS #include <sys/param.h> #include <sys/mount.h> int vfs_busy(struct mount *mp, int flags); DESCRIPTION The vfs_busy() function marks a mount point as busy by incrementing the reference count of a mount point. It also delays unmounting by sleeping on mp if the MNTK_UNMOUNT flag is set in mp->mnt_kern_flag and the MBF_NOWAIT flag is not set. Its arguments are: mp The mount point to busy. flags Flags controlling how vfs_busy() should act. MBF_NOWAIT do not sleep if MNTK_UNMOUNT is set. MBF_MNTLSTLOCK drop the mountlist_mtx in the critical path. RETURN VALUES A 0 value is returned on success. If the mount point is being unmounted and MBF_NOWAIT flag is specified ENOENT will be returned. ERRORS [ENOENT] The mount point is being unmounted (MNTK_UNMOUNT is set). SEE ALSO vfs_unbusy(9) AUTHORS This manual page was written by Chad David <[email protected]>. FreeBSD 14.1-RELEASE-p8 February 11, 2013 FreeBSD 14.1-RELEASE-p8

Navigation Options