Function report |
Source Code:fs\block_dev.c |
Create Date:2022-07-28 20:14:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blkdev_open
Proto:static int blkdev_open(struct inode *inode, struct file *filp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct file * | filp |
1857 | f_flags |= O_LARGEFILE |
1861 | If f_flags & O_NDELAY Then f_mode |= File is opened with O_NDELAY (only set for block devices) |
1863 | If f_flags & O_EXCL Then f_mode |= File is opened with O_EXCL (only set for block devices) |
1865 | If (f_flags & O_ACCMODE) == 3 Then f_mode |= File is opened using open(.., 3, ..) and is writeable only for ioctls(specialy hack for floppy.c) |
1868 | bdev = bd_acquire(inode) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |