GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VOP_INOTIFY(9) FreeBSD Kernel Developer's Manual VOP_INOTIFY(9)

VOP_INOTIFYvnode inotify interface

#include <sys/param.h>
#include <sys/vnode.h>

int
VOP_INOTIFY(struct, vnode, *vp, struct, vnode, *dvp, struct, componentname, *cnp, int, event, uint32_t, cookie);

int
VOP_INOTIFY_ADD_WATCH(struct, vnode, *vp, struct, inotify_softc, *sc, uint32_t, mask, uint32_t, *wdp, struct, thread, *td);

The () operation notifies the inotify(2) subsystem of a file system event on a vnode. The dvp and cnp arguments are optional and are only used to obtain a file name for the event. If they are omitted, the inotify subsystem will use the file name cache to find a name for the vnode, but this is more expensive.

The () operation is for internal use by the inotify subsystem to add a watch to a vnode.

The VOP_INOTIFY() operation does not assume any particular vnode lock state. The VOP_INOTIFY_ADD_WATCH() operation should be called with the vnode locked.

Zero is returned on success, otherwise an error code is returned.

May 27, 2025 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 9 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.