Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__elevator_exit

Proto:void __elevator_exit(struct request_queue *q, struct elevator_queue *e)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct elevator_queue *e
193  mutex_lock( & sysfs_lock)
194  If exit_sched Then blk_mq_exit_sched(q, e)
196  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.
198  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
Caller
NameDescribe
blk_exit_queueUnconfigure the I/O scheduler and dissociate from the cgroup controller.
elevator_exit