Function report |
Source Code:include\linux\genhd.h |
Create Date:2022-07-28 05:44:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_capacity
Proto:static inline sector_t get_capacity(struct gendisk *disk)
Type:sector_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct gendisk * | disk |
Name | Describe |
---|---|
generic_make_request_checks | |
register_disk | |
printk_all_partitions | print a full list of all partitions - intended for places where the root* filesystem can't be mounted and thus to give the victim some idea of what* went wrong |
show_partition | |
blk_add_partition | |
cmdline_partition | Purpose: allocate cmdline partitions.* Returns:* -1 if unable to read the partition table* 0 if this isn't our partition table* 1 if successful |
blkdev_nr_zones | lkdev_nr_zones - Get number of zones*@disk: Target gendisk* Return the total number of zones of a zoned block device. For a block* device without zone capabilities, the number of zones is always 0. |
blkdev_report_zones | lkdev_report_zones - Get zones information*@bdev: Target block device*@sector: Sector from which to report zones*@nr_zones: Maximum number of zones to report*@cb: Callback function called for each reported zone*@data: Private data for the callback* |
blkdev_allow_reset_all_zones | |
blkdev_zone_mgmt | lkdev_zone_mgmt - Execute a zone management operation on a range of zones*@bdev: Target block device*@op: Operation to be performed on the zones*@sector: Start sector of the first zone to operate on*@nr_sectors: Number of sectors, should be at least the |
blk_revalidate_zone_cb | Helper function to check the validity of zones of a zoned block device. |
guard_bio_eod | This allows us to do IO even on the odd last sectors* of a device, even if the block size is some multiple* of the physical sector size |
check_disk_size_change | heck_disk_size_change - checks for disk size change and adjusts bdev size |
bdev_disk_changed | |
__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 |