Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/tegra/drm.c host1x_reloc_copy_from_user() -> tegra_gem_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master->lessor | 0 |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $3 |
| USER_DATA | 1 | handle | 0-u32max |
| LOCK2 | &fpriv->lock | ||
| TYPE_LOCK | (struct tegra_drm_file)->lock |
drivers/gpu/drm/tegra/drm.c host1x_reloc_copy_from_user() -> tegra_gem_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master->lessor | 0 |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | file->table_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $3 |
| USER_DATA | 1 | handle | 0-u32max |
| LOCK2 | &fpriv->lock | ||
| TYPE_LOCK | (struct tegra_drm_file)->lock |
drivers/gpu/drm/tegra/drm.c tegra_drm_submit() -> tegra_gem_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $3 |
| USER_DATA | 1 | handle | 0-u32max |
| LOCK2 | &fpriv->lock | ||
| TYPE_LOCK | (struct tegra_drm_file)->lock |
drivers/gpu/drm/tegra/uapi.c tegra_drm_ioctl_channel_map() -> tegra_gem_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
| LOCK2 | &fpriv->lock | ||
| TYPE_LOCK | (struct tegra_drm_file)->lock |