Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inode_to_bdi

Proto:static inline struct backing_dev_info *inode_to_bdi(struct inode *inode)

Type:struct backing_dev_info

Parameter:

TypeParameterName
struct inode *inode
163  If Not inode Then Return noop_backing_dev_info
166  sb = i_sb
168  If sb_is_blkdev_sb(sb) Then Return bd_bdi
171  Return s_bdi
Caller
NameDescribe
__generic_file_write_iter__generic_file_write_iter - write data to a file*@iocb: IO state structure (file, offset, etc.)*@from: iov_iter with data to write* This function does all the work needed for actually writing data to a* file
generic_fadvisePOSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could* deactivate the pages and clear PG_Referenced.
balance_dirty_pages_ratelimitedalance_dirty_pages_ratelimited - balance dirty memory state*@mapping: address_space which was dirtied* Processes which are dirtying memory should call in here once for each page* which was newly dirtied. The function will periodically check the system's
write_cache_pageswrite_cache_pages - walk the list of dirty pages of the given address space and write all of them
test_clear_page_writeback
__test_set_page_writeback
wait_for_stable_pagewait_for_stable_page() - wait for writeback to finish, if necessary.*@page: The page to wait on.* This function determines if the given page is related to a backing device* that requires page contents to be held stable during writeback. If so, then
file_ra_state_initInitialise a struct file's readahead state. Assumes that the caller has* memset *ra to zero.
force_page_cache_readaheadChunk the readahead into 2 megabyte units, so that we don't pin too much* memory at once.
ondemand_readaheadA minimal readahead algorithm for trivial sequential/random reads.
may_write_to_inode
SYSCALL_DEFINE2