Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_auth.c, line 401
- drivers/gpu/drm/drm_lease.c
- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
Smatch caller information:
drivers/gpu/drm/drm_lease.c _drm_lease_held() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 1-u64max |
| BUF_SIZE | 0 | file_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | file_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | file_priv | unit_byte |
| LOCK2 | &dev->mode_config.idr_mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->idr_mutex |
drivers/gpu/drm/drm_lease.c drm_lease_filter_crtcs() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $0 |
drivers/gpu/drm/drm_lease.c drm_lease_held() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $0 |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &plane->mutex.mutex |
drivers/gpu/drm/drm_lease.c drm_mode_create_lease_ioctl() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $2 |
drivers/gpu/drm/drm_lease.c drm_mode_get_lease_ioctl() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $2 |
drivers/gpu/drm/drm_lease.c drm_mode_list_lessees_ioctl() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $2 |
drivers/gpu/drm/drm_lease.c drm_mode_revoke_lease_ioctl() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $2 |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->type | 0 |
| BUF_SIZE | 0 | file_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | file_priv | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> drm_file_get_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->type | 0 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $2 |