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:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_unregister_dev

Proto:void blk_mq_unregister_dev(struct device *dev, struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct device *dev
struct request_queue *q
270  lockdep_assert_held( & sysfs_dir_lock)
272  queue_for_each_hw_ctx(q, hctx, i)
273  blk_mq_unregister_hctx(hctx)
275  kobject_uevent - notify userspace by sending an uevent*@kobj: struct kobject that the action is happening to*@action: action that is happening* Returns 0 if kobject_uevent() is completed with success or the* corresponding error when it fails.
276  kobject_del() - Unlink kobject from hierarchy.*@kobj: object.* This is the function that should be called to delete an object* successfully added via kobject_add().
277  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
279  mq_sysfs_init_done = false