Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:17:31 |
| 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_next - proceed iterator to the next partition and return it*@piter: iterator of interest* Proceed @piter to the next partition and return it.* CONTEXT:* Don't care.
Proto:struct hd_struct *disk_part_iter_next(struct disk_part_iter *piter)
Type:struct hd_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct disk_part_iter * | piter |
| 198 | disk_put_part(part) |
| 199 | part = NULL |
| 206 | If flags & rate in the reverse direction Then |
| 207 | inc = -1 |
| 208 | If flags & (clude partition 0 | clude empty partition 0 ) Then end = -1 |
| 211 | Else end = 0 |
| 213 | Else |
| 223 | If Not part Then Continue |
| 225 | If Not Any access of part->nr_sects which is not protected by partition* bd_mutex or gendisk bdev bd_mutex, should be done using this* accessor function && Not (flags & clude 0-sized parts ) && Not ( flags & clude empty partition 0 && idx == 0 ) Then Continue |
| 234 | Break |
| 239 | Return part |
| 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 |