函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_super - drop a temporary reference to superblock*@sb: superblock in question* Drops a temporary reference, frees superblock if there's no* references left.

函数原型:static void put_super(struct super_block *sb)

返回类型:void

参数:

类型参数名称
struct super_block *sb
312  加自旋锁
313  Drop a superblock's refcount. The caller must hold sb_lock.
314  自旋锁解锁
调用者
名称描述
deactivate_locked_superdeactivate_locked_super - drop an active reference to superblock*@s: superblock to deactivate* Drops an active reference to superblock, converting it into a temporary* one if there is no other active references left
grab_supergrab_super - acquire an active reference*@s: reference we are trying to make active* Tries to acquire an active reference. grab_super() is used when we* had just found a superblock in super_blocks or fs_type->fs_supers
drop_super
drop_super_exclusive
__get_super_thawed