函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sysfs.c Create Date:2022-07-27 18:49:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_sysfs_unregister

函数原型:void blk_mq_sysfs_unregister(struct request_queue *q)

返回类型:void

参数:

类型参数名称
struct request_queue *q
354  mutex_lock( & sysfs_dir_lock)
355  如果非mq_sysfs_init_done则转到:unlock
358  queue_for_each_hw_ctx(q, hctx, i)
359  blk_mq_unregister_hctx(hctx)
361  unlock :
362  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.