/illumos-gate/usr/src/boot/common/ |
H A D | mb_header.S | 30 .globl mb_header, start_sector 41 start_sector: .long 0 /* partition LBA */ label
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | main.c | 91 extern UINT64 start_sector; /* from mb_header.S */ in efi_zfs_is_preferred() 138 if (start_sector == 0) in efi_zfs_is_preferred() 140 else if (start_sector == hd->PartitionStart) in efi_zfs_is_preferred()
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 73 extern uint64_t start_sector; 761 if (ppa->offset + part->start == start_sector) { in probe_partition()
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | isoboot.c | 64 extern uint64_t start_sector; 243 if (start_sector != 0) in main()
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 742 device->start_sector = vtoc->efi_parts[device->slice].p_start; in get_start_sector() 758 device->start_sector = secnum; in get_start_sector() 805 device->start_sector = part->relsect; in get_start_sector() 849 device->start_sector = secnum; in get_start_sector() 1053 device->start_sector); in write_stage1() 1402 stage2->first_sector = device->start_sector + blocklist[0]; in prepare_stage2() 1422 START_BLOCK(pos) = blocklist[i] + device->start_sector; in prepare_stage2() 1431 if (device->start_sector > in prepare_stage2() 1438 stage2->first_sector = device->start_sector + in prepare_stage2()
|
H A D | installgrub.h | 46 uint64_t start_sector; member
|
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 481 fmt_print("[%llu]", efi_deflt->start_sector); in input() 571 efi_deflt->start_sector + efi_deflt->end_sector - 1, in input() 722 return (efi_deflt->start_sector); in input() 1533 efi_deflt->start_sector + 1); in input() 1585 if (blokno < efi_deflt->start_sector) { in input() 1588 efi_deflt->start_sector); in input() 1606 return (blokno - efi_deflt->start_sector + 1); in input()
|
H A D | io.h | 60 uint64_t start_sector; member
|
H A D | modify_partition.c | 549 efi_deflt.start_sector = ioparam.io_bounds.lower;
|
H A D | partition.c | 164 efi_deflt.start_sector = maxofN(cur_parts->etoc); in change_partition() 167 efi_deflt.start_sector = in change_partition() 171 efi_deflt.start_sector; in change_partition() 178 efi_deflt.start_sector = i64; in change_partition()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 80 diskaddr_t start_sector, uint32_t nblocks,
|
H A D | rmf_misc.c | 937 verify(smedia_handle_t handle, int32_t fd, diskaddr_t start_sector, in verify() argument 951 ret = smedia_raw_read(handle, start_sector, buf, nblocks * in verify() 966 ret = smedia_raw_write(handle, start_sector, buf, nblocks * in verify() 977 ret = llseek(fd, start_sector * blocksize, SEEK_SET); in verify() 978 if (ret != start_sector * blocksize) { in verify() 996 ret = llseek(fd, start_sector * blocksize, SEEK_SET); in verify() 997 if (ret != start_sector * blocksize) { in verify()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 163 unsigned long long start_sector = 0; in blocklist_func() local 178 if (start_sector + num_sectors == sector in blocklist_func() 189 start_sector - part_start, num_sectors); in blocklist_func() 192 start_sector - part_start, num_sectors-1, in blocklist_func() 193 start_sector + num_sectors-1 - part_start, in blocklist_func() 197 start_sector - part_start, last_length); in blocklist_func() 211 start_sector = sector; in blocklist_func() 243 start_sector - part_start, num_sectors); in blocklist_func() 1486 unsigned long long start_sector; in embed_func() local 1494 || ! fsys_table[fsys_type].embed_func (&start_sector, size)) in embed_func() [all …]
|
H A D | filesys.h | 28 int ffs_embed (unsigned long long *start_sector, int needed_sectors); 38 int ufs_embed (unsigned long long *start_sector, int needed_sectors); 48 int ufs2_embed (unsigned long long *start_sector, int needed_sectors); 58 int zfs_embed (unsigned long long *start_sector, int needed_sectors); 95 int reiserfs_embed (unsigned long long *start_sector, int needed_sectors); 114 int jfs_embed (unsigned long long *start_sector, int needed_sectors); 176 int (*embed_func) (unsigned long long *start_sector, int needed_sectors);
|
H A D | fsys_ffs.c | 293 ffs_embed (unsigned long long *start_sector, int needed_sectors) in ffs_embed() argument 300 *start_sector = 1; in ffs_embed()
|
H A D | fsys_jfs.c | 387 jfs_embed (unsigned long long *start_sector, int needed_sectors) in jfs_embed() argument 399 *start_sector = 1; in jfs_embed()
|
H A D | fsys_reiserfs.c | 1216 reiserfs_embed (unsigned long long *start_sector, int needed_sectors) in reiserfs_embed() argument 1225 *start_sector = 1; /* reserve first sector for stage1 */ in reiserfs_embed()
|
H A D | fsys_ufs.c | 139 ufs_embed (unsigned long long *start_sector, int needed_sectors) in ufs_embed() argument 144 *start_sector = 2; in ufs_embed()
|
H A D | fsys_ufs2.c | 314 ufs2_embed (unsigned long long *start_sector, int needed_sectors) in ufs2_embed() argument 321 *start_sector = 1; in ufs2_embed()
|
H A D | fsys_zfs.c | 1894 zfs_embed(unsigned long long *start_sector, int needed_sectors) in zfs_embed() argument
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 224 int32_t cyl, rem, head, start_sector; in _m_raw_read() local 262 start_sector = rem%fdchar.fdc_secptrack + 1; in _m_raw_read() 273 fdraw.fdr_cmd[4] = start_sector; /* start sector number */ in _m_raw_read() 298 int32_t cyl, rem, head, start_sector; in _m_raw_write() local 335 start_sector = rem%fdchar.fdc_secptrack + 1; in _m_raw_write() 346 fdraw.fdr_cmd[4] = start_sector; /* start sector number */ in _m_raw_write()
|