Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:17:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_part_iter_init - initialize partition iterator*@piter: iterator to initialize*@disk: disk to iterate over*@flags: DISK_PITER_* flags* Initialize @piter so that it iterates over partitions of @disk.* CONTEXT:* Don't care.
Proto:void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, unsigned int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct disk_part_iter * | piter | |
| struct gendisk * | disk | |
| unsigned int | flags |
| 168 | part = NULL |
| 170 | If flags & rate in the reverse direction Then idx = len - 1 |
| 172 | Else if flags & (clude partition 0 | clude empty partition 0 ) Then idx = 0 |
| 174 | Else idx = 1 |
| Name | Describe |
|---|---|
| blkpg_ioctl | |
| register_disk | |
| del_gendisk | |
| 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 | |
| diskstats_show | aggregate disk stat collector. Uses the same stats that the sysfs* entries do, above, but makes them available through one seq_file.* The output looks suspiciously like /proc/partitions with a bunch of* extra fields. |
| set_disk_ro | |
| blk_drop_partitions |
| 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 |