Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_page_mkwrite_actor

Proto:static loff_t iomap_page_mkwrite_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

Type:loff_t

Parameter:

TypeParameterName
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
1058  page = data
1061  If flags for mapping & IOMAP_F_BUFFER_HEAD Then
1062  ret = __block_write_begin_int(page, pos, length, NULL, iomap)
1063  If ret Then Return ret
1065  block_commit_write(page, 0, length)
1066  Else
1067  WARN_ON_ONCE(!PageUptodate(page))
1068  iomap_page_create(inode, page)
1069  Dirty a page
1072  Return length