函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:i_blocksize

函数原型:static inline unsigned int i_blocksize(const struct inode *node)

返回类型:unsigned int

参数:

类型参数名称
const struct inode *node
744  返回:1左移i_blkbits
调用者
名称描述
pagecache_isize_extendedpagecache_isize_extended - update pagecache after extension of i_size*@inode: inode for which i_size was extended*@from: original inode size*@to: new inode size* Handle extension of inode size either caused by extending truncate or by
generic_remap_check_lenEnsure that we don't remap a partial EOF block in the middle of something* else. Assume that the offsets have already been checked for block* alignment.* For clone we only link a partial EOF block above or at the destination file's* EOF
generic_fillattrgeneric_fillattr - Fill in the basic attributes from the inode struct*@inode: Inode to use as the source*@stat: Where to fill in the attributes* Fill in the basic attributes in the kstat structure from data that's to be* found on the VFS inode structure
cont_expand_zero
cont_write_beginFor moronic filesystems that do not allow holes in file.* We may have to extend the file.
nobh_truncate_page
block_truncate_page
generic_block_bmap
bdget
map_buffer_to_pagesupport function for mpage_readpages
iomap_page_create
iomap_iop_set_range_uptodate
__iomap_write_begin
iomap_truncate_page
iomap_finish_page_writeback
iomap_add_to_ioendTest to see if we have an existing ioend structure that we could append to* first, otherwise finish off the current ioend and start another.
iomap_writepage_mapWe implement an immediate ioend submission policy here to avoid needing to* chain multiple ioends and hence nest mempool allocations which can violate* forward progress guarantees we need to provide
iomap_dio_bio_actor
iomap_bmaplegacy ->bmap interface. 0 is the error return (!)
page_seek_hole_dataSeek for SEEK_DATA / SEEK_HOLE within @page, starting at @lastoff.* Returns true if found and updates @lastoff to the offset in file.