Defined in 1 files as a prototype:
Defined in 6 files as a function:
- drivers/crypto/caam/ctrl.c, line 624 (as a function)
- drivers/md/dm-ioctl.c, line 2015 (as a function)
- fs/dlm/plock.c, line 68 (as a function)
- fs/dlm/user.c, line 468 (as a function)
- kernel/module/internal.h, line 405 (as a function)
- kernel/module/version.c, line 13 (as a function)
Referenced in 7 files:
- drivers/bluetooth/btrtl.c
- drivers/crypto/caam/ctrl.c, line 1023
- drivers/md/dm-ioctl.c, line 2183
- fs/dlm/plock.c, line 535
- fs/dlm/user.c, line 535
- kernel/module/main.c, line 1290
- kernel/module/version.c, line 93
Smatch caller information:
fs/dlm/user.c device_write() -> check_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| BUF_SIZE | 0 | info | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | info | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | info | r memdup_user_nul |
| TERMINATED | 0 | info | 1 |
| USER_DATA | 0 | info->cmd | 0-255 |
| USER_DATA | 0 | info->is64bit | 0-255 |
| USER_PTR | 0 | info | |
| USER_PTR | 0 | info->unused | |
| USER_PTR | 0 | info->version |
fs/dlm/plock.c dev_write() -> check_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1022373094718922752 |
| USER_DATA | 0 | info->end | 0-u64max |
| USER_DATA | 0 | info->ex | 0-255 |
| USER_DATA | 0 | info->flags | 0-255 |
| USER_DATA | 0 | info->fsid | 0-u32max |
| USER_DATA | 0 | info->nodeid | s32min-s32max |
| USER_DATA | 0 | info->number | 0-u64max |
| USER_DATA | 0 | info->optype | 0-255 |
| USER_DATA | 0 | info->owner | 0-u64max |
| USER_DATA | 0 | info->pid | 0-u32max |
| USER_DATA | 0 | info->rv | s32min-s32max |
| USER_DATA | 0 | info->start | 0-u64max |
| USER_DATA | 0 | info->wait | 0-255 |
| USER_PTR | 0 | info->version |
drivers/md/dm-ioctl.c ctl_ioctl() -> check_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0-255 |
| PARAM_VALUE | 2 | kernel_params | 6201279040966836224 |
| DATA_SOURCE | 1 | user | $2 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | info | 0-255[c] |
drivers/crypto/caam/ctrl.c caam_probe() -> check_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4680606831483297792 |
| PARAM_VALUE | 0 | info->major | 1-u32max |
| PARAM_VALUE | 1 | user | 10 |
| PARAM_VALUE | 2 | kernel_params | 20 |
| PARAM_VALUE | 3 | revision | 0 |
| BUF_SIZE | 0 | info | 12 |
| DATA_SOURCE | 0 | info | r fsl_mc_get_version |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/module/main.c resolve_symbol() -> check_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 402463899452510208,819794768076095488 |
| PARAM_VALUE | 2 | kernel_params | 4096-ptr_max |
| PARAM_VALUE | 3 | revision | 0 |
| CAPPED_DATA | 0 | info->hdr->e_shnum | 1 |
| CAPPED_DATA | 0 | info->hdr->e_shoff | 1 |
| CAPPED_DATA | 0 | info->hdr->e_shstrndx | 1 |
| CAPPED_DATA | 0 | info->index.mod | 1 |
| CAPPED_DATA | 0 | info->index.pcpu | 1 |
| CAPPED_DATA | 0 | info->len | 1 |
| CAPPED_DATA | 2 | kernel_params | 1 |
| DATA_SOURCE | 0 | info | $1 |
| DATA_SOURCE | 1 | user | $2 |
| DATA_SOURCE | 2 | kernel_params | $0 |
| CONSTRAINT | 0 | info | <3064 |
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | info->max_pages | |
| UNITS | 1 | user | unit_byte |
| LOCK2 | global &module_mutex |