Perform an operation on (almost) all vnodes from a given mountpoint.
- macOS 10.4+
Mount whose vnodes to operate on.
VNODE_RELOAD Mark inactive vnodes for recycle. VNODE_WAIT VNODE_WRITEABLE Only examine vnodes with writes in progress. VNODE_WITHID No effect. VNODE_NOLOCK_INTERNAL No effect. VNODE_NODEAD No effect. VNODE_NOSUSPEND No effect. VNODE_ITERATE_ALL No effect. VNODE_ITERATE_ACTIVE No effect. VNODE_ITERATE_INACTIVE No effect.
Function to call on each vnode.
Argument which will be passed to callout along with each vnode.
Zero for success, else an error code. Will return 0 immediately if there are no vnodes hooked into the mount.
Skips vnodes which are dead, in the process of reclaim, suspended, or of type VNON.