函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-29 10:45:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bdev_file_inode

函数原型:static struct inode *bdev_file_inode(struct file *file)

返回类型:struct inode

参数:

类型参数名称
struct file *file
178  返回:host
调用者
名称描述
__blkdev_direct_IO_simple
__blkdev_direct_IO
block_llseekprivate llseek:* for a block special file file_inode(file)->i_size is zero* so we compute the size by hand (just as in block_read/write above)
blkdev_fsync
blkdev_close
block_ioctl
blkdev_write_iterWrite data to the block device. Only intended for the block device itself* and the raw driver which basically is a fake block device.* Does not take i_mutex for the write and thus is not for general purpose* use.
blkdev_read_iter
blkdev_fallocate