Function report |
Source Code:block\partition-generic.c |
Create Date:2022-07-28 17:20:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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).
Proto:char *disk_name(struct gendisk *hd, int partno, char *buf)
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
struct gendisk * | hd | |
int | partno | |
char * | buf |
44 | Return buf |
Name | Describe |
---|---|
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 |
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 |