函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bdget
函数原型:struct block_device *bdget(dev_t dev)
返回类型:struct block_device
参数:
类型 | 参数 | 名称 |
---|---|---|
dev_t | dev |
905 | inode等于从文件系统上获得索引节点 |
908 | 如果非inode则返回:NULL |
914 | bd_contains = NULL |
915 | bd_super = NULL |
917 | bd_block_size等于i_blocksize(inode) |
919 | bd_invalidated等于0 |
923 | a_ops等于def_blk_aops |
924 | This is non-atomic. Only to be used before the mapping is activated.* Probably needs a barrier... |
925 | 加自旋锁 |
926 | 添加链表项 |
927 | 自旋锁解锁 |
930 | 返回:bdev |
名称 | 描述 |
---|---|
blkpg_ioctl | |
bdget_disk | dget_disk - do bdget() by gendisk and partition number*@disk: gendisk of interest*@partno: partition number* Find partition @partno from @disk, do bdget() on it.* CONTEXT:* Don't care.* RETURNS:* Resulting block_device on success, NULL on failure. |
bd_acquire | |
blkdev_get_by_dev | lkdev_get_by_dev - open a block device by device number*@dev: device number of block device to open*@mode: FMODE_* mask*@holder: exclusive holder identifier* Open the blockdevice described by device number @dev. @mode and |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |