/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.h | 40 int copy_solaris_part(struct ipart *ipart);
|
H A D | menu_fdisk.c | 66 * Byte swapping macros for accessing struct ipart 96 static int get_solaris_part(int fd, struct ipart *ipart); 115 * Handling the alignment problem of struct ipart. 118 fill_ipart(char *bootptr, struct ipart *partp) 124 * Packing short/word for struct ipart to resolve 146 (void) bcopy(bootptr, partp, sizeof (struct ipart)); 479 get_solaris_part(int fd, struct ipart *ipart) argument 482 struct ipart i 676 copy_solaris_part(struct ipart *ipart) argument [all...] |
H A D | hardware_structs.h | 58 struct ipart fdisk_part; /* fdisk partition info */
|
H A D | global.h | 280 int copy_solaris_part(struct ipart *);
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 119 struct ipart ipart[FD_NUMPART]; local 136 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); 139 systid = ipart[i].systid; 140 relsect = sec + ltohi(ipart[i].relsect); 146 sec = startsec + ltohi(ipart[i].relsect); 153 if (valid && f(arg, ipart[i].systid, relsect, 154 ltohi(ipart[i].numsect)) == WALK_TERMINATE) {
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 75 struct ipart { struct 151 char parts[FD_NUMPART * sizeof (struct ipart)];
|
/illumos-gate/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 313 struct ipart ipart[FD_NUMPART]; local 330 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); 333 systid = ipart[i].systid; 334 relsect = sec + ltohi(ipart[i].relsect); 340 sec = startsec + ltohi(ipart[i].relsect); 347 if (valid && f(arg, ipart[i].systid, relsect, 348 ltohi(ipart[i].numsect)) == WALK_TERMINATE) {
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.h | 100 * EBR is effectively "struct ipart parts[2]". 137 struct ipart parts[2]; 200 struct ipart *mtable; 272 extern int libfdisk_init(ext_part_t **epp, char *devstr, struct ipart *parttab,
|
H A D | libfdisk.c | 57 static void fdisk_set_CHS_values(ext_part_t *epp, struct ipart *part); 59 static struct ipart *fdisk_alloc_part_table(); 152 libfdisk_init(ext_part_t **epp, char *devstr, struct ipart *parttab, int opflag) 622 struct ipart *fdp, *ext_fdp; 656 ext_fdp = (struct ipart *) 750 static struct ipart * 753 int size = sizeof (struct ipart); 754 struct ipart *table; 773 int size = sizeof (struct ipart); 798 struct ipart *part_tabl [all...] |
/illumos-gate/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 118 struct ipart *part = (struct ipart *)mboot->parts + i;
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 58 #define ISIZE FD_NUMPART * sizeof (struct ipart) 61 static int get_attrs(descriptor_t *dp, struct ipart *iparts, 63 static int get_parts(disk_t *disk, struct ipart *iparts, char *opath, 105 struct ipart iparts[TOTAL_NUMPART]; 231 struct ipart iparts[TOTAL_NUMPART]; 359 struct ipart iparts[TOTAL_NUMPART]; 420 get_attrs(descriptor_t *dp, struct ipart *iparts, nvlist_t *attrs) 549 get_parts(disk_t *disk, struct ipart *iparts, char *opath, int opath_len) 604 (void) memset(&iparts[i], 0, sizeof (struct ipart)); 732 struct ipart ipart [all...] |
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 97 struct ipart *ipart; local 141 ipart = (struct ipart *)(uintptr_t)mb->parts; 143 if (ipart[i].systid == SUNIXOS || ipart[i].systid == SUNIXOS2) 147 if (!fdisk_is_dos_extended(ipart[i].systid) ||
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 121 * mboot and ipart structures. 317 static struct ipart Table[FD_NUMPART]; 318 static struct ipart Old_Table[FD_NUMPART]; 672 static void fill_ipart(char *bootptr, struct ipart *partp); 1544 struct ipart *part; 1596 part = (struct ipart *)BootCod.parts; 1598 (void) memset(part, 0, sizeof (struct ipart)); 2043 sizeof (struct ipart)); 2325 (void) memset(&Table[i], 0, sizeof (struct ipart)); 3076 struct ipart *partitio [all...] |
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 615 struct ipart *part = NULL; 659 part = (struct ipart *)mboot->parts + pno; 704 part = (struct ipart *)mboot->parts + i; 858 struct ipart *part; 862 part = (struct ipart *)mbr->parts;
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 1120 struct ipart *part; 1197 part = (struct ipart *)&boot_sec->parts[i * 1198 sizeof (struct ipart)]; 1331 struct ipart parts[FD_NUMPART];
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 731 struct ipart *part = NULL; 780 part = (struct ipart *)mboot->parts + i; 1463 struct ipart *part; 1465 part = (struct ipart *)mboot->parts + i;
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 456 struct ipart part[FD_NUMPART];
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 321 static boolean_t cmlb_has_max_chs_vals(struct ipart *fdp); 2389 struct ipart *fdp; 2391 struct ipart fdisk[FD_NUMPART]; 2402 struct ipart eparts[2]; 2403 struct ipart *efdp1 = &eparts[0]; 2404 struct ipart *efdp2 = &eparts[1]; 2572 * The first ipart entry provides the offset 2576 * The second ipart entry provides the offset 2775 struct ipart *fdp; 2777 struct ipart fdis [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 145 static void fill_bpb_sizes(bpb_t *wbpb, struct ipart part[], 531 fill_bpb_sizes(bpb_t *wbpb, struct ipart part[], int partno, off64_t offset) 616 struct ipart part[FD_NUMPART];
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1512 FD_NUMPART * sizeof (struct ipart)) 1520 struct ipart dosp[FD_NUMPART]; /* incore fdisk partition structure */
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5465 struct ipart *part = 5466 (struct ipart *)(uintptr_t)mboot->parts + i;
|