Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bdev_file_inode

Proto:static struct inode *bdev_file_inode(struct file *file)

Type:struct inode

Parameter:

TypeParameterName
struct file *file
178  Return host
Caller
NameDescribe
__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