Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-28 12:16:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:buffer_boundary

Proto:static inline __attribute__((__always_inline__)) int buffer_boundary(const struct buffer_head *bh)

Type:int

Parameter:

TypeParameterName
const struct buffer_head *bh
131  Return If __builtin_constant_p( Block is followed by a discontiguity ) Then constant_test_bit(( Block is followed by a discontiguity ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Block is followed by a discontiguity ), ( & buffer state bitmap (see above) ))
Caller
NameDescribe
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