Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/md/md.c, line 670
- fs/ceph/snap.c
- fs/hfs/bnode.c, line 566
- fs/hfsplus/bnode.c, line 680
- fs/jffs2/xattr.c, line 407
- fs/nfs/nfs4state.c, line 561
- fs/nfsd/nfs4state.c
- fs/ocfs2/dlm/dlmmaster.c, line 3505
- fs/xfs/xfs_inode_item.c, line 737
- lib/dec_and_lock.c, line 35
- net/rxrpc/conn_client.c, line 710
- net/sunrpc/auth_gss/auth_gss.c, line 294
Smatch caller information:
net/rxrpc/conn_client.c rxrpc_deactivate_bundle() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/snap.c ceph_put_snap_realm() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex |
fs/ceph/snap.c ceph_put_snapid_map() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/md.c mddev_put() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 3551481818640035840 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &of->mutex |
fs/jffs2/xattr.c unrefer_xattr_datum() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &c->xattr_sem | ||
| HALF_LOCKED2 | &c->alloc_sem | ||
| TYPE_LOCK | (struct jffs2_sb_info)->xattr_sem |
fs/hfsplus/bnode.c hfsplus_bnode_put() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 0 | atomic->counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs4state.c __nfs4_file_put_access() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs4state.c nfs4_put_stateowner() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs4state.c put_client_no_renew() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/nfsd/nfs4state.c put_client_renew() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
fs/hfs/bnode.c hfs_bnode_put() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 0 | atomic->counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
net/sunrpc/auth_gss/auth_gss.c put_pipe_version() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 5209343607404199936 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlm/dlmmaster.c dlm_lockres_release_ast() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dlm->ast_lock | ||
| HALF_LOCKED2 | &lock->spinlock | ||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_inode_item.c xfs_inode_item_unpin() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4state.c nfs4_put_state_owner() -> atomic_dec_and_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atomic | 4096-ptr_max |
| PARAM_VALUE | 1 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |