Documented in 1 files:
Defined in 1 files as a function:
Referenced in 33 files:
- drivers/block/zram/zram_drv.c, line 100
- drivers/bluetooth/hci_qca.c
- drivers/gpu/drm/i915/gt/intel_execlists_submission.c, line 2407
- drivers/gpu/drm/i915/gt/intel_reset.c, line 1527
- drivers/gpu/drm/i915/gt/selftest_execlists.c, line 575
- drivers/gpu/drm/i915/gt/selftest_hangcheck.c
- drivers/gpu/drm/i915/gt/selftest_lrc.c, line 1764
- drivers/gpu/drm/i915/selftests/igt_reset.c, line 39
- drivers/md/dm-snap.c, line 914
- drivers/md/dm-zoned-metadata.c
- drivers/md/dm-zoned-reclaim.c, line 109
- fs/afs/server.c
- fs/btrfs/disk-io.c, line 1518
- fs/btrfs/extent_io.c
- fs/btrfs/fs.h, line 1200
- fs/btrfs/relocation.c
- fs/btrfs/zoned.c, line 2649
- fs/buffer.c, line 74
- fs/ceph/dir.c, line 1270
- fs/ceph/file.c
- fs/erofs/xattr.c, line 119
- fs/erofs/zmap.c, line 711
- fs/gfs2/glock.c
- fs/jbd2/commit.c, line 44
- fs/netfs/fscache_volume.c
- fs/nfs/nfs4state.c, line 1135
- fs/nfs/pnfs_nfs.c, line 777
- fs/nfsd/filecache.c
- fs/nfsd/nfs4callback.c, line 1445
- fs/nfsd/nfs4recover.c, line 1771
- fs/smb/client/inode.c, line 2827
- kernel/softirq.c, line 1069
- net/sunrpc/svc.c, line 1012
Smatch caller information:
fs/nfsd/nfs4callback.c nfsd41_destroy_cb() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/bluetooth/hci_qca.c qca_controller_memdump() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 3 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &qca->hci_memdump_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qca_data)->hci_memdump_lock |
drivers/bluetooth/hci_qca.c qca_controller_memdump() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 3 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &qca->hci_memdump_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qca_data)->hci_memdump_lock |
drivers/bluetooth/hci_qca.c qca_controller_memdump() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 3 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &qca->hci_memdump_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qca_data)->hci_memdump_lock |
fs/jbd2/commit.c journal_end_buffer_io_sync() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 24 |
| PARAM_VALUE | 1 | word | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/erofs/xattr.c erofs_init_inode_xattrs() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 63 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/glock.c finish_xmote() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gl->gl_lockref.lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/glock.c gfs2_glock_dq() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gl->gl_lockref.lock | ||
| HALF_LOCKED2 | &fp->f_fl_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/gfs2/glock.c gfs2_instantiate() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 12 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rgd->rd_mutex | ||
| HALF_LOCKED2 | &rs->rs_rgd->rd_mutex |
fs/nfs/pnfs_nfs.c nfs4_clear_ds_conn_bit() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/filecache.c nfsd_file_do_acquire() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/filecache.c nfsd_file_do_acquire() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-zoned-reclaim.c dmz_reclaim_kcopy_end() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/selftests/igt_reset.c igt_global_reset_unlock() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1-27 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __flags |
drivers/md/dm-snap.c merge_shutdown() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-zoned-metadata.c dmz_mblock_bio_end_io() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1-2 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| FUZZY_MAX | 0 | bit | 2 |
| HARD_MAX | 0 | bit | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-zoned-metadata.c dmz_unlock_zone_reclaim() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 9 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zmd->map_lock | ||
| HALF_LOCKED2 | &zmd->mblk_flush_lock |
fs/btrfs/extent_io.c clear_extent_buffer_reading() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 8 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &eb->refs_lock |
fs/btrfs/extent_io.c end_bbio_meta_write() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/afs/server.c afs_lookup_server() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/afs/server.c afs_lookup_server() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cell->fs_lock | ||
| TYPE_LOCK | (struct afs_cell)->fs_lock |
kernel/softirq.c tasklet_unlock() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
fs/btrfs/relocation.c reloc_chunk_end() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 14 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
fs/btrfs/relocation.c reloc_chunk_start() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 14 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
fs/erofs/zmap.c z_erofs_fill_inode() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 62 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/zoned.c do_zone_finish() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 23 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/transaction.c btrfs_wake_unfinished_drop() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 22 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_execlists_submission.c engine_unlock_reset_tasklet() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/gpu/drm/i915/gt/intel_execlists_submission.c execlists_reset() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| BUF_SIZE | 1 | word | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
fs/btrfs/disk-io.c btrfs_wake_unfinished_drop() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 22 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/disk-io.c cleaner_kthread() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 15 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
drivers/block/zram/zram_drv.c slot_unlock() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 14 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| BUF_SIZE | 1 | word | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/i915/gt/intel_lrc.c garbage_reset() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| BUF_SIZE | 1 | word | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
fs/buffer.c unlock_buffer() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &btree->b_sem | ||
| HALF_LOCKED2 | &dquot->dq_lock | ||
| HALF_LOCKED2 | &ei->truncate_mutex | ||
| HALF_LOCKED2 | &first->b_uptodate_lock | ||
| HALF_LOCKED2 | &iinfo->i_data_sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &jh->b_state_lock | ||
| HALF_LOCKED2 | &journal->j_checkpoint_mutex | ||
| HALF_LOCKED2 | &journal->j_list_lock | ||
| HALF_LOCKED2 | &nilfs->ns_sem | ||
| HALF_LOCKED2 | &oinfo->dqi_gqinode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_lock | ||
| HALF_LOCKED2 | &sbi->s_orphan_lock | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | flags |
fs/netfs/fscache_volume.c fscache_create_volume() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/netfs/fscache_volume.c fscache_create_volume_work() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/netfs/fscache_volume.c fscache_wake_pending_volume() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 3 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gt/intel_reset.c __igt_reset_engine() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1-27 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_reset.c igt_reset_fail_engine() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1-27 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_reset.c igt_reset_nop_engine() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1-27 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_handle_error() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &attr->mutex |
fs/smb/client/inode.c cifs_revalidate_mapping() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 5 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| BUF_SIZE | 1 | word | 8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ceph/dir.c ceph_async_unlink_cb() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lockref)->lock |
net/sunrpc/svc.c svc_exit_thread() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 2 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4state.c nfs4_clear_state_manager_bit() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | global &nfs_clid_init_mutex |
fs/nfsd/nfs4recover.c nfsd4_cltrack_upcall_unlock() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 5 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| NOCHECK_CALL |
fs/ceph/file.c ceph_finish_async_create() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 5 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dn->d_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/ceph/file.c wake_async_create_waiters() -> clear_and_wake_up_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 12 |
| PARAM_VALUE | 1 | word | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ci->i_ceph_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |