函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-29 11:07:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_page_mkwrite_actor

函数原型:static loff_t iomap_page_mkwrite_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

返回类型:loff_t

参数:

类型参数名称
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
1058  page等于data
1061  如果 flags for mapping 按位与IOMAP_F_BUFFER_HEAD
1062  ret等于__block_write_begin_int(page, pos, length, NULL, iomap)
1063  如果ret则返回:ret
1065  block_commit_write(page, 0, length)
1066  否则
1067  WARN_ON_ONCE(!PageUptodate(page))
1068  iomap_page_create(inode, page)
1069  Dirty a page
1072  返回:length