函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sysfs.c Create Date:2022-07-27 18:49:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_hw_sysfs_release

函数原型:static void blk_mq_hw_sysfs_release(struct kobject *kobj)

返回类型:void

参数:

类型参数名称
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  如果@flags: BLK_MQ_F_* flags. Defines the behaviour of the queue. 按位与BLK_MQ_F_BLOCKINGleanup_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  释放CPU掩码
46  释放内存
47  释放内存