函数逻辑报告

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

函数名称:Drop a superblock's refcount. The caller must hold sb_lock.

函数原型:static void __put_super(struct super_block *s)

返回类型:void

参数:

类型参数名称
struct super_block *s
290  如果非s_count先自减则
291  删除链表项并重新初始化
292  WARN_ON(node)
293  WARN_ON(node)
294  WARN_ON(!链表为空)
295  security_sb_free(s)
296  keyring.c
297  put_user_ns(s_user_ns)
298  释放内存
299  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.
调用者
名称描述
put_superput_super - drop a temporary reference to superblock*@sb: superblock in question* Drops a temporary reference, frees superblock if there's no* references left.
__iterate_supers
iterate_supersrate_supers - call function for all active superblocks*@f: function to call*@arg: argument to pass to it* Scans the superblock list and calls given function, passing it* locked superblock and given argument.
iterate_supers_typerate_supers_type - call function for superblocks of given type*@type: fs type*@f: function to call*@arg: argument to pass to it* Scans the superblock list and calls given function, passing it* locked superblock and given argument.
__get_super
user_get_super