函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-29 10:32:25
Last Modify:2022-05-24 06:42:17 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sb_wait_write - wait until all writers to given file system finish*@sb: the super for which we wait*@level: type of writers we wait for (normal vs page fault)* This function waits until there are no writers of given type to given file* system.

函数原型:static void sb_wait_write(struct super_block *sb, int level)

返回类型:void

参数:

类型参数名称
struct super_block *sb
intlevel
1693  percpu_down_write(rw_sem + level - 1)
调用者
名称描述
freeze_superze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.