Defined in 1 files as a function:
Referenced in 8 files:
- fs/ceph/dir.c, line 1675
- fs/dcache.c
- fs/erofs/zdata.c
- fs/gfs2/glock.c
- fs/gfs2/lock_dlm.c
- fs/gfs2/quota.c
- fs/xfs/xfs_buf.c
- fs/xfs/xfs_qm.c
Smatch caller information:
fs/erofs/zdata.c z_erofs_get_pcluster() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 0 | l->count | s32min-0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcl->lockref.lock | ||
| HALF_LOCKED2 | &(&sbi->managed_pslots)->xa_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pcl->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/erofs/zdata.c z_erofs_put_pcluster() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 0 | l->count | s32min-1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcl->lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/glock.c gfs2_glock_iter_next() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 21,32,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/gfs2/glock.c withdraw_glock() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gl->gl_lockref.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/lock_dlm.c gdlm_ast() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ls->ls_cb_lock | ||
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | bh |
fs/gfs2/lock_dlm.c gdlm_put_lock() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 0 | l->count | (-128) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_qm.c xfs_qm_dqpurge() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 0 | l->count | s32min-0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| 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_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dqp->q_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/quota.c qd_grab_sync() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qd->qd_lockref.lock | ||
| LOCK2 | global &qd_lock | ||
| HALF_LOCKED2 | &sdp->sd_quota_sync_mutex | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/quota.c qd_put() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 0 | l->count | s32min-1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qd->qd_lockref.lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/xfs/xfs_buf.c xfs_buf_destroy() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_buf.c xfs_buf_stale() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bp->b_lockref.lock | ||
| HALF_LOCKED2 | &*bpp->b_sema | ||
| HALF_LOCKED2 | &bp->b_sema | ||
| HALF_LOCKED2 | &bp->b_sema | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/ceph/dir.c __dentry_leases_walk() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| LOCK2 | &dentry->d_lockref.lock | ||
| LOCK2 | &mdsc->dentry_list_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->dentry_list_lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/dcache.c d_alloc_parallel() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_inode->i_rwsem | ||
| HALF_LOCKED2 | &dvnode->rmdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/dcache.c dentry_free() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/dcache.c shrink_dcache_for_umount() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &s->s_umount | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/dcache.c shrink_dcache_tree() -> lockref_is_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &v->d_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |