Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sysfs.c Create Date:2022-07-28 17:14:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_sysfs_unregister

Proto:void blk_mq_sysfs_unregister(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
354  mutex_lock( & sysfs_dir_lock)
355  If Not mq_sysfs_init_done Then Go to 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.