os_mtx_owned
#define os_mtx_owned(lock) mutex_owned(lock)
#define os_mtx_owned(lock) (lockstatus(lock, curthread) == LK_EXCLUSIVE)