/titanic_41/usr/src/uts/common/sys/ |
H A D | efi_partition.h | 192 typedef struct dk_gpt { struct 238 extern int efi_alloc_and_init(int, uint32_t, struct dk_gpt **); 239 extern int efi_alloc_and_read(int, struct dk_gpt **); 240 extern int efi_write(int, struct dk_gpt *); 241 extern void efi_free(struct dk_gpt *); 243 extern void efi_err_check(struct dk_gpt *); 244 extern int efi_auto_sense(int fd, struct dk_gpt **);
|
/titanic_41/usr/src/lib/libefi/common/ |
H A D | llib-lefi | 37 int efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc); 38 int efi_alloc_and_read(int fd, struct dk_gpt **vtoc); 39 int efi_write(int fd, struct dk_gpt *vtoc); 40 void efi_free(struct dk_gpt *);
|
H A D | rdwr_efi.c | 119 static int efi_read(int, struct dk_gpt *); 140 #define MAX_PARTS ((4294967295UL - sizeof (struct dk_gpt)) / \ 144 efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc) in efi_alloc_and_init() 150 struct dk_gpt *vptr; in efi_alloc_and_init() 175 length = sizeof (struct dk_gpt) + in efi_alloc_and_init() 205 efi_alloc_and_read(int fd, struct dk_gpt **vtoc) in efi_alloc_and_read() 213 length = (int) sizeof (struct dk_gpt) + in efi_alloc_and_read() 223 length = (int) sizeof (struct dk_gpt) + in efi_alloc_and_read() 309 efi_read(int fd, struct dk_gpt *vtoc) in efi_read() 573 write_pmbr(int fd, struct dk_gpt *vtoc) in write_pmbr() [all …]
|
/titanic_41/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 92 static void display64(struct dk_gpt *, char *); 94 static void insert64(char *, struct dk_gpt *); 96 static void load64(FILE *, int fd, struct dk_gpt **); 99 static void validate64(struct dk_gpt *); 101 static void vread64(int, struct dk_gpt **, char *); 103 static void vwrite64(int, struct dk_gpt *, char *); 144 struct dk_gpt *disk_efi; in main() 429 display64(struct dk_gpt *efi, char *device) in display64() 501 insert64(char *data, struct dk_gpt *efi) in insert64() 600 load64(FILE *fp, int fd, struct dk_gpt **efi) in load64() [all …]
|
/titanic_41/usr/src/cmd/format/ |
H A D | label.h | 46 int SMI_vtoc_to_EFI(int, struct dk_gpt **); 47 void err_check(struct dk_gpt *);
|
H A D | hardware_structs.h | 55 struct dk_gpt *efi_parts; /* ptr to partition info */ 126 struct dk_gpt *e_parts; 189 struct dk_gpt *etoc; /* EFI partition info */
|
H A D | label.c | 67 static int vtoc64_to_label(struct efi_info *, struct dk_gpt *); 222 SMI_vtoc_to_EFI(int fd, struct dk_gpt **new_vtoc) in SMI_vtoc_to_EFI() 225 struct dk_gpt *efi; in SMI_vtoc_to_EFI() 277 struct dk_gpt *vtoc64; in write_label() 670 struct dk_gpt *vtoc64; in read_efi_label() 694 vtoc64_to_label(struct efi_info *label, struct dk_gpt *vtoc) in vtoc64_to_label() 697 struct dk_gpt *lmap; in vtoc64_to_label() 703 lmap = (struct dk_gpt *) calloc(1, (sizeof (struct dk_part) * in vtoc64_to_label() 704 nparts) + sizeof (struct dk_gpt)); in vtoc64_to_label() 1002 err_check(struct dk_gpt *vtoc) in err_check()
|
H A D | menu_partition.h | 62 void print_efi_partition(struct dk_gpt *map, int partnum,
|
H A D | menu_partition.c | 169 struct dk_gpt *efi_label = cur_parts->etoc; in p_expand() 440 struct dk_gpt *vtoc64; in print_map() 484 print_efi_partition(struct dk_gpt *map, int partnum, int want_header) in print_efi_partition()
|
H A D | partition.c | 75 maxofN(struct dk_gpt *map) in maxofN() 438 struct dk_gpt *map; in make_partition() 443 size = sizeof (struct dk_part) * nparts + sizeof (struct dk_gpt); in make_partition()
|
H A D | modify_partition.c | 48 static void get_user_map_efi(struct dk_gpt *map, int float_part); 553 struct dk_gpt *map; in get_user_map_efi()
|
H A D | menu_command.c | 1561 struct dk_gpt *vtoc64; in c_label()
|
H A D | auto_sense.c | 252 struct dk_gpt *vtoc; in auto_efi_sense()
|
/titanic_41/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 80 static void putfree64(struct dk_gpt *, freemap_t *); 83 static void puttable64(struct dk_gpt *, freemap_t *, 87 static int readefi(int, char *, struct dk_gpt **); 192 findfree64(struct dk_gpt *efi) in findfree64() 374 struct dk_gpt *efi; in prtvtoc() 452 putfree64(struct dk_gpt *efi, freemap_t *freemap) in putfree64() 533 puttable64(struct dk_gpt *efi, freemap_t *freemap, char *name, in puttable64() 630 readefi(int fd, char *name, struct dk_gpt **efi) in readefi()
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 404 struct dk_gpt *efip; in get_attrs() 623 struct dk_gpt *efip; in get_fixed_assocs() 742 struct dk_gpt *efip; in make_fixed_descriptors() 822 struct dk_gpt *efip; in match_fixed_name()
|
H A D | media.c | 469 struct dk_gpt *efip;
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_nameinfo.c | 98 meta_efi_to_mdgeom(md_unit_t *mdev, struct dk_gpt *gpt, mdgeom_t *mdgp) in meta_efi_to_mdgeom() 127 meta_efi_to_mdvtoc(struct dk_gpt *gpt, mdvtoc_t *mdvp) in meta_efi_to_mdvtoc() 175 meta_mdvtoc_to_efi(mdvtoc_t *mdvp, struct dk_gpt **gpt) in meta_mdvtoc_to_efi() 191 size = sizeof (struct dk_gpt) + (sizeof (struct dk_part) * lastpart); in meta_mdvtoc_to_efi() 604 struct dk_gpt *gpt; in metagetvtoc() 755 struct dk_gpt *gpt; in metasetvtoc()
|
/titanic_41/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 136 struct dk_gpt *efi; in partinfo()
|
/titanic_41/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 115 struct dk_gpt *vtoc; in get_sol_prtnum()
|
/titanic_41/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 631 struct dk_gpt *vtoc; in init_device() 732 struct dk_gpt *vtoc; in get_start_sector()
|
/titanic_41/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 788 struct dk_gpt *gpt; in be_do_installgrub_mbr()
|
/titanic_41/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 1123 struct dk_gpt *vtoc64; in process_b_flag()
|
/titanic_41/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 364 struct dk_gpt *label; in is_whole_disk()
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 1006 struct dk_gpt *gpt; in check_slices()
|
H A D | libzfs_pool.c | 3771 struct dk_gpt *vtoc; in read_efi_label() 3824 struct dk_gpt *vtoc; in zpool_label_disk()
|