Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 20 files:
-
drivers/input/gameport/emu10k1-gp.c,
line 65
-
drivers/input/gameport/fm801-gp.c,
line 88
-
drivers/input/gameport/gameport.c,
line 520
-
drivers/input/gameport/lightning.c,
line 227
-
drivers/input/gameport/ns558.c
-
drivers/input/joystick/a3d.c,
line 352
-
sound/isa/cmi8328.c,
line 386
-
sound/pci/als4000.c,
line 764
-
sound/pci/au88x0/au88x0_game.c,
line 94
-
sound/pci/azt3328.c,
line 1787
-
sound/pci/cmipci.c,
line 2827
-
sound/pci/cs4281.c,
line 1236
-
sound/pci/cs46xx/cs46xx_lib.c,
line 2708
-
sound/pci/ens1370.c,
line 1786
-
sound/pci/es1938.c,
line 1468
-
sound/pci/es1968.c,
line 2412
-
sound/pci/sonicvibes.c,
line 1145
-
sound/pci/trident/trident_main.c,
line 3133
-
sound/pci/via82xx.c,
line 1923
-
sound/pci/ymfpci/ymfpci.c,
line 128
Smatch caller information:
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
0 |
gameport->close |
1208247266491383808 |
| PARAM_VALUE |
0 |
gameport->cooked_read |
632330305729220608 |
| PARAM_VALUE |
0 |
gameport->fuzz |
1 |
| PARAM_VALUE |
0 |
gameport->open |
5702381250205601792 |
| PARAM_VALUE |
0 |
gameport->port_data |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8399525933072936960 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
0 |
gameport->port_data |
96 |
| BUF_SIZE |
1 |
fmt |
13 |
| BUF_SIZE |
2 |
$ |
32 |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
12 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&of->mutex |
|
| HALF_LOCKED2 |
|
global &gameport_mutex |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
0 |
gameport->cooked_read |
3605336748745134080 |
| PARAM_VALUE |
0 |
gameport->open |
4054123942507278336 |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8399525933072936960 |
| BUF_SIZE |
1 |
fmt |
13 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| STR_LEN |
0 |
gameport |
12 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pdev->mutex |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|
| HALF_LOCKED2 |
|
&pci->dev.mutex |
|
| HALF_LOCKED2 |
|
&pool->lock |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
gameport |
4096-ptr_max |
| PARAM_VALUE |
1 |
fmt |
8333808701229301760 |
| BUF_SIZE |
0 |
gameport |
2128 |
| BUF_SIZE |
1 |
fmt |
16 |
| BUF_SIZE |
2 |
$ |
1-s32max |
| DATA_SOURCE |
0 |
gameport |
r gameport_allocate_port |
| STR_LEN |
0 |
gameport |
15 |
| TERMINATED |
1 |
fmt |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| NOCHECK_CALL |
|
|
|