Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:26
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__get_super_thawed

Proto:static struct super_block *__get_super_thawed(struct block_device *bdev, bool excl)

Type:struct super_block

Parameter:

TypeParameterName
struct block_device *bdev
boolexcl
795  When 1 cycle
796  s = __get_super(bdev, excl)
797  If Not s || frozen == SB_UNFROZEN Then Return s
799  If Not excl Then lease a read lock
801  Else 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.
Caller
NameDescribe
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