函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\wait_bit.c Create Date:2022-07-27 10:41:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bit_waitqueue

函数原型:wait_queue_head_t *bit_waitqueue(void *word, int bit)

返回类型:wait_queue_head_t

参数:

类型参数名称
void *word
intbit
14  shift等于如果BITS_PER_LONG恒等于32则5否则6
15  val等于word左移shift位按位或bit
17  返回:bit_wait_tablehash_long(val, SPDX-License-Identifier: GPL-2.0-only)
调用者
名称描述
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
__wait_on_freeing_inode