Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Remove bdi from the global list and shutdown any threads we have running

Proto:static void wb_shutdown(struct bdi_writeback *wb)

Type:void

Parameter:

TypeParameterName
struct bdi_writeback *wb
350  spin_lock_bh( & protects work_list & dwork scheduling )
351  If Not st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then
352  spin_unlock_bh( & protects work_list & dwork scheduling )
353  Return
355  spin_unlock_bh( & protects work_list & dwork scheduling )
357  cgwb_remove_from_bdi_list(wb)
363  mod_delayed_work - modify delay of or queue a delayed work*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing* mod_delayed_work_on() on local CPU.
364  lush_delayed_work - wait for a dwork to finish executing the last queueing*@dwork: the delayed work to flush* Delayed timer is cancelled and the pending work is queued for* immediate execution. Like flush_work(), this function only
365  WARN_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
Caller
NameDescribe
bdi_unregister