Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwtracing/intel_th/msu.c intel_th_msc_interrupt() -> msc_win_set_lockout()

Type Parameter Key Value
PARAM_VALUE 0 win 1-u64max
PARAM_VALUE 1 expect 0
PARAM_VALUE 2 new 1
DATA_SOURCE 0 win r msc_next_window
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/hwtracing/intel_th/msu.c intel_th_msc_interrupt() -> msc_win_set_lockout()

Type Parameter Key Value
PARAM_VALUE 0 win 4096-ptr_max
PARAM_VALUE 1 expect 1
PARAM_VALUE 2 new 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/hwtracing/intel_th/msu.c intel_th_msc_window_unlock() -> msc_win_set_lockout()

Type Parameter Key Value
PARAM_VALUE 1 expect 2
PARAM_VALUE 2 new 0
DATA_SOURCE 0 win r msc_find_window
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &msc->buf_mutex

drivers/hwtracing/intel_th/msu.c msc_configure() -> msc_win_set_lockout()

Type Parameter Key Value
PARAM_VALUE 1 expect 0
PARAM_VALUE 2 new 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &msc->buf_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct msc)->buf_mutex

drivers/hwtracing/intel_th/msu.c msc_disable() -> msc_win_set_lockout()

Type Parameter Key Value
PARAM_VALUE 1 expect 1
PARAM_VALUE 2 new 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &msc->buf_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct msc)->buf_mutex