Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:18:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:show_partition
Proto:static int show_partition(struct seq_file *seqf, void *v)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | seqf | |
void * | v |
1059 | If Not get_capacity(sgp) || Not disk_max_parts(sgp) && flags & GENHD_FL_REMOVABLE Then Return 0 |
1062 | If flags & GENHD_FL_SUPPRESS_PARTITION_INFO Then Return 0 |
1068 | seq_printf(seqf, "%4d %7d %10llu %s\n", MAJOR(part_devt(part)), MINOR(part_devt(part)), (unsignedlonglong)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 >> 1, disk_name(sgp, partno, buf)) |
1074 | Return 0 |
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 |