Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/usb/pvrusb2/pvrusb2-context.c pvr2_channel_limit_inputs() -> pvr2_hdw_set_input_allowed()

Type Parameter Key Value
PARAM_VALUE 0 hdw 4096-ptr_max
PARAM_VALUE 2 change_val 0-29
DATA_SOURCE 1 change_mask r pvr2_hdw_get_input_available
PARAM_COMPARE 0 hdw->input_avail_mask == $1
PARAM_COMPARE 1 change_mask == $0->input_avail_mask
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cp->mc_head->mutex
TYPE_LOCK (struct pvr2_context)->mutex

drivers/media/usb/pvrusb2/pvrusb2-context.c pvr2_context_reset_input_limits() -> pvr2_hdw_set_input_allowed()

Type Parameter Key Value
PARAM_VALUE 0 hdw 4096-ptr_max
DATA_SOURCE 1 change_mask r pvr2_hdw_get_input_available
PARAM_COMPARE 0 hdw->input_avail_mask == $1
PARAM_COMPARE 1 change_mask == $0->input_avail_mask
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mp->mutex
TYPE_LOCK (struct pvr2_context)->mutex