函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-27 13:23:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:buffer_mapped

函数原型:static inline __attribute__((__always_inline__)) int buffer_mapped(const struct buffer_head *bh)

返回类型:int

参数:

类型参数名称
const struct buffer_head *bh
126  返回:如果__builtin_constant_p( Has a disk mapping )则constant_test_bit(( Has a disk mapping ), ( & buffer state bitmap (see above) ))否则variable_test_bit(( Has a disk mapping ), ( & buffer state bitmap (see above) ))
调用者
名称描述
__generic_block_fiemap__generic_block_fiemap - FIEMAP for block based inodes (no locking)*@inode: the inode to map*@fieinfo: the fiemap info struct that will be passed back to userspace*@start: where to start mapping in the inode*@len: how much space to map*@get_block: the
__find_get_block_slowVarious filesystems appear to want __find_get_block to be non-blocking
init_page_buffersInitialise the state of a blockdev page's buffers.
clean_bdev_aliaseslean_bdev_aliases: clean a range of buffers in block device*@bdev: Block device to clean buffers in*@block: Start of a range of blocks to clean*@len: Number of blocks to clean* We are taking a range of blocks for data and we don't want writeback of any*
__block_write_full_pageWhile block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time
__block_write_begin_int
block_read_full_pageGeneric "read page" function for block devices that have the normal* get_block functionality
nobh_write_beginOn entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure.
nobh_truncate_page
block_truncate_page
submit_bh_wbc
do_direct_IOWalk the user pages, and the file, mapping blocks to disk and generating* a sequence of (page,offset,len,block) mappings. These mappings are injected* into submit_page_section(), which takes care of the next stage of submission
do_mpage_readpageThis is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk
__mpage_writepage