函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:simple_getattr

函数原型:int simple_getattr(const struct path *path, struct kstat *stat, unsigned int request_mask, unsigned int query_flags)

返回类型:int

参数:

类型参数名称
const struct path *path
struct kstat *stat
unsigned intrequest_mask
unsigned intquery_flags
30  inode等于获得目录项的索引节点
31  generic_fillattr - Fill in the basic attributes from the inode struct*@inode: Inode to use as the source*@stat: Where to fill in the attributes* Fill in the basic attributes in the kstat structure from data that's to be* found on the VFS inode structure
32  blocks等于nrpages左移PAGE_SHIFT determines the page size 减9位
33  返回:0