函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:make_empty_dir_inode

函数原型:void make_empty_dir_inode(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
1275  set_nlink - directly set an inode's link count*@inode: inode*@nlink: new nlink (should be non-zero)* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink.
1276  i_mode等于S_IFDIR按位或S_IRUGO按位或S_IXUGO
1277  i_uid等于GLOBAL_ROOT_UID
1278  i_gid等于GLOBAL_ROOT_GID
1279  i_rdev等于0
1280  i_size等于0
1281  i_blkbits等于PAGE_SHIFT determines the page size
1282  i_blocks等于0
1284  i_op等于empty_dir_inode_operations
1285  i_opflags与等于IOP_XATTR的反
1286  rmer ->i_op->default_file_ops 等于empty_dir_operations