Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/pci/switch/switchtec.c ioctl_event_ctl() -> event_ctl()

Type Parameter Key Value
PARAM_VALUE 0 stdev 4096-ptr_max
PARAM_VALUE 0 stdev->alive 1
PARAM_VALUE 0 stdev->mrpc_mutex.dep_map->name 0-255
PARAM_VALUE 0 stdev->mrpc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 stdev->mrpc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stdev->mrpc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctl 4495514982651445248
PARAM_VALUE 1 ctl->event_id 0-31
PARAM_VALUE 1 ctl->flags 0-510
PARAM_VALUE 1 ctl->index 0-s32max
DATA_SOURCE 0 stdev $0
HOST_DATA 1 ctl->occurred 0-1
USER_DATA 1 ctl->count 0-u32max
USER_DATA 1 ctl->event_id 0-31
USER_DATA 1 ctl->flags 0-510
USER_DATA 1 ctl->occurred 0-u32max
USER_PTR 1 ctl->data
LOCK2 0 &stdev->mrpc_mutex
TYPE_LOCK (struct switchtec_dev)->mrpc_mutex

drivers/pci/switch/switchtec.c ioctl_event_ctl() -> event_ctl()

Type Parameter Key Value
PARAM_VALUE 0 stdev->alive 1
PARAM_VALUE 0 stdev->mrpc_mutex.dep_map->name 0-255
PARAM_VALUE 0 stdev->mrpc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 stdev->mrpc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stdev->mrpc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctl 4495514982651445248
PARAM_VALUE 1 ctl->event_id 0-31
PARAM_VALUE 1 ctl->flags 0-510
PARAM_VALUE 1 ctl->index s32min-(-3),(-1)-s32max
DATA_SOURCE 0 stdev $0
USER_DATA 1 ctl->count 0-u32max
USER_DATA 1 ctl->event_id 0-31
USER_DATA 1 ctl->flags 0-510
USER_DATA 1 ctl->index s32min-(-3),(-1)-s32max
USER_DATA 1 ctl->occurred 0-u32max
USER_PTR 1 ctl->data
LOCK2 0 &stdev->mrpc_mutex
TYPE_LOCK (struct switchtec_dev)->mrpc_mutex