Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-roccat.c roccat_disconnect() -> roccat_free_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->dev 4096-ptr_max
PARAM_VALUE 0 device->exist 0
PARAM_VALUE 0 device->open 0
CAPPED_DATA 0 device->dev->class 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->driver_input_lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/hid/hid-roccat.c roccat_release() -> roccat_free_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->exist 0
PARAM_VALUE 0 device->open 0
PARAM_VALUE 0 device->readers_lock.dep_map->name 0-255
PARAM_VALUE 0 device->readers_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 device->readers_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 device->readers_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 device->readers_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 device->readers_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 device->readers_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 device->readers_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 device->readers_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 device->readers_lock.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &device->readers_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &devices_lock