Home
last modified time | relevance | path

Searched refs:start_sector (Results 1 – 21 of 21) sorted by path

/illumos-gate/usr/src/boot/common/
H A Dmb_header.S30 .globl mb_header, start_sector
41 start_sector: .long 0 /* partition LBA */ label
/illumos-gate/usr/src/boot/efi/loader/
H A Dmain.c91 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 Dzfsboot.c73 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 Disoboot.c64 extern uint64_t start_sector;
243 if (start_sector != 0) in main()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c742 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 Dinstallgrub.h46 uint64_t start_sector; member
/illumos-gate/usr/src/cmd/format/
H A Dio.c481 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 Dio.h60 uint64_t start_sector; member
H A Dmodify_partition.c549 efi_deflt.start_sector = ioparam.io_bounds.lower;
H A Dpartition.c164 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 Drmf_menu.c80 diskaddr_t start_sector, uint32_t nblocks,
H A Drmf_misc.c937 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 Dbuiltins.c163 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 Dfilesys.h28 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 Dfsys_ffs.c293 ffs_embed (unsigned long long *start_sector, int needed_sectors) in ffs_embed() argument
300 *start_sector = 1; in ffs_embed()
H A Dfsys_jfs.c387 jfs_embed (unsigned long long *start_sector, int needed_sectors) in jfs_embed() argument
399 *start_sector = 1; in jfs_embed()
H A Dfsys_reiserfs.c1216 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 Dfsys_ufs.c139 ufs_embed (unsigned long long *start_sector, int needed_sectors) in ufs_embed() argument
144 *start_sector = 2; in ufs_embed()
H A Dfsys_ufs2.c314 ufs2_embed (unsigned long long *start_sector, int needed_sectors) in ufs2_embed() argument
321 *start_sector = 1; in ufs2_embed()
H A Dfsys_zfs.c1894 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 Df_generic.c224 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()