Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/msm/msm_drv.c msm_ioctl_gem_new() -> msm_gem_new_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unplugged | 0 |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1048574 |
| PARAM_VALUE | 4 | handle | 4096-ptr_max |
| PARAM_VALUE | 5 | name | 0 |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | file | $2 |
| BIT_INFO | 3 | flags | 0x0,0xf0007 |
| USER_DATA | 2 | size | 0-u64max[u] |
| USER_DATA | 3 | flags | 0-1048574[u] |
| USER_DATA | 4 | *handle | 0-u32max[u] |
| UNITS | 0 | dev | unit_byte |
| USER_PTR | 4 | handle |
drivers/gpu/drm/msm/msm_gem.c msm_gem_dumb_create() -> msm_gem_new_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 1-u32max |
| PARAM_VALUE | 3 | flags | 131073 |
| PARAM_VALUE | 4 | handle | 4096-ptr_max |
| PARAM_VALUE | 4 | *handle | 0 |
| PARAM_VALUE | 5 | name | 8705189982479007744 |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | name | 5 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | file | $0 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 5 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 1-u32max[c] |
| UNITS | 2 | size | unit_byte |