Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/dma-buf/dma-resv.c dma_resv_fini() -> ww_mutex_destroy()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/locking/test-ww_mutex.c __test_cycle() -> ww_mutex_destroy()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &run_lock
HALF_LOCKED2 &of->mutex

kernel/locking/test-ww_mutex.c stress() -> ww_mutex_destroy()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &run_lock
HALF_LOCKED2 &of->mutex

lib/test_context-analysis.c test_ww_mutex_lock_ctx() -> ww_mutex_destroy()

Type Parameter Key Value
PARAM_VALUE 0 lock->ctx 0
NOCHECK_CALL

lib/test_context-analysis.c test_ww_mutex_lock_noctx() -> ww_mutex_destroy()

Type Parameter Key Value
PARAM_VALUE 0 lock->ctx 0
NOCHECK_CALL
HALF_LOCKED2 &d->mtx.base