Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_auth.c drm_dropmaster_ioctl() -> drm_is_current_master_locked()
| 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 |
| LOCK2 | _T->lock |
drivers/gpu/drm/drm_auth.c drm_is_current_master() -> drm_is_current_master_locked()
| 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,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | fpriv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| 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 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &fpriv->master_lookup_lock | |
| HALF_LOCKED2 | &dev->filelist_mutex | ||
| HALF_LOCKED2 | &m->lock | ||
| TYPE_LOCK | (struct drm_file)->master_lookup_lock |
drivers/gpu/drm/drm_auth.c drm_master_release() -> drm_is_current_master_locked()
| 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_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | fpriv->debugfs_client->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| 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,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| 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 |
| PARAM_VALUE | 0 | fpriv->minor->dev->event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fpriv->minor->kdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fpriv->minor->type | 0 |
| BUF_SIZE | 0 | fpriv | (-1),26,1216 |
| BUF_SIZE | 0 | fpriv | (-1),26,1216 |
| DATA_SOURCE | 0 | fpriv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/drm_auth.c drm_setmaster_ioctl() -> drm_is_current_master_locked()
| 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 |
| LOCK2 | _T->lock |