Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_mq_hw_sysfs_release

Proto:static void blk_mq_hw_sysfs_release(struct kobject *kobj)

Type:void

Parameter:

TypeParameterName
struct kobject *kobj
36  hctx = 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.(kobj, structblk_mq_hw_ctx, kobj)
39  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.
41  If @flags: BLK_MQ_F_* flags. Defines the behaviour of the queue. & BLK_MQ_F_BLOCKING Then leanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
43  blk_free_flush_queue(@fq: Queue of requests that need to perform a flush operation. )
44  sbitmap_free() - Free memory used by a &struct sbitmap.*@sb: Bitmap to free.
45  free_cpumask_var(@cpumask: Map of available CPUs where this hctx can run. )
46  kfree(@ctxs: Array of software queues. )
47  kfree(hctx)