1 #include <linux/pagemap.h>
2 #include <linux/blkdev.h>
5 * add_gd_partition adds a partitions details to the devices partition
8 struct parsed_partitions
{
9 char name
[BDEVNAME_SIZE
];
14 } parts
[DISK_MAX_PARTS
];
20 put_partition(struct parsed_partitions
*p
, int n
, sector_t from
, sector_t size
)
23 p
->parts
[n
].from
= from
;
24 p
->parts
[n
].size
= size
;
25 printk(" %s%d", p
->name
, n
);
29 extern int warn_no_part
;
This page took 0.031523 seconds and 6 git commands to generate.