Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-7 |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | (-2147483647)-(-1),1-s32max |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| DATA_SOURCE | 3 | id | r sw_read_packet |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-7 |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | (-2147483647)-(-1),1-s32max |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| CAPPED_DATA | 3 | id | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| DATA_SOURCE | 3 | id | r sw_read_packet |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->drv | 6395306602260393984 |
| PARAM_VALUE | 0 | gameport->drv->connect | 5495870290759749632 |
| PARAM_VALUE | 0 | gameport->drv->description | 1176749137523200000 |
| PARAM_VALUE | 0 | gameport->drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 0 | gameport->drv->reconnect | 0 |
| PARAM_VALUE | 0 | gameport->drv_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gameport->drv_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gameport->port_data->gameport->poll_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->port_data->gameport->timer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gameport->port_data->shadow_reg_ctrl_6AH | 0-u16max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| BUF_SIZE | 1 | buf | 512 |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_read() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 5732631936141869056 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 1 | buf | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/joystick/sidewinder.c sw_read() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 5732631936141869056 |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | 0 |
| BUF_SIZE | 1 | buf | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/joystick/sidewinder.c sw_read() -> sw_read_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->read | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->trigger | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 5732631936141869056 |
| PARAM_VALUE | 2 | length | 512 |
| PARAM_VALUE | 3 | id | (-2147483647)-s32max |
| BUF_SIZE | 1 | buf | 512 |
| CAPPED_DATA | 3 | id | 1 |
| DATA_SOURCE | 3 | id | r sw_read_packet |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |