Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:17:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_get_part - get partition*@disk: disk to look partition from*@partno: partition number* Look for partition @partno from @disk. If found, increment* reference count and return it.* CONTEXT:* Don't care.* RETURNS:
Proto:struct hd_struct *disk_get_part(struct gendisk *disk, int partno)
Type:struct hd_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gendisk * | disk | |
| int | partno |
| 139 | part = __disk_get_part(disk, partno) |
| 144 | Return part |
| Name | Describe |
|---|---|
| blkpg_ioctl | |
| bdget_disk | dget_disk - do bdget() by gendisk and partition number*@disk: gendisk of interest*@partno: partition number* Find partition @partno from @disk, do bdget() on it.* CONTEXT:* Don't care.* RETURNS:* Resulting block_device on success, NULL on failure. |
| blk_lookup_devt | |
| __blkdev_get | d_mutex locking:* mutex_lock(part->bd_mutex)* mutex_lock_nested(whole->bd_mutex, 1) |
| 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 |