Searched defs:lba (Results 1 - 7 of 7) sorted by relevance

/external/qemu/hw/
H A Dcdrom.c31 static void lba_to_msf(uint8_t *buf, int lba) argument
33 lba += 150;
34 buf[0] = (lba / 75) / 60;
35 buf[1] = (lba / 75) % 60;
36 buf[2] = lba % 75;
H A Dscsi-disk.c352 uint64_t lba; local
374 lba = (uint64_t) buf[3] | ((uint64_t) buf[2] << 8) |
381 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
387 lba = (uint64_t) buf[9] | ((uint64_t) buf[8] << 8) |
395 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
781 DPRINTF("Read (sector %lld, count %d)\n", lba, len);
782 if (lba > s->max_lba)
784 r->sector = lba * s->cluster_size;
790 DPRINTF("Write (sector %lld, count %d)\n", lba, len);
791 if (lba >
[all...]
/external/qemu/block/
H A Dvvfat.c383 int lba; local
393 lba = sector2CHS(s->bs, &partition->start_CHS, s->first_sectors_number-1);
394 lba|= sector2CHS(s->bs, &partition->end_CHS, s->sector_count);
404 s->fat_type==16 ? (lba?0xe:0x06):
405 /*fat_tyoe==32*/ (lba?0xc:0x0b);
/external/grub/stage2/
H A Dbuiltins.c1866 if (grub_memcmp ("--force-lba", arg, sizeof ("--force-lba") - 1) == 0)
2295 "install [--stage2=STAGE2_FILE] [--force-lba] STAGE1 [d] DEVICE STAGE2 [ADDR] [p] [CONFIG_FILE] [REAL_CONFIG_FILE]",
2307 " If the option `--force-lba' is specified, disable some sanity checks"
2796 auto void lba_to_chs (int lba, int *cl, int *ch, int *dh);
2797 void lba_to_chs (int lba, int *cl, int *ch, int *dh)
2801 sector = lba % buf_geom.sectors + 1;
2802 head = (lba / buf_geom.sectors) % buf_geom.heads;
2803 cylinder = lba / (buf_geom.sectors * buf_geom.heads);
3995 /* Check if the user specifies --force-lba
2759 lba_to_chs(int lba, int *cl, int *ch, int *dh) argument
[all...]
/external/kernel-headers/original/linux/
H A Dcdrom.h164 int lba; member in union:cdrom_addr
653 int lba; member in struct:dvd_lu_send_title_key
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c67 // - pchs/lba access
2620 BX_INFO("lba");
2882 // sector will be 0 only on lba access. Convert to lba-chs
3033 // sector will be 0 only on lba access. Convert to lba-chs
3595 Bit32u lba; local
3631 lba=buffer[0x4A]*0x1000000+buffer[0x49]*0x10000+buffer[0x48]*0x100+buffer[0x47];
3638 atacmd[2]=(lba & 0xff000000) >> 24; // LBA
3639 atacmd[3]=(lba
5627 Bit32u lba; local
6319 Bit32u lba; local
[all...]
/external/valgrind/main/include/vki/
H A Dvki-linux.h1756 int lba; member in union:vki_cdrom_addr

Completed in 1716 milliseconds