Function report |
Source Code:block\partitions\aix.c |
Create Date:2022-07-28 17:26:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:last_lba(): return number of last logical block of device*@bdev: block device* Description: Returns last LBA value on success, 0 on error.* This is stored (by sd and ide-geometry) in* the part[0] entry for this disk, and is the number of
Proto:static u64 last_lba(struct block_device *bdev)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev |
| 83 | Return (i_size >> 9) - 1ULL |
| Name | Describe |
|---|---|
| read_lba | ad_lba(): Read bytes from disk, starting at given LBA*@state*@lba*@buffer*@count* Description: Reads @count bytes from @state->bdev into @buffer.* Returns number of bytes read on success, 0 on error. |
| 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 |