Documented in 1 files:

Defined in 1 files as a function:

Referenced in 35 files:

Smatch caller information:

fs/gfs2/glock.c gfs2_glock_dq() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 10
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fp->f_fl_mutex
HALF_LOCKED2 &inode->i_rwsem

fs/gfs2/glock.c gfs2_glock_dq_wait() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/gfs2/glock.c gfs2_glock_wait() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 10
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/gfs2/glock.c gfs2_instantiate() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 12
PARAM_VALUE 2 mode 2
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_wait_ds_connect() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

fs/orangefs/inode.c orangefs_page_mkwrite() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 258
BUF_SIZE 0 word 8
RX_PATH
TASK_NOT_RUNNING

security/keys/request_key.c wait_for_key_construction() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 256,4096-ptr_max
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 1-2
FUZZY_MAX 2 mode 2
HARD_MAX 2 mode 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &idmap->idmap_mutex
HALF_LOCKED2 global &key_types_sem

fs/gfs2/lock_dlm.c control_first_done() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 6
PARAM_VALUE 2 mode 2
NOCHECK_CALL

fs/orangefs/file.c orangefs_revalidate_mapping() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 258
BUF_SIZE 0 word 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfsd/filecache.c nfsd_file_do_acquire() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/gfs2/recovery.c gfs2_recover_journal() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 136,4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

kernel/ptrace.c ptrace_attach() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 21
PARAM_VALUE 2 mode 258
NOCHECK_CALL
LOCK2 &_T->lock->alloc_lock
LOCK2 _T->lock

drivers/gpu/drm/i915/selftests/igt_reset.c igt_global_reset_lock() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1-27
PARAM_VALUE 2 mode 2
NOCHECK_CALL

drivers/md/dm-snap.c stop_merge() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PARAM_VALUE 2 mode 2
NOCHECK_CALL
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &origin_md->suspend_lock

fs/gfs2/ops_fstype.c wait_on_journal() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 6
PARAM_VALUE 2 mode 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/ceph/mds_client.c __do_request() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 5
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdsc->mutex
TYPE_LOCK (struct ceph_mds_client)->mutex

fs/ceph/mds_client.c ceph_wait_on_async_create() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 12
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

fs/ceph/mds_client.c ceph_wait_on_conflict_unlink() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 48,4096-ptr_max
PARAM_VALUE 1 bit 4
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

fs/ceph/caps.c ceph_wait_on_async_create() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 12
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

security/keys/gc.c key_gc_keytype() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 6785196241810030592
PARAM_VALUE 1 bit 2
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &key_types_sem

mm/ksm.c wait_while_offlining() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 3047044576146931712
PARAM_VALUE 0 *word 4-44
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex

fs/afs/server.c afs_check_server_record() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 1-2
FUZZY_MAX 2 mode 2
HARD_MAX 2 mode 2
RX_PATH
TASK_NOT_RUNNING

fs/afs/server.c afs_lookup_server() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 4
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/softirq.c tasklet_unlock_wait() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &accel_dev->state_lock
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &smc->sk
HALF_LOCKED2 bh
HALF_LOCKED2 global &hw_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

drivers/md/dm.c dm_resume() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 1

drivers/md/dm.c dm_suspend() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 1

fs/smb/client/file.c cifs_oplock_break() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/afs/volume.c afs_check_volume_status() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 2
PARAM_VALUE 2 mode 1-2
FUZZY_MAX 2 mode 2
HARD_MAX 2 mode 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &volume->volsync_lock

drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_usb_fe_sleep() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 2
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &state->demod_lock
HALF_LOCKED2 &state->fe_mutex

drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_usb_start_feed() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &demux->mutex
HALF_LOCKED2 &dvbdmx->mutex

net/bluetooth/hci_core.c hci_inquiry() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 1

fs/btrfs/ioctl.c exclop_start_or_cancel_reloc() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 14
PARAM_VALUE 2 mode 1
CAPABLE 0 21
NOCHECK_CALL

fs/smb/client/connect.c cifs_sb_tlink() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/gfs2/super.c gfs2_put_super() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 1
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/misc.c cifs_get_writer() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/btrfs/super.c btrfs_remount_ro() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 15
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/netfs/fscache_volume.c fscache_create_volume() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 4
PARAM_VALUE 2 mode 2
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/netfs/fscache_volume.c fscache_wait_on_volume_collision() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &fsc->client->mount_mutex
HALF_LOCKED2 &tcon->fscache_lock
HALF_LOCKED2 global &cifs_mount_mutex

drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_handle_error() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &attr->mutex

drivers/md/raid5.c add_all_stripe_bios() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bi->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid5.c make_discard_request() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bi->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid5.c make_discard_request() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bi->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

fs/smb/server/oplock.c oplock_break_pending() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/pnfs.c _pnfs_return_layout() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/nfs/pnfs.c _pnfs_return_layout() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/nfs/pnfs.c pnfs_roc() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 3
PARAM_VALUE 2 mode 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/pnfs.c pnfs_update_layout() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 10
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pnfs.c pnfs_update_layout() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 7
PARAM_VALUE 2 mode 258
RX_PATH
TASK_NOT_RUNNING

net/sunrpc/svc.c svc_stop_kthreads() -> wait_on_bit()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 2
PARAM_VALUE 2 mode 1026
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &nfsd_mutex