| /titanic_53/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 | 273 find_bestub(char *ub_array, uint64_t ashift, uint64_t sector) in find_bestub() argument 285 offset = (sector << SPA_MINBLOCKSHIFT) + in find_bestub() 311 uint64_t offset, sector; in zio_read_gang() local 318 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_gang() 321 if (devread(sector, 0, SPA_GANGBLOCKSIZE, (char *)zio_gb) == 0) { in zio_read_gang() 365 uint64_t offset, sector; in zio_read_data() local 377 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_data() 378 if (devread(sector, 0, psize, buf) == 0) in zio_read_data() 1528 check_pool_label(uint64_t sector, char *stack, char *outdevid, in check_pool_label() argument 1536 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_53/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_53/usr/src/boot/sys/boot/i386/pmbr/ |
| H A D | pmbr.s | 35 # The embedded MBR is set up for PMBR and default bootblock sector 42 .set SECSIZE,0x200 # Size of a single disk sector 122 addw $SECSIZE/16,%ax # sector 126 # Load a sector (64-bit LBA at %si) from disk %dl into %es:%bx by creating 133 pushw $0x1 # Read 1 sector 179 .byte 0x02 # sector 183 .byte 0xFF # ending sector
|
| /titanic_53/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_53/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_53/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_53/usr/src/uts/sun/sys/dada/impl/ |
| H A D | commands.h | 53 uchar_t sector; /* Sector Number */ member
|
| /titanic_53/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
|
| /titanic_53/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_53/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_53/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
| H A D | ixp425_board.c | 258 u_int32_t sector, u_int32_t count, u_int32_t feature); 535 cfcmd(u_int32_t cmd, u_int32_t cylinder, u_int32_t head, u_int32_t sector, in cfcmd() argument 549 cfwrite8(CF_SECT_NUM, sector); in cfcmd()
|
| /titanic_53/usr/src/boot/sys/boot/i386/boot0/ |
| H A D | boot0.S | 470 movb $0x3,%ah # Write sector 487 movb $0x2,%ah # Read sector 563 movw 0x2(%si),%cx # Load cylinder:sector
|
| /titanic_53/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_53/usr/src/grub/grub-0.97/util/ |
| H A D | grub-install.in | 78 sector.
|
| /titanic_53/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()
|