函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:26:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pagecache_write_begin

函数原型:int pagecache_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata)

返回类型:int

参数:

类型参数名称
struct file *file
struct address_space *mapping
loff_tpos
unsignedlen
unsignedflags
struct page **pagep
void **fsdata
3126  aops等于a_ops
3128  返回:write_begin(file, mapping, pos, len, flags, pagep, fsdata)
调用者
名称描述
generic_cont_expand_simplelity function for filesystems that need to do work on expanding* truncates. Uses filesystem pagecache writes to allow the filesystem to* deal with the hole.
cont_expand_zero
__page_symlinkThe nofs argument instructs pagecache_write_begin to pass AOP_FLAG_NOFS