Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-28 20:14:10
Last Modify:2020-03-18 10:38:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:block_write_end

Proto:int block_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata)

Type:int

Parameter:

TypeParameterName
struct file *file
struct address_space *mapping
loff_tpos
unsignedlen
unsignedcopied
struct page *page
void *fsdata
2133  inode = host
2136  start = pos & PAGE_SIZE - 1
2138  If Value for the false possibility is greater at compile time(copied < len) Then
2151  If Not PageUptodate(page) Then copied = 0
2154  If a page has any new buffers, zero them out here, and mark them uptodate* and dirty so they'll be written out (in order to prevent uninitialised* block data from leaking). And clear the new bit.
2156  flush_dcache_page(page)
2159  __block_commit_write(inode, page, start, start + copied)
2161  Return copied
Caller
NameDescribe
generic_write_end
blkdev_write_end
iomap_write_end