Searched refs:partition_map (Results 1 – 9 of 9) sorted by relevance
/openbsd/sbin/pdisk/ |
H A D | pdisk.c | 56 void do_dump_map(struct partition_map *, int); 60 void do_display_entry(struct partition_map *); 62 void do_change_type(struct partition_map *); 63 void do_reorder(struct partition_map *); 65 void edit(struct partition_map **); 76 struct partition_map *map; in main() 137 edit(struct partition_map **mapp) in edit() 139 struct partition_map *map = *mapp; in edit() 140 struct partition_map *oldmap; in edit() 382 do_change_type(struct partition_map *map) in do_change_type() [all …]
|
H A D | partition_map.h | 46 struct partition_map { struct 71 struct partition_map *the_map; argument 114 struct partition_map *open_partition_map(int, char *, uint64_t, uint32_t); 116 struct entry *find_entry_by_disk_address(long, struct partition_map *); 117 struct entry *find_entry_by_type(const char *, struct partition_map *); 118 struct entry *find_entry_by_base(uint32_t, struct partition_map *); 121 struct partition_map *); 124 void free_partition_map(struct partition_map *); 126 void move_entry_in_map(long, long, struct partition_map *); 127 void resize_map(long new_size, struct partition_map *); [all …]
|
H A D | partition_map.c | 59 struct partition_map * 62 struct partition_map *map; in open_partition_map() 65 map = malloc(sizeof(struct partition_map)); in open_partition_map() 260 struct partition_map * 263 struct partition_map *map; in create_partition_map() 450 struct partition_map *map; in delete_partition_from_map() 486 struct partition_map *map; in contains_driver() 572 struct partition_map *map; in delete_entry() 662 struct partition_map *map; in insert_in_disk_order() 688 struct partition_map *map; in insert_in_base_order() [all …]
|
H A D | dump.h | 33 void dump_partition_map(struct partition_map *); 34 void full_dump_partition_entry(struct partition_map *, int); 35 void full_dump_block_zero(struct partition_map *); 36 void show_data_structures(struct partition_map *);
|
H A D | dump.c | 42 void dump_block_zero(struct partition_map *); 44 int get_max_base_or_length(struct partition_map *); 45 int get_max_name_string_length(struct partition_map *); 46 int get_max_type_string_length(struct partition_map *); 49 dump_block_zero(struct partition_map *map) in dump_block_zero() 78 dump_partition_map(struct partition_map *map) in dump_partition_map() 129 show_data_structures(struct partition_map *map) in show_data_structures() 297 full_dump_block_zero(struct partition_map *map) in full_dump_block_zero() 323 get_max_type_string_length(struct partition_map *map) in get_max_type_string_length() 340 get_max_name_string_length(struct partition_map *map) in get_max_name_string_length() [all …]
|
H A D | file_media.h | 33 int read_block0(int, struct partition_map *); 34 int write_block0(int, struct partition_map *);
|
H A D | Makefile | 9 SRCS= dump.c file_media.c io.c partition_map.c pdisk.c
|
H A D | file_media.c | 118 read_block0(int fd, struct partition_map *map) in read_block0() 174 write_block0(int fd, struct partition_map *map) in write_block0()
|
/openbsd/distrib/special/pdisk/ |
H A D | Makefile | 9 SRCS= dump.c file_media.c io.c partition_map.c pdisk.c
|