Function report | 
Source Code:block\compat_ioctl.c | 
Create Date:2022-07-28 18:00:59 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:compat_hdio_getgeo
Proto:static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, struct compat_hd_geometry __user *ugeo)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct gendisk * | disk | |
| struct block_device * | bdev | |
| struct compat_hd_geometry __user * | ugeo | 
| 68 | start = get_start_sect(bdev) | 
| 73 | ret = copy_to_user(ugeo, & geo, 4) | 
| 74 | ret |= Write a simple value into user space(start, & start) | 
| 78 | Return ret | 
| Name | Describe | 
|---|---|
| compat_blkdev_ioctl | Most of the generic ioctls are handled in the normal fallback path.This assumes the blkdev's low level compat_ioctl always returnsENOIOCTLCMD for unknown ioctls. | 
| 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  |