lock_is_held_type
if (lock_is_held_type(&dma_fence_lockdep_map, 1))
tmp = lock_is_held_type(&dma_fence_lockdep_map, 1);
lockdep_assert(lock_is_held_type((gpusvm)->lock_dep_map, 0));
extern int lock_is_held_type(const struct lockdep_map *lock, int read);
return lock_is_held_type(lock, -1);
#define lockdep_is_held_type(lock, r) lock_is_held_type(&(lock)->dep_map, (r))
lock_is_held_type((mt)->ma_external_lock, 0))
EXPORT_SYMBOL_GPL(lock_is_held_type);
NOKPROBE_SYMBOL(lock_is_held_type);