函数逻辑报告

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 - 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.

函数原型:void iterate_supers(void (*f)(struct super_block *, void *), void *arg)

返回类型:void

参数:

类型参数名称
void (*f
void *arg
683  struct super_block * sb, * p = NULL
685  加自旋锁
687  如果hlist_unhashed( & s_instances)则继续下一循环
689  s_count自加
690  自旋锁解锁
692  lock for reading
693  如果s_roots_flags按位与SB_BORNf(sb, arg)
695  lease a read lock
697  加自旋锁
698  如果pDrop a superblock's refcount. The caller must hold sb_lock.
700  p等于sb
702  如果pDrop a superblock's refcount. The caller must hold sb_lock.
704  自旋锁解锁
调用者
名称描述
ksys_syncSync everything. We start by waking flusher threads so that most of* writeback runs on all devices in parallel. Then we sync all inodes reliably* which effectively also waits for all flusher threads to finish doing* writeback
do_sync_work
drop_caches_sysctl_handler
quota_sync_all