Contents

vnode_hascleanblks

Check if a vnode has clean buffers associated with it.

Declaration

int vnode_hascleanblks(vnode_t vp);

Parameters

  • vp:

    The vnode to test.

Return Value

Nonzero if there are clean blocks, 0 otherwise.

Discussion

Note that this routine is unsynchronized; it is only a snapshot and its result may cease to be true at the moment it is returned..

See Also

vnode