Searched refs:ipart (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_fdisk.h40 int copy_solaris_part(struct ipart *ipart);
H A Dmenu_fdisk.c66 * 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 Dhardware_structs.h58 struct ipart fdisk_part; /* fdisk partition info */
H A Dglobal.h280 int copy_solaris_part(struct ipart *);
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c119 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 Dfdisk.h75 struct ipart { struct
151 char parts[FD_NUMPART * sizeof (struct ipart)];
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c313 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 Dlibfdisk.h100 * 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 Dlibfdisk.c57 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 Dmbr.c118 struct ipart *part = (struct ipart *)mboot->parts + i;
/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];
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 Dlibgrub_fs.c97 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 Dfdisk.c121 * 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 Dinstallboot.c615 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 Drmf_slice.c1120 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 Dinstallgrub.c731 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 Dpcfs_common.c456 struct ipart part[FD_NUMPART];
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c321 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 Dmkfs.c145 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 Dpc_vfsops.c1512 FD_NUMPART * sizeof (struct ipart))
1520 struct ipart dosp[FD_NUMPART]; /* incore fdisk partition structure */
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c5465 struct ipart *part =
5466 (struct ipart *)(uintptr_t)mboot->parts + i;

Completed in 154 milliseconds