函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-27 15:48:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Remove bdi from the global list and shutdown any threads we have running

函数原型:static void wb_shutdown(struct bdi_writeback *wb)

返回类型:void

参数:

类型参数名称
struct bdi_writeback *wb
350  spin_lock_bh( & protects work_list & dwork scheduling )
351  如果非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).
352  spin_unlock_bh( & protects work_list & dwork scheduling )
353  返回
355  spin_unlock_bh( & protects work_list & dwork scheduling )
357  cgwb_remove_from_bdi_list(wb)
363  修改延迟工作队列
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(!链表为空)
调用者
名称描述
bdi_unregister