Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\wait_bit.c Create Date:2022-07-28 09:40:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bit_waitqueue

Proto:wait_queue_head_t *bit_waitqueue(void *word, int bit)

Type:wait_queue_head_t

Parameter:

TypeParameterName
void *word
intbit
14  shift = If BITS_PER_LONG == 32 Then 5 Else 6
15  val = word << shift | bit
17  Return bit_wait_table + hash_long(val, SPDX-License-Identifier: GPL-2.0-only)
Caller
NameDescribe
out_of_line_wait_on_bit
out_of_line_wait_on_bit_timeout
out_of_line_wait_on_bit_lock
wake_up_bitwake_up_bit - wake up a waiter on a bit*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on* There is a standard hashed waitqueue table for generic use
__inode_dio_waitDirect i/o helper functions
__inode_wait_for_writebackWait for writeback on an inode to complete. Called with i_lock held.* Caller must make sure inode cannot go away when we drop i_lock.
inode_sleep_on_writebackSleep until I_SYNC is cleared. This function must be called with i_lock* held and drops it. It is aimed for callers not holding any inode reference* so once i_lock is dropped, inode can go away.
bd_prepare_to_claimd_prepare_to_claim - prepare to claim a block device*@bdev: block device of interest*@whole: the whole device containing @bdev, may equal @bdev*@holder: holder trying to claim @bdev* Prepare to claim @bdev