函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:disk_del_events

函数原型:static void disk_del_events(struct gendisk *disk)

返回类型:void

参数:

类型参数名称
struct gendisk *disk
2068  如果ev
2069  disk_block_events - block and flush disk event checking*@disk: disk to block events for* On return from this function, it is guaranteed that event checking* isn't in progress and won't happen until unblocked by* disk_unblock_events()
2071  mutex_lock( & list of all disk_events )
2072  删除链表项并重新初始化
2073  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.
2076  sysfs_remove_files( & kobj, disk_events_attrs)
调用者
名称描述
del_gendisk