Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/nfs_common/nfslocalio.c nfs_close_local_fh() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING

fs/nfs_common/nfslocalio.c nfs_uuid_put() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfs_uuid->lock
TYPE_LOCK (struct nfs_uuid_t)->lock

net/rxrpc/conn_object.c rxrpc_destroy_all_connections() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem
HALF_LOCKED2 &pool->lock

fs/nfsd/nfs4callback.c nfsd41_cb_inflight_wait_complete() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nfsd_mutex

fs/afs/inode.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/qcom/venus/hfi.c hfi_core_deinit() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &_dev->mutex
TYPE_LOCK (struct device)->mutex

fs/dax.c wait_page_idle() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 64
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &mapping->invalidate_lock

fs/dax.c wait_page_idle_uninterruptible() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 64
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING

security/landlock/fs.c hook_sb_delete() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8

fs/super.c grab_super() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cifs_mount_mutex

fs/super.c super_lock() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING

fs/super.c wait_for_partially_frozen() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 1-3,5-u16max
BUF_SIZE 0 p 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bdev->bd_fsfreeze_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sdp->sd_freeze_mutex
HALF_LOCKED2 global &dax_srcu

net/sunrpc/xprt.c xprt_wait_on_pinned_rqst() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/afs/cell.c afs_cell_purge() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

fs/afs/cell.c afs_lookup_cell() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->cells_alias_lock

drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c pulse_unlock_wait() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 392

fs/netfs/fscache_cache.c fscache_withdraw_cache() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/inode.c inode_bit_waitqueue() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 *p 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_lock

fs/inode.c inode_dio_wait() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem

fs/inode.c inode_dio_wait_interruptible() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfsd/nfs4state.c nfsd4_cstate_assign_replay() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4

fs/nfsd/nfs4state.c nfsd_wait_for_delegreturn() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p $1
HALF_LOCKED2 &inode->i_rwsem

fs/mbcache.c mb_cache_entry_wait_unused() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

mm/shmem.c shmem_evict_inode() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/fserror.c fserror_unmount() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/fs-writeback.c cgroup_writeback_drain() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/afs/server.c afs_wait_for_servers() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

fs/afs/vl_rotate.c afs_start_vl_iteration() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->cells_alias_lock

fs/xfs/xfs_fsops.c xlog_shutdown_wait() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &mp->m_sb_bp->b_sema
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &dax_srcu

drivers/gpu/drm/xe/xe_drm_client.c show_run_ticks() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/i915/i915_active.c __await_barrier() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 vma->obj->base.resv

drivers/gpu/drm/i915/i915_active.c __i915_active_wait() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),392
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->perf.lock

fs/nfs/pagelist.c nfs_iocounter_wait() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/afs/rxrpc.c afs_close_socket() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem
HALF_LOCKED2 &pool->lock

drivers/block/ublk_drv.c ublk_wait_dev_ready_and_lock() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

drivers/dma-buf/st-dma-fence-chain.c test_find_race() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 2852385476517609504
BUF_SIZE 0 p 4

fs/ceph/inode.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

kernel/sched/build_utility.c wake_up_var() -> __var_waitqueue()

Type Parameter Key Value
BUF_SIZE 0 p (-1),2-4,8,16,24,64,88,128,168
BUF_SIZE 0 p (-1),2-4,8,16,24,64,88,128,168
DATA_SOURCE 0 p $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &core->lock
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &nfs_uuid->lock
HALF_LOCKED2 &pmu->events_lock
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 &wf->mutex
HALF_LOCKED2 &xprt->queue_lock
HALF_LOCKED2 global &bdev_lock
HALF_LOCKED2 global &shmem_swaplist_lock
HALF_LOCKED2 rf.flags

block/bdev.c bd_prepare_to_claim() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &bdev_lock

fs/btrfs/block-group.c btrfs_wait_block_group_reservations() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/block-group.c btrfs_wait_nocow_writers() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4

fs/nfs/dir.c __nfs_lookup_revalidate() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 1
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

kernel/events/core.c perf_event_exit_task_context() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

kernel/events/core.c pmu_detach_events() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

net/tipc/core.c tipc_exit_net() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

fs/netfs/fscache_io.c fscache_begin_operation() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 1-2,4,6
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/netfs/fscache_io.c fscache_wait_for_operation() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 1-2,4,6
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_guc_pc.c wait_for_flush_complete() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

block/blk-cgroup.c blkcg_init_disk() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING

fs/notify/fsnotify.c fsnotify_sb_delete() -> __var_waitqueue()

Type Parameter Key Value
BUF_SIZE 0 p 24
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/smb2ops.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/9p/vfs_inode.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/nfs/write.c wait_on_commit() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

drivers/gpu/drm/i915/i915_request.c wait_for_all() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4

net/rxrpc/call_object.c rxrpc_destroy_all_calls() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem
HALF_LOCKED2 &pool->lock

fs/netfs/fscache_volume.c fscache_withdraw_volume() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

fs/netfs/fscache_cookie.c __fscache_use_cookie() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 6
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vnode->validate_lock

fs/netfs/fscache_cookie.c fscache_wait_on_collision() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem

fs/netfs/fscache_cookie.c fscache_wait_on_collision() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem

fs/xfs/xfs_buf.c xfs_buf_delwri_queue_here() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 16

fs/smb/client/inode.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/display/drm_dp_aux_dev.c drm_dp_aux_unregister_devnode() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_connector->mutex
HALF_LOCKED2 &connector->mutex

fs/nfs/pnfs.c pnfs_destroy_layout_final() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p r __pnfs_destroy_layout
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

lib/lwq.c lwq_exercise() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 128
DATA_SOURCE 0 p $0

net/sunrpc/svc.c svc_new_thread() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p (-11)
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nfsd_mutex

drivers/gpu/drm/i915/intel_wakeref.c intel_wakeref_wait_for_idle() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 1
BUF_SIZE 0 p 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attr->mutex

fs/nfs/nfs4state.c nfs4_run_state_manager() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 8

fs/smb/client/cifsfs.c cifs_kill_sb() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/cifsfs.c netfs_wait_for_outstanding_io() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

kernel/sched/core.c affine_move_task() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4267953234929963008
BUF_SIZE 0 p 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 rf.flags

fs/dcache.c d_wait_lookup() -> __var_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 4
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