Home
last modified time | relevance | path

Searched refs:ipart (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/cmd/format/
H A Dmenu_fdisk.c95 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 Dmenu_fdisk.h40 int copy_solaris_part(struct ipart *ipart);
H A Dhardware_structs.h58 struct ipart fdisk_part; /* fdisk partition info */
H A Dglobal.h280 int copy_solaris_part(struct ipart *);
/titanic_44/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()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libfdisk/common/
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) 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 Dlibfdisk.h137 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 Dfdisk.h75 struct ipart { struct
151 char parts[FD_NUMPART * sizeof (struct ipart)];
/titanic_44/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()
/titanic_44/usr/src/cmd/boot/mbr/
H A Dmbr.c118 struct ipart *part = (struct ipart *)mboot->parts + i; in main()
/titanic_44/usr/src/cmd/fdisk/
H A Dfdisk.c317 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 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()
/titanic_44/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c726 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 Dcmlb.c321 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 Dpcfs_common.c456 struct ipart part[FD_NUMPART]; in findPartitionOffset()
/titanic_44/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) in fill_bpb_sizes()
616 struct ipart part[FD_NUMPART]; in seek_partn()
/titanic_44/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 */ in findTheDrive()
/titanic_44/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4950 struct ipart *part =
4951 (struct ipart *)(uintptr_t)mboot->parts + i;