函数逻辑报告 |
Source Code:block\partition-generic.c |
Create Date:2022-07-27 18:55:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:disk_name() is used by partition check code and the genhd driver.* It formats the devicename of the indicated disk into* the supplied buffer (of size at least 32), and returns* a pointer to that same buffer (for convenience).
函数原型:char *disk_name(struct gendisk *hd, int partno, char *buf)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct gendisk * | hd | |
| int | partno | |
| char * | buf |
| 44 | 返回:buf |
| 名称 | 描述 |
|---|---|
| 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. |
| bdevname | |
| bio_devname | |
| check_partition |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |