Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-28 14:24:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Remove bdi from bdi_list, and ensure that it is no longer visible

Proto:static void bdi_remove_from_list(struct backing_dev_info *bdi)

Type:void

Parameter:

TypeParameterName
struct backing_dev_info *bdi
1000  spin_lock_bh( & di_lock protects bdi_tree and updates to bdi_list. bdi_list has RCU* reader side locking.)
1001  rb_erase( & keyed by ->id , & bdi_tree)
1002  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
1003  spin_unlock_bh( & di_lock protects bdi_tree and updates to bdi_list. bdi_list has RCU* reader side locking.)
1005  synchronize_rcu_expedited - Brute-force RCU grace period* Wait for an RCU grace period, but expedite it
Caller
NameDescribe
bdi_unregister