Lines Matching refs:partition

101 /* The register ESI should contain the address of the partition to be
120 /* these are the translated numbers for the open partition */
310 * Check partition boundaries
320 * Get the read to the beginning of a partition.
385 embed a Stage 1.5 into a partition instead of a MBR, use system
451 /* Turn on the active flag for the partition SAVED_PARTITION in the
464 /* If the partition is not a primary partition, the active flag is
476 /* If the partition is an extended partition, setting the active
528 /* The partition must be a PC slice. */
536 /* Look for the partition. */
576 /* Get the information on next partition on the drive DRIVE.
578 iterating this function. The partition representation in GRUB will
579 be stored in *PARTITION. Likewise, the partition type in *TYPE, the
581 partition table in *OFFSET, the entry number in the table in *ENTRY,
582 the offset of the extended partition in *EXT_OFFSET.
583 BUF is used to store a MBR, the boot sector of a partition, or
589 unsigned long *partition, int *type,
599 /* Get next BSD partition in current PC slice. */
603 int bsd_part_no = (*partition & 0xFF00) >> 8;
630 /* Search next valid BSD partition. */
640 *partition = (*partition & 0xFF00FF) | (i << 8);
656 /* Get next Solaris partition in current PC slice. */
661 int sol_part_no = (*partition & 0xFF00) >> 8;
688 /* Search next valid Solaris partition. */
693 /* SOL_PART_START is relative to fdisk partition */
696 *partition = (*partition & 0xFF00FF) | (i << 8);
707 an empty PC slice (i.e. a partition whose type is zero) as well. */
710 int pc_slice_no = (*partition & 0xFF0000) >> 16;
721 /* Read the MBR or the boot sector of the extended partition. */
735 /* If this is out of current partition table... */
740 /* Search the first extended partition in current table. */
772 *partition = (pc_slice_no << 16) | 0xFFFF;
783 /* check for Solaris partition */
784 if (*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_SOLARIS (*type & 0xff))
791 /* If previous partition is a BSD partition or a PC slice which
793 if ((*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_BSD (*type & 0xff))
799 /* Get next BSD partition, if any. */
803 /* If the destination partition is a BSD partition and current
804 BSD partition has any error, abort the operation. */
807 || (dest & 0xFF0000) == (*partition & 0xFF0000)))
822 /* Open a partition. */
892 /* If this is a valid partition... */
896 /* Display partition information. */
930 grub_printf (" No BSD/SOLARIS sub-partition found, partition type 0x%x\n",
970 /* Check if this is the destination partition. */
1023 int partition = dev & 0xFFFFFF;
1031 /* The `partition' part must always have a valid number. */
1032 current_partition = partition;
1115 /* Either an absolute PC, BSD, or Solaris partition. */
1181 * This performs a "mount" on the current device, both drive and partition
1204 /* Copy the boot partition information to 0x7be-0x7fd for chain-loading. */
1212 /* Need only the partition table.
1220 /* Set the active flag of the booted partition. */
1293 /* allow for the error case of "no filesystem" after the partition
1339 grub_printf ("partition type 0x%x\n", current_slice & 0xFF);
1521 /* partition completions */