Lines Matching defs:mbr
1443 char mbr[SECTOR_SIZE];
1459 if (! rawread (current_drive, PC_MBR_SECTOR, 0, SECTOR_SIZE, mbr))
1463 if (! PC_MBR_CHECK_SIG (mbr))
1471 if (PC_SLICE_TYPE (mbr, i) && PC_SLICE_START (mbr, i) - 1 < size)
3664 char mbr[512];
3728 if (! rawread (current_drive, 0, 0, SECTOR_SIZE, mbr))
3735 PC_SLICE_FLAG (mbr, entry) = 0;
3736 PC_SLICE_HEAD (mbr, entry) = start_dh;
3737 PC_SLICE_SEC (mbr, entry) = start_cl;
3738 PC_SLICE_CYL (mbr, entry) = start_ch;
3739 PC_SLICE_TYPE (mbr, entry) = new_type;
3740 PC_SLICE_EHEAD (mbr, entry) = end_dh;
3741 PC_SLICE_ESEC (mbr, entry) = end_cl;
3742 PC_SLICE_ECYL (mbr, entry) = end_ch;
3743 PC_SLICE_START (mbr, entry) = new_start;
3744 PC_SLICE_LENGTH (mbr, entry) = new_len;
3747 PC_MBR_SIG (mbr) = PC_MBR_SIGNATURE;
3751 if (! rawwrite (current_drive, 0, mbr))
3777 char mbr[512];
3813 &ext_offset, mbr))
3820 PC_SLICE_TYPE (mbr, entry) = new_type;
3824 if (! rawwrite (current_drive, offset, mbr))