Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 1 bit 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gl->gl_lockref.lock
HALF_LOCKED2 &fp->f_fl_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct lockref)->lock

fs/ext4/fast_commit.c ext4_fc_wait_inode_state() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 42-43
BUF_SIZE 0 word 8
DATA_SOURCE 0 word r ext4_inode_state_wait_word
DATA_SOURCE 1 bit r ext4_inode_state_wait_bit
RX_PATH
TASK_NOT_RUNNING

fs/jbd2/journal.c jbd2_journal_release_jbd_inode() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &journal->j_list_lock
TYPE_LOCK (struct journal_s)->j_list_lock

kernel/sched/build_utility.c out_of_line_wait_on_bit() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
BUF_SIZE 0 word (-1),8
BUF_SIZE 0 word (-1),8
DATA_SOURCE 0 word $0
DATA_SOURCE 1 bit $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->alloc_lock
HALF_LOCKED2 &eb->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &key_types_sem

kernel/sched/build_utility.c out_of_line_wait_on_bit_lock() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0-2,5-6,10,14,62-63
BUF_SIZE 0 word (-1),8
BUF_SIZE 0 word (-1),8
DATA_SOURCE 0 word $0
DATA_SOURCE 1 bit $1
HARD_MAX 1 bit 63
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

kernel/sched/build_utility.c out_of_line_wait_on_bit_timeout() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 1 bit 0-1,3-4,8-10
DATA_SOURCE 0 word $0
DATA_SOURCE 1 bit $1
HARD_MAX 1 bit 10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock

kernel/sched/build_utility.c wake_up_bit() -> bit_waitqueue()

Type Parameter Key Value
BUF_SIZE 0 word (-1),8
BUF_SIZE 0 word (-1),8
DATA_SOURCE 0 word $0
DATA_SOURCE 1 bit $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cinode->writers_lock
HALF_LOCKED2 &data->hci_rx_lock
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &gl->gl_lockref.lock
HALF_LOCKED2 &head_sh->stripe_lock
HALF_LOCKED2 &journal->j_list_lock
HALF_LOCKED2 &ls->ls_recover_spin
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qca->hci_memdump_lock
HALF_LOCKED2 &sdp->sd_jindex_spin
HALF_LOCKED2 &sh->stripe_lock
HALF_LOCKED2 bh
HALF_LOCKED2 irq

fs/xfs/xfs_inode.c __xfs_iunpin_wait() -> bit_waitqueue()

Type Parameter Key Value
PARAM_VALUE 0 word 4096-ptr_max
PARAM_VALUE 0 *word 0,128-u64max
PARAM_VALUE 1 bit 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema

net/sunrpc/sched.c rpc_complete_task() -> bit_waitqueue()

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