Home
last modified time | relevance | path

Searched refs:ipart (Results 1 – 22 of 22) sorted by path

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c5616 struct ipart *part =
5617 (struct ipart *)(uintptr_t)mboot->parts + i;
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c847 struct ipart *part; in print_stage1_cb()
862 part = (struct ipart *)mbr->parts; in print_stage1_cb()
1303 struct ipart *part; in get_start_sector()
1340 part = (struct ipart *)mbr->parts; in get_start_sector()
1544 struct ipart *part; in probe_mbr()
1558 part = (struct ipart *)mbr->parts; in probe_mbr()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c731 struct ipart *part = NULL; in get_start_sector()
780 part = (struct ipart *)mboot->parts + i; in get_start_sector()
1463 struct ipart *part; in find_x86_bootpar()
1465 part = (struct ipart *)mboot->parts + i; in find_x86_bootpar()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c309 static struct ipart Table[FD_NUMPART];
1542 struct ipart *part; in mboot_read()
2041 sizeof (struct ipart)); in load()
3086 struct ipart localpart[FD_NUMPART];
3945 struct ipart iparts[FD_NUMPART];
3969 bootptr += sizeof (struct ipart);
3997 *partp = *(struct ipart *)bootptr;
4041 struct ipart *boot_ptr, *tbl_ptr;
4181 struct ipart ext_tab;
4585 struct ipart *clr_table;
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dglobal.h280 int copy_solaris_part(struct ipart *);
H A Dhardware_structs.h59 struct ipart fdisk_part; /* fdisk partition info */
H A Dmenu_fdisk.c98 static int get_solaris_part(int fd, struct ipart *ipart);
481 get_solaris_part(int fd, struct ipart *ipart) argument
484 struct ipart ip;
558 bcopy(&ip, ipart, sizeof (struct ipart));
615 status = bcmp(&ip, ipart, sizeof (struct ipart));
617 bcopy(&ip, ipart, sizeof (struct ipart));
678 copy_solaris_part(struct ipart *ipart) argument
684 struct ipart ip;
783 bcopy(&ip, ipart, sizeof (struct ipart));
801 bcopy(&ip, ipart, sizeof (struct ipart));
[all …]
H A Dmenu_fdisk.h38 int copy_solaris_part(struct ipart *ipart);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c456 struct ipart part[FD_NUMPART]; in findPartitionOffset()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c147 static void fill_bpb_sizes(bpb_t *wbpb, struct ipart part[],
533 fill_bpb_sizes(bpb_t *wbpb, struct ipart part[], int partno, off64_t offset) in fill_bpb_sizes()
618 struct ipart part[FD_NUMPART]; in seek_partn()
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c313 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()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c119 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c124 print_fdisk_part(struct ipart *ip, size_t nr) in print_fdisk_part()
303 struct ipart *ip = (struct ipart *) in cmd_mbr()
304 (mbr->parts + (sizeof (struct ipart) * i)); in cmd_mbr()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c1120 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()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c58 #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()
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c240 struct ipart *ipart; in efi_alloc_and_read() local
260 ipart = (struct ipart *)(uintptr_t)mbr->parts; in efi_alloc_and_read()
264 if (ipart[i].systid == EFI_PMBR) in efi_alloc_and_read()
755 cp = (uchar_t *)&mb.parts[slot * sizeof (struct ipart)]; in write_pmbr()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c60 static struct ipart *fdisk_alloc_part_table();
623 struct ipart *fdp, *ext_fdp; in fdisk_read_extpart()
657 ext_fdp = (struct ipart *) in fdisk_read_extpart()
751 static struct ipart *
754 int size = sizeof (struct ipart); in fdisk_alloc_part_table()
755 struct ipart *table; in fdisk_alloc_part_table()
776 int size = sizeof (struct ipart); in fdisk_read_master_part_table()
819 struct ipart *part_table = epp->mtable; in fdisk_ext_part_exists()
911 struct ipart *part; in fdisk_add_logical_drive()
1094 struct ipart *ebr_tab, uint32_t sec_offset) in read_modify_write_ebr()
[all …]
H A Dlibfdisk.h137 struct ipart parts[2];
200 struct ipart *mtable;
272 extern int libfdisk_init(ext_part_t **epp, char *devstr, struct ipart *parttab,
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c97 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()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1515 FD_NUMPART * sizeof (struct ipart))
1523 struct ipart dosp[FD_NUMPART]; /* incore fdisk partition structure */ in findTheDrive()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c323 static boolean_t cmlb_has_max_chs_vals(struct ipart *fdp);
2391 struct ipart *fdp;
2393 struct ipart fdisk[FD_NUMPART];
2404 struct ipart eparts[2];
2405 struct ipart *efdp1 = &eparts[0];
2406 struct ipart *efdp2 = &eparts[1];
2777 struct ipart *fdp;
2779 struct ipart fdisk[FD_NUMPART];
3579 cmlb_has_max_chs_vals(struct ipart *fdp)
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h75 struct ipart { struct
151 char parts[FD_NUMPART * sizeof (struct ipart)];