Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Drop a superblock's refcount. The caller must hold sb_lock.

Proto:static void __put_super(struct super_block *s)

Type:void

Parameter:

TypeParameterName
struct super_block *s
290  If Not --s_count Then
291  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
292  WARN_ON(node)
293  WARN_ON(node)
294  WARN_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
295  security_sb_free(s)
296  keyring.c
297  put_user_ns(s_user_ns)
298  kfree(s_subtype)
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.
Caller
NameDescribe
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