函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__get_super_thawed

函数原型:static struct super_block *__get_super_thawed(struct block_device *bdev, bool excl)

返回类型:struct super_block

参数:

类型参数名称
struct block_device *bdev
boolexcl
795  当1循环
796  s等于__get_super(bdev, excl)
797  如果非sfrozen恒等于SB_UNFROZEN则返回:s
799  如果非excllease a read lock
801  否则lease a write lock
803  wait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true(wait_unfrozen, frozen == SB_UNFROZEN)
805  put_super - drop a temporary reference to superblock*@sb: superblock in question* Drops a temporary reference, frees superblock if there's no* references left.
调用者
名称描述
get_super_thawedget_super_thawed - get thawed superblock of a device*@bdev: device to get the superblock for* Scans the superblock list and finds the superblock of the file system* mounted on the device. The superblock is returned once it is thawed
get_super_exclusive_thawedget_super_exclusive_thawed - get thawed superblock of a device*@bdev: device to get the superblock for* Scans the superblock list and finds the superblock of the file system* mounted on the device