函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_free_devt - free a dev_t*@devt: dev_t to free* Free @devt which was allocated using blk_alloc_devt().* CONTEXT:* Might sleep.

函数原型:void blk_free_devt(dev_t devt)

返回类型:void

参数:

类型参数名称
dev_tdevt
525  如果devt恒等于MKDEV(0, 0)则返回
528  如果MAJOR(devt)恒等于BLOCK_EXT_MAJOR
529  spin_lock_bh( & For extended devt allocation. ext_devt_lock prevents look up* results from going away underneath its user.)
530  删除释放idr
531  spin_unlock_bh( & For extended devt allocation. ext_devt_lock prevents look up* results from going away underneath its user.)
调用者
名称描述
disk_release
part_release