/titanic_44/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 95 static int get_solaris_part(int fd, struct ipart *ipart); 117 fill_ipart(char *bootptr, struct ipart *partp) in fill_ipart() 145 (void) bcopy(bootptr, partp, sizeof (struct ipart)); in fill_ipart() 478 get_solaris_part(int fd, struct ipart *ipart) argument 481 struct ipart ip; 522 ipc = i * sizeof (struct ipart); 552 ipart->bootid = ip.bootid; 553 status = bcmp(&ip, ipart, 554 sizeof (struct ipart)); 555 bcopy(&ip, ipart, sizeof (struct ipart)); [all …]
|
H A D | menu_fdisk.h | 40 int copy_solaris_part(struct ipart *ipart);
|
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 *);
|
/titanic_44/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 119 struct ipart ipart[FD_NUMPART]; in walk_partitions() local 136 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); in walk_partitions() 139 systid = ipart[i].systid; in walk_partitions() 140 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions() 146 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions() 153 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 154 ltohi(ipart[i].numsect)) == WALK_TERMINATE) { in walk_partitions()
|
/titanic_44/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 313 struct ipart ipart[FD_NUMPART]; in walk_partitions() local 330 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); in walk_partitions() 333 systid = ipart[i].systid; in walk_partitions() 334 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions() 340 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions() 347 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 348 ltohi(ipart[i].numsect)) == WALK_TERMINATE) { in walk_partitions()
|
/titanic_44/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]; in partition_get_assocs() 231 struct ipart iparts[TOTAL_NUMPART]; in partition_get_attributes() 359 struct ipart iparts[TOTAL_NUMPART]; in partition_make_descriptors() 420 get_attrs(descriptor_t *dp, struct ipart *iparts, nvlist_t *attrs) in get_attrs() 549 get_parts(disk_t *disk, struct ipart *iparts, char *opath, int opath_len) in get_parts() 604 (void) memset(&iparts[i], 0, sizeof (struct ipart)); in get_parts() 732 struct ipart iparts[TOTAL_NUMPART]; in has_slices()
|
/titanic_44/usr/src/lib/libfdisk/common/ |
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) in libfdisk_init() 622 struct ipart *fdp, *ext_fdp; in fdisk_read_extpart() 656 ext_fdp = (struct ipart *) in fdisk_read_extpart() 750 static struct ipart * 753 int size = sizeof (struct ipart); in fdisk_alloc_part_table() 754 struct ipart *table; in fdisk_alloc_part_table() 773 int size = sizeof (struct ipart); in fdisk_read_master_part_table() 798 struct ipart *part_table = epp->mtable; in fdisk_ext_part_exists() [all …]
|
H A D | libfdisk.h | 137 struct ipart parts[2]; 200 struct ipart *mtable; 272 extern int libfdisk_init(ext_part_t **epp, char *devstr, struct ipart *parttab,
|
/titanic_44/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 75 struct ipart { struct 151 char parts[FD_NUMPART * sizeof (struct ipart)];
|
/titanic_44/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 97 struct ipart *ipart; in get_sol_prtnum() local 141 ipart = (struct ipart *)(uintptr_t)mb->parts; in get_sol_prtnum() 143 if (ipart[i].systid == SUNIXOS || ipart[i].systid == SUNIXOS2) in get_sol_prtnum() 147 if (!fdisk_is_dos_extended(ipart[i].systid) || in get_sol_prtnum()
|
/titanic_44/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 118 struct ipart *part = (struct ipart *)mboot->parts + i; in main()
|
/titanic_44/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 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; in mboot_read() 1596 part = (struct ipart *)BootCod.parts; in mboot_read() 1598 (void) memset(part, 0, sizeof (struct ipart)); in mboot_read() 2043 sizeof (struct ipart)); in load() 2325 (void) memset(&Table[i], 0, sizeof (struct ipart)); in insert_tbl() 3076 struct ipart *partition[FD_NUMPART]; 3077 struct ipart localpart[FD_NUMPART]; [all …]
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 1120 struct ipart *part; in get_fdisk() 1197 part = (struct ipart *)&boot_sec->parts[i * in get_fdisk() 1198 sizeof (struct ipart)]; in get_fdisk() 1331 struct ipart parts[FD_NUMPART]; in write_default_label()
|
/titanic_44/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 726 struct ipart *part; in get_start_sector() 775 part = (struct ipart *)mboot->parts + i; in get_start_sector() 1448 struct ipart *part; in find_x86_bootpar() 1450 part = (struct ipart *)mboot->parts + i; in find_x86_bootpar()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | cmlb.c | 321 static boolean_t cmlb_has_max_chs_vals(struct ipart *fdp); 2356 struct ipart *fdp; 2358 struct ipart fdisk[FD_NUMPART]; 2369 struct ipart eparts[2]; 2370 struct ipart *efdp1 = &eparts[0]; 2371 struct ipart *efdp2 = &eparts[1]; 2742 struct ipart *fdp; 2744 struct ipart fdisk[FD_NUMPART]; 3544 cmlb_has_max_chs_vals(struct ipart *fdp)
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 456 struct ipart part[FD_NUMPART]; in findPartitionOffset()
|
/titanic_44/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) in fill_bpb_sizes() 616 struct ipart part[FD_NUMPART]; in seek_partn()
|
/titanic_44/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 */ in findTheDrive()
|
/titanic_44/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4950 struct ipart *part = 4951 (struct ipart *)(uintptr_t)mboot->parts + i;
|