vn_has_mandatory_locks
if (vn_has_mandatory_locks(vp, vattr.va_mode))
if (vn_has_mandatory_locks(vp, VTOH(vp)->hs_dirent.mode))
if (vn_has_mandatory_locks(vp, tp->tn_mode)) {
if (vn_has_mandatory_locks(vp, VTOI(vp)->i_char)) {
if (vn_has_mandatory_locks(vp, VTOI(vp)->i_mode)) {
int vn_has_mandatory_locks(vnode_t *, int);