函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:52:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, unsigned int flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct disk_part_iter * | piter | |
| struct gendisk * | disk | |
| unsigned int | flags |
| 168 | part = NULL |
| 170 | 如果flags按位与rate in the reverse direction 则idx等于len减1 |
| 172 | 否则如果flags按位与clude partition 0 按位或clude empty partition 0 的值则idx等于0 |
| 174 | 否则idx等于1 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |