Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__blk_release_queue - release a request queue*@work: pointer to the release_work member of the request queue to be released* Description:* This function is called when a block device is being unregistered

Proto:static void __blk_release_queue(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
878  q = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, typeof( * q), release_work)
880  If Determine whether a bit is set(collecting stats for hybrid polling , & * various queue flags, see QUEUE_* below) Then blk_stat_remove_callback(q, poll_cb)
882  lk_stat_free_callback() - Free a block statistics callback
884  blk_free_queue_stats(stats)
886  If queue_is_mq(q) Then ancel_delayed_work_sync - cancel a delayed work and wait for it to finish*@dwork: the delayed work cancel* This is cancel_work_sync() for delayed works.* Return:* %true if @dwork was pending, %false otherwise.
889  Unconfigure the I/O scheduler and dissociate from the cgroup controller.
891  blk_queue_free_zone_bitmaps(q)
893  If queue_is_mq(q) Then blk_mq_release(q)
896  blk_trace_shutdown(q)
898  If queue_is_mq(q) Then blk_mq_debugfs_unregister(q)
901  set_exit - exit a bioset initialized with bioset_init()* May be called on a zeroed but uninitialized bioset (i.e. allocated with* kzalloc()).
903  ida_simple_remove( & blk_queue_ida, * ida allocated id for this queue. Used to index queues from * ioctx.)
904  all_rcu() - Queue an RCU callback for invocation after a grace period