Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c, line 110
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c, line 625
- drivers/gpu/drm/drm_auth.c, line 92
- drivers/gpu/drm/drm_connector.c, line 3541
- drivers/gpu/drm/drm_debugfs.c, line 98
- drivers/gpu/drm/drm_framebuffer.c
- drivers/gpu/drm/drm_ioctl.c, line 624
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 3391
- drivers/gpu/drm/imagination/pvr_context.c, line 44
- drivers/gpu/drm/panfrost/panfrost_device.h, line 222
- drivers/gpu/drm/panthor/panthor_drv.c, line 914
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c, line 1251
Smatch caller information:
drivers/gpu/drm/drm_debugfs.c drm_clients_info() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| CAPPED_DATA | 0 | &fpriv->lhead | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->filelist_mutex | ||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct drm_device)->filelist_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_priority_permit() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $0 |
| CAPABLE | 0 | 23 |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c i915_gem_do_execbuffer() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $1 |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_generic_ioctl() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev->driver | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
drivers/gpu/drm/drm_ioctl.c drm_ioctl_permit() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $1 |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_high_prio_allowed() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $0 |
| CAPABLE | 0 | 23 |
drivers/gpu/drm/panthor/panthor_drv.c group_priority_permit() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $0 |
| CAPABLE | 0 | 23 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_priority_permit() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master->lessor | 0 |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $0 |
| CAPABLE | 0 | 23 |
drivers/gpu/drm/drm_framebuffer.c drm_mode_getfb() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $2 |
drivers/gpu/drm/drm_framebuffer.c drm_mode_getfb2_ioctl() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $2 |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_high_prio_allowed() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | fpriv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fpriv->driver_priv | (-1),152 |
| DATA_SOURCE | 0 | fpriv | $0 |
| CAPABLE | 0 | 23 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_connector.c drm_mode_getconnector() -> drm_is_current_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fpriv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fpriv | $2 |