Function report |
Source Code:block\ioctl.c |
Create Date:2022-07-28 17:16:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blkdev_getgeo
Proto:static int blkdev_getgeo(struct block_device *bdev, struct hd_geometry __user *argp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev | |
| struct hd_geometry __user * | argp |
| 449 | start = get_start_sect(bdev) |
| 453 | If copy_to_user(argp, & geo, size of geo ) Then Return -EFAULT |
| 455 | Return 0 |
| Name | Describe |
|---|---|
| blkdev_ioctl | always keep this in sync with compat_blkdev_ioctl() |
| 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 |