Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/dcache.c, line 810
- fs/erofs/zdata.c, line 900
- fs/gfs2/glock.c, line 215
- fs/gfs2/quota.c
- fs/xfs/xfs_buf.c, line 877
- fs/xfs/xfs_qm.c
- lib/lockref.c, line 136
Smatch caller information:
fs/erofs/zdata.c __erofs_try_to_release_pcluster() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(&sbi->managed_pslots)->xa_lock | ||
| LOCK2 | &pcl->lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/glock.c __gfs2_glock_put() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0-1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gl->gl_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/xfs/xfs_qm.c xfs_qm_dqpurge() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | s32min-(-129),(-127)-0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqp->q_lockref.lock | ||
| LOCK2 | &qi->qi_tree_lock | ||
| TYPE_LOCK | (struct lockref)->lock | ||
| TYPE_LOCK | (struct xfs_quotainfo)->qi_tree_lock |
fs/xfs/xfs_qm.c xfs_qm_dquot_isolate() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqp->q_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/quota.c gfs2_qd_isolate() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &qd->qd_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/quota.c gfs2_quota_cleanup() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &qd->qd_lockref.lock | ||
| LOCK2 | global &qd_lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/quota.c qd_put() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | s32min-(-129),(-127)-1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &qd->qd_lockref.lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/xfs/xfs_buf.c xfs_buf_kill() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | s32min-0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/dcache.c dentry_kill() -> lockref_mark_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockref | 4096-ptr_max |
| PARAM_VALUE | 0 | lockref->count | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |