Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 75) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/
H A Dfdmedia.h293 static struct partition dpt_80x36[NDKMAP] = {
300 static struct partition dpt_80x21[NDKMAP] = {
307 static struct partition dpt_80x18[NDKMAP] = {
314 static struct partition dpt_80x15[NDKMAP] = {
321 static struct partition dpt_80x9[NDKMAP] = {
328 static struct partition dpt_77x8[NDKMAP] = {
336 static struct partition dpt_40x16[NDKMAP] = {
344 static struct partition dpt_40x9[NDKMAP] = {
351 static struct partition dpt_40x8[NDKMAP] = {
359 static struct partition dpt_40x4[NDKMAP] = {
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dformat.dat26 # disks, disk types, and partition maps.
151 # Following is a list of sample partition tables for embedded SCSI disks.
153 partition = "Quantum ProDrive 80S" \
157 #partition = "CDC Wren VII 94601-12G" \
161 #partition = "CDC Wren IV 94171-327" \
166 # This is the list of partition tables for embedded SCSI controllers.
168 partition = "Quantum ProDrive 105S" \
172 partition = "CDC Wren IV 94171-344, small root" \
176 partition = "CDC Wren IV 94171-344" \
180 partition = "SUN0104" \
[all …]
/illumos-gate/usr/src/boot/common/
H A Ddisk.c234 int rc, slice, partition; in disk_open() local
262 partition = dev->d_partition; in disk_open()
284 partition >= 0) { in disk_open()
286 rc = ptable_getpart(od->table, &part, partition); in disk_open()
306 partition = D_PARTISGPT; in disk_open()
308 } else if (partition == D_PARTISGPT) { in disk_open()
314 partition = D_PARTWILD; in disk_open()
321 if (partition == D_PARTNONE) in disk_open()
329 if (partition == D_PARTWILD) { in disk_open()
351 if (partition < 0) { in disk_open()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c600 unsigned long *partition, int *type, in next_partition() argument
617 int bsd_part_no = (*partition & 0xFF00) >> 8; in next_partition()
654 *partition = (*partition & 0xFF00FF) | (i << 8); in next_partition()
675 int sol_part_no = (*partition & 0xFF00) >> 8; in next_partition()
710 *partition = (*partition & 0xFF00FF) | (i << 8); in next_partition()
724 int pc_slice_no = (*partition & 0xFF0000) >> 16; in next_partition()
820 *partition = (pc_slice_no << 16) | 0xFFFF; in next_partition()
829 int pc_slice_no = (*partition & 0xFF0000) >> 16; in next_partition()
856 *partition = (*entry << 16) | 0xFFFF; in next_partition()
869 if (*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_SOLARIS (*type & 0xff)) in next_partition()
[all …]
H A Dfreebsd.h62 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \ argument
65 ((partition) << B_PARTITIONSHIFT) | B_DEVMAGIC)
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h267 vd_partition_t partition[V_NUMPAR]; /* partition headers */ member
397 (vtoc)->v_part[i].p_tag = (vd_vtoc)->partition[i].id_tag; \
398 (vtoc)->v_part[i].p_flag = (vd_vtoc)->partition[i].perm; \
399 (vtoc)->v_part[i].p_start = (vd_vtoc)->partition[i].start; \
400 (vtoc)->v_part[i].p_size = (vd_vtoc)->partition[i].nblocks; \
438 (vd_vtoc)->partition[i].id_tag = (vtoc)->v_part[i].p_tag; \
439 (vd_vtoc)->partition[i].perm = (vtoc)->v_part[i].p_flag; \
440 (vd_vtoc)->partition[i].start = (vtoc)->v_part[i].p_start; \
441 (vd_vtoc)->partition[i].nblocks = (vtoc)->v_part[i].p_size; \
/illumos-gate/usr/src/boot/sys/sys/
H A Ddisklabel.h137 struct partition { /* the partition table */ struct
292 void bsd_partition_le_dec(u_char *ptr, struct partition *d);
294 void bsd_partition_le_enc(u_char *ptr, struct partition *d);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dinternals.texi22 * Partition table:: The format of partition tables
136 beginning of the disk, but @emph{not} relative to the partition
146 The installed partition.
170 For any particular partition, it is presumed that only one of the
178 access disk blocks directly (in the indicated partition) via the block
190 The current partition number.
193 The current partition type.
199 The @dfn{partition} part of the root device.
202 The current partition starting address, in sectors.
205 The current partition length, in sectors.
[all …]
H A Dgrub.info-1107 kernel just by specifying its file name and the drive and partition
120 partition, and a file name (*note Naming convention::) to GRUB, how to
340 it so that you can specify a drive/partition.
355 second integer, `1', indicates the partition number (or the PC slice
357 partition numbers are counted from _zero_, not from one. This
358 expression means the second partition of the first hard disk drive. In
359 this case, GRUB uses one partition of the disk, instead of the whole
364 This specifies the first "extended partition" of the first hard disk
365 drive. Note that the partition numbers for extended partitions are
371 This means the BSD `a' partition of the second hard disk. If you
[all …]
H A Dgrub.info-360 the partition STAGE2_FILE was found on (for `p') or places the
66 hard disks, the partition table) of the sector the Stage 1 is to
161 Set the active partition on the root disk to GRUB's root device.
265 to mount it to get the partition size (for passing the partition
268 boot format), and correctly determine the PC partition where a BSD
269 sub-partition is located. The optional HDBIAS parameter is a
272 IDE disk and a SCSI disk, and your FreeBSD root partition is on
285 partition. This is useful for when an OS is outside of the area of
498 partition table fail. This is a bad sign.
547 but everything else (like the disk/partition info) is OK.
[all …]
H A Dgrub.info108 kernel just by specifying its file name and the drive and partition
121 partition, and a file name (*note Naming convention::) to GRUB, how to
341 that you can specify a drive/partition.
356 second integer, `1', indicates the partition number (or the PC slice
358 partition numbers are counted from _zero_, not from one. This
359 expression means the second partition of the first hard disk drive. In
360 this case, GRUB uses one partition of the disk, instead of the whole
365 This specifies the first "extended partition" of the first hard disk
366 drive. Note that the partition numbers for extended partitions are
372 This means the BSD `a' partition of the second hard disk. If you
[all …]
H A Dgrub.texi164 just by specifying its file name and the drive and partition where the
178 partition, and a file name (@pxref{Naming convention}) to GRUB, how to
379 that you can specify a drive/partition.
399 the second integer, @samp{1}, indicates the partition number (or the
401 that the partition numbers are counted from @emph{zero}, not from
402 one. This expression means the second partition of the first hard disk
403 drive. In this case, GRUB uses one partition of the disk, instead of the
410 This specifies the first @dfn{extended partition} of the first hard disk
411 drive. Note that the partition numbers for extended partitions are
419 This means the BSD @samp{a} partition of the second hard disk. If you
[all …]
H A Dgrub.info-2268 is embedded in an MBR or the boot sector of a partition. Because a
356 PART-NUM represents the partition number of DEVICE, starting from
363 first PC partition containing a BSD disklabel, then finds the
370 partition of the disk (or the boot sector of the partition when
392 in the first partition of the first hard disk. If you omit the device
713 * hide:: Hide a partition
716 * partnew:: Make a primary partition
717 * parttype:: Change the type of a partition
725 * unhide:: Unhide a partition
846 - Command: hide partition
[all …]
/illumos-gate/usr/src/grub/
H A Dmenu.lst29 # root (hd<disk no>,<partition no>)
35 # root (hd<disk no>,<partition no>)
44 # root (hd<disk no>,<partition no>,x) --x = Solaris root slice
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dbootinfo.h109 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument
111 ((unit) << B_UNITSHIFT) | ((partition) << B_PARTITIONSHIFT) | \
/illumos-gate/usr/src/grub/grub-0.97/
H A DTODO72 partition. (We already have the code, but need an approval by an
76 partition, so that it won't be accidentally erased or modified by
87 ? Add a partition naming syntax that means ``the first partition of
H A DNEWS143 * Booting Windows from a logical partition is supported.
175 unmount the partition where GRUB images reside. We'd recommend _not_
201 * The utility `grub-install' recognizes a separate boot partition
203 * New commands, "partnew" and "parttype". You can modify partition
235 * Recognize the Linux extended partition type.
293 * Support the partition ids for NetBSD and OpenBSD.
378 * GRUB now correctly points ES:SI at a partition descriptor when
401 format. Added "relative" disk and partition capability, see
425 partition active with "makeactive" command).
468 extended partitions... so any PC partition number above 3 will give
[all …]
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c353 struct partition *p1 = *(struct partition **)one; in partcmp()
354 struct partition *p2 = *(struct partition **)two; in partcmp()
512 print_table_row(uint_t partition, uint_t tag, uint_t flag, in print_table_row() argument
517 partition, tag, flag, first_sector, sector_count, last_sector); in print_table_row()
/illumos-gate/usr/src/boot/i386/loader/
H A Dmain.c238 new_currdev.d_kind.biosdisk.partition = 0; in extract_currdev()
273 new_currdev.d_kind.biosdisk.partition = 0; in extract_currdev()
278 new_currdev.d_kind.biosdisk.partition = in extract_currdev()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c362 int partition; in nxge_fflp_fcram_init() local
400 for (partition = 0; partition < FFLP_FCRAM_MAX_PARTITION; partition++) { in nxge_fflp_fcram_init()
401 rs = npi_fflp_cfg_fcram_partition_disable(handle, partition); in nxge_fflp_fcram_init()
405 " enable for partition %d ", partition)); in nxge_fflp_fcram_init()
1698 uint8_t partition; in nxge_fflp_config_hash_lookup_enable() local
1705 for (partition = 0; partition < NXGE_MAX_RDC_GROUPS; partition++) { in nxge_fflp_config_hash_lookup_enable()
1706 if (p_cfgp->grpids[partition]) { in nxge_fflp_config_hash_lookup_enable()
1708 handle, partition); in nxge_fflp_config_hash_lookup_enable()
1713 " enable for partition %d ", partition)); in nxge_fflp_config_hash_lookup_enable()
1731 uint8_t partition; in nxge_fflp_config_hash_lookup_disable() local
[all …]
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c744 device->partition = device->slice; in get_start_sector()
759 device->partition = pno; in get_start_sector()
806 device->partition = i; in get_start_sector()
850 device->partition = pno - 1; in get_start_sector()
881 device->partition + 1); in get_start_sector()
1030 (void) fprintf(stdout, WRITE_STAGE2_DISK, device->partition, in write_stage2()
1052 (void) fprintf(stdout, WRITE_PBOOT, device->partition, in write_stage1()
1452 = (device->partition << 16) | (device->slice << 8) | 0xff; in prepare_stage2()
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.h44 extern int write_to_partition (char **map, int drive, int partition,
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c263 descriptor_t *partition = NULL; in partition_get_descriptor_by_name() local
272 partition = partitions[i]; in partition_get_descriptor_by_name()
280 if (partition == NULL) { in partition_get_descriptor_by_name()
284 return (partition); in partition_get_descriptor_by_name()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c3085 struct ipart *partition[FD_NUMPART]; local
3109 partition[i] = &localpart[i];
3112 if (partition[i]->systid == UNUSED)
3115 if (partition[j]->systid == UNUSED)
3117 if (LE_32(partition[j]->relsect) <
3118 LE_32(partition[i]->relsect)) {
3119 struct ipart *temp = partition[i];
3120 partition[i] = partition[j];
3121 partition[j] = temp;
3198 first_free = LE_32(partition[i - 1]->relsect) +
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c251 fip_desc_partition_t *partition; in eib_fip_parse_login_ack() local
336 partition = &(ack->ak_vhub_partition); in eib_fip_parse_login_ack()
337 if (partition->pn_type != FIP_DESC_TYPE_PARTITION || in eib_fip_parse_login_ack()
338 partition->pn_len != FIP_DESC_LEN_PARTITION) { in eib_fip_parse_login_ack()
342 FIP_DESC_LEN_PARTITION, partition->pn_type, in eib_fip_parse_login_ack()
343 partition->pn_len); in eib_fip_parse_login_ack()
391 ld->ld_vhub_pkey = ntohs(partition->pn_pkey); in eib_fip_parse_login_ack()

123