/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_iso9660.c | 70 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) in iso9660_devread() argument 78 if (sector < 0) in iso9660_devread() 86 sector += (byte_offset >> sector_size_lg2); in iso9660_devread() 89 : "=r"(sector) in iso9660_devread() 91 "0"(sector)); in iso9660_devread() 95 printf ("<%d, %d, %d>", sector, byte_offset, byte_len); in iso9660_devread() 103 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf); in iso9660_devread() 109 unsigned int sector; in iso9660_mount() local 124 for (sector = 16 ; sector < 32 ; sector++) in iso9660_mount() 126 if (!iso9660_devread(sector, 0, sizeof(*PRIMDESC), (char *)PRIMDESC)) in iso9660_mount() [all …]
|
H A D | fsys_vstafs.c | 27 static void get_file_info (int sector); 28 static struct dir_entry *vstafs_readdir (long sector); 60 get_file_info (int sector) in get_file_info() argument 62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO); in get_file_info() 69 vstafs_readdir (long sector) in vstafs_readdir() argument 74 get_file_info (sector); in vstafs_readdir()
|
H A D | disk_io.c | 158 rawread(int drive, unsigned int sector, int byte_offset, int byte_len, in rawread() argument 199 soff = sector % sectors_per_vtrack; in rawread() 200 track = sector - soff; in rawread() 217 read_start = sector; in rawread() 238 sector, slen, BUFFERSEG)) in rawread() 247 if ((buf_track == 0 || sector == 0) in rawread() 278 unsigned int sector_num = sector; in rawread() 299 sector += num_sect; in rawread() 308 devread(unsigned int sector, int byte_offset, int byte_len, char *buf) in devread() argument 313 if ((sector + ((byte_offset + byte_len - 1) >> SECTOR_BITS)) in devread() [all …]
|
H A D | bios.c | 50 unsigned int sector, int nsec, int segment) in biosdisk() argument 70 if (sector >= geometry->total_sectors) in biosdisk() 77 dap.block = sector; in biosdisk() 102 return biosdisk (read, drive, geometry, sector, nsec, segment); in biosdisk() 113 sector_offset = sector % geometry->sectors + 1; in biosdisk() 114 head = sector / geometry->sectors; in biosdisk()
|
H A D | stage1_5.c | 25 disk_read_savesect_func (unsigned int sector, int offset, int length) in disk_read_savesect_func() argument 27 saved_sector = sector; in disk_read_savesect_func()
|
H A D | fsys_fat.c | 228 int sector; in fat_read() local 242 sector = FAT_SUPER->fat_offset in fat_read() 244 if (!devread (sector, 0, FAT_CACHE_SIZE, (char*) FAT_BUF)) in fat_read() 269 sector = FAT_SUPER->data_offset + in fat_read() 278 devread(sector, offset, size, buf); in fat_read()
|
H A D | fsys_zfs.c | 270 find_bestub(char *ub_array, uint64_t ashift, uint64_t sector) in find_bestub() argument 282 offset = (sector << SPA_MINBLOCKSHIFT) + in find_bestub() 308 uint64_t offset, sector; in zio_read_gang() local 315 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_gang() 318 if (devread(sector, 0, SPA_GANGBLOCKSIZE, (char *)zio_gb) == 0) { in zio_read_gang() 362 uint64_t offset, sector; in zio_read_data() local 374 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_data() 375 if (devread(sector, 0, psize, buf) != 0) in zio_read_data() 1523 check_pool_label(uint64_t sector, char *stack, char *outdevid, in check_pool_label() argument 1531 sector += (VDEV_SKIP_SIZE >> SPA_MINBLOCKSHIFT); in check_pool_label() [all …]
|
H A D | builtins.c | 149 disk_read_print_func(unsigned int sector, int offset, int length) in disk_read_print_func() argument 151 grub_printf ("[%u,%d,%d]", sector, offset, length); in disk_read_print_func() 165 auto void disk_read_blocklist_func (unsigned int sector, int offset, in blocklist_func() 170 auto void disk_read_blocklist_func (unsigned int sector, int offset, in blocklist_func() 175 if (start_sector + num_sectors == sector in blocklist_func() 203 sector-part_start, offset, offset+length); in blocklist_func() 208 start_sector = sector; in blocklist_func() 1400 int sector; in embed_func() local 1478 sector = 1; in embed_func() 1497 sector = part_start + start_sector; in embed_func() [all …]
|
H A D | shared.h | 892 unsigned int sector, int nsec, int segment); 1009 int rawread (int drive, unsigned int sector, int byte_offset, int byte_len, 1011 int devread (unsigned int sector, int byte_offset, int byte_len, char *buf); 1012 int rawwrite (int drive, unsigned int sector, char *buf); 1013 int devwrite (unsigned int sector, int sector_len, char *buf);
|
/titanic_44/usr/src/common/fs/ |
H A D | pcfs.c | 278 ulong_t sector; in bpcfs_read() local 318 sector = fat_ctodb(blk, rd); in bpcfs_read() 325 block = (char *)readblock(sector + i, 1); in bpcfs_read() 514 int j, sector; in lookup() local 519 sector = fat_ctodb(dir_blk, rd); in lookup() 520 dxp = readblock(sector, 1); /* read one sector */ in lookup() 597 readblock(int sector, int nsec) in readblock() argument 599 if (sector >= nsec_start && sector + nsec <= nsec_start + nsec_cache) in readblock() 600 return (cluster_cache + (sector - nsec_start) * SECSIZ); in readblock() 603 head->fi_blocknum = sector; in readblock() [all …]
|
/titanic_44/usr/src/cmd/diskscan/ |
H A D | diskscan.c | 49 static void report(char *what, diskaddr_t sector); 356 report(char *what, diskaddr_t sector) in report() argument 358 (void) printf("%s sector %-19llu of %-19llu%c", what, sector, in report()
|
/titanic_44/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 931 unsigned int sector, int nsec, int segment) in biosdisk() argument 951 offset = (loff_t) sector * (loff_t) SECTOR_SIZE; in biosdisk() 957 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE; in biosdisk() 970 if (sector == 0 && nsec > 1) in biosdisk() 991 nsec, sector, drive, device_map[drive]); in biosdisk()
|
/titanic_44/usr/src/psm/stand/bootblks/hsfs/common/ |
H A D | hsfs.fth | 74 d# 2048 constant /sector 75 d# 16 constant vol-desc-sector# ( -- n ) 89 vol-desc /sector vol-desc-sector# /sector * dev-ih read-disk 394 \ read volume desriptor sector in order to get /block value. 396 /sector mem-alloc to vol-desc 407 vol-desc /sector mem-free
|
/titanic_44/usr/src/uts/sun/sys/dada/impl/ |
H A D | commands.h | 53 uchar_t sector; /* Sector Number */ member
|
/titanic_44/usr/src/grub/grub-0.97/docs/ |
H A D | internals.texi | 112 The first sector of Stage 2. 123 In the first sector of Stage 1.5 and Stage 2, the block lists are 139 In the second sector of Stage 1.5 and Stage 2, these are defined: 242 Only read sectors from within a partition. Sector 0 is the first sector 306 We embed Stage 1 in a MBR or in the boot sector of a partition, and 319 The solution used by GRUB is that Stage 1 loads only the first sector of 331 Load the first sector of Stage 2. 343 part of the first sector.
|
H A D | grub.info-4 | 47 We embed Stage 1 in a MBR or in the boot sector of a partition, and 61 sector of Stage 2 (or Stage 1.5) and Stage 2 itself loads the rest. The 68 3. Load the first sector of Stage 2. 76 last part of the first sector.
|
H A D | menu.lst | 62 # chainload OS/2 bootloader from the first sector
|
H A D | grub.info | 485 normal boot-sector used by an OS. 488 directly, so using it on a boot sector (the first sector of a 490 back up the first sector of the partition on which you are installing 492 the first sector of a hard disk, since it's easy to reinitialize it 522 sector of a partition instead of putting it in the MBR, specify the 743 loader is embedded in the "boot sector" of the partition on which the 762 `+1' indicates that GRUB should read one sector from the start of 1235 # chainload OS/2 bootloader from the first sector 1573 is embedded in an MBR or the boot sector of a partition. Because a 1574 PC boot sector is 512 bytes, the size of this image is exactly 512 [all …]
|
H A D | grub.info-1 | 484 normal boot-sector used by an OS. 487 directly, so using it on a boot sector (the first sector of a 489 back up the first sector of the partition on which you are installing 491 the first sector of a hard disk, since it's easy to reinitialize it 521 sector of a partition instead of putting it in the MBR, specify the 743 boot loader is embedded in the "boot sector" of the partition on which 762 `+1' indicates that GRUB should read one sector from the start of 1235 # chainload OS/2 bootloader from the first sector
|
/titanic_44/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124reg.h | 97 #define SET_FIS_SECTOR(fis, sector) \ argument 98 ((&fis)->fish_sector_cyllow_cylhi_devhead |= ((sector & 0xff)))
|
/titanic_44/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 871 int sector, int size, const char *buf) in write_to_partition() argument 912 offset = (loff_t) sector * (loff_t) SECTOR_SIZE; in write_to_partition() 921 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE; in write_to_partition()
|
/titanic_44/usr/src/uts/common/sys/sata/adapters/ahci/ |
H A D | ahcireg.h | 343 #define SET_FIS_SECTOR(fis, sector) \ argument 344 (fis->ahcifhr_sector_cyllow_cylhi_devhead |= ((sector & 0xff)))
|
/titanic_44/usr/src/grub/grub-0.97/util/ |
H A D | grub-install.in | 78 sector.
|
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 1758 uchar_t sector, in ata_command() argument 1779 sector, head, cyl_low, cyl_hi)); in ata_command() 1787 ddi_put8(io_hdl1, ata_ctlp->ac_sect, sector); in ata_command() 1805 sector, head, cyl_low, cyl_hi)); in ata_command() 1831 sector, head, cyl_low, cyl_hi)); in ata_command()
|
/titanic_44/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 103 uint64_t sector; member 288 req->hdr.sector = xfer->x_blkno; in vioblk_rw()
|