Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:disk_del_events

Proto:static void disk_del_events(struct gendisk *disk)

Type:void

Parameter:

TypeParameterName
struct gendisk *disk
2068  If ev Then
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  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
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)
Caller
NameDescribe
del_gendisk