函数逻辑报告

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

函数名称:generic_shutdown_super - common helper for ->kill_sb()*@sb: superblock to kill* generic_shutdown_super() does all fs-independent work on superblock* shutdown

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

返回类型:void

参数:

类型参数名称
struct super_block *sb
444  sop等于s_op
446  如果s_root
447  shrink_dcache_for_umount(sb)
448  sync_filesystem(sb)
449  s_flags与等于SB_ACTIVE的反
451  cgroup_writeback_umount()
454  evict_inodes(sb)
456  fsnotify_sb_delete(sb)
458  如果s_dio_done_wq
460  s_dio_done_wq = NULL
463  如果put_superput_super(sb)
466  如果非链表为空
472  加自旋锁
474  hlist_del_init( & s_instances)
475  自旋锁解锁
476  lease a write lock
477  如果s_bdi不等于noop_backing_dev_info
478  bdi_put(s_bdi)
479  s_bdi等于noop_backing_dev_info
调用者
名称描述
kill_anon_super
kill_block_super