函数逻辑报告

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

函数名称:rate_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.

函数原型:void iterate_supers_type(struct file_system_type *type, void (*f)(struct super_block *, void *), void *arg)

返回类型:void

参数:

类型参数名称
struct file_system_type *type
void (*f
void *arg
719  struct super_block * sb, * p = NULL
721  加自旋锁
723  s_count自加
724  自旋锁解锁
726  lock for reading
727  如果s_roots_flags按位与SB_BORNf(sb, arg)
729  lease a read lock
731  加自旋锁
732  如果pDrop a superblock's refcount. The caller must hold sb_lock.
734  p等于sb
736  如果pDrop a superblock's refcount. The caller must hold sb_lock.
738  自旋锁解锁