Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:18:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:struct block_device *bdget_disk(struct gendisk *disk, int partno)
Type:struct block_device
Parameter:
Type | Parameter | Name |
---|---|---|
struct gendisk * | disk | |
int | partno |
929 | struct block_device * bdev = NULL |
934 | disk_put_part(part) |
936 | Return bdev |
Name | Describe |
---|---|
register_disk | |
invalidate_partition | |
revalidate_disk | validate_disk - wrapper for lower-level driver's revalidate_disk call-back*@disk: struct gendisk to be revalidated* This routine is a wrapper for lower-level driver's revalidate_disk* call-backs. It is used to do common pre and post operations needed |
__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 |