/system/core/libdiskconfig/ |
config_mbr.c | 29 /* start and len are in LBA units */ 58 uint64_t lba; local 60 lba = (uint64_t)len_kb * 1024; 61 /* bump it up to the next LBA boundary just in case */ 62 lba = (lba + (uint64_t)sect_size - 1) & ~((uint64_t)sect_size - 1); 63 lba /= (uint64_t)sect_size; 64 if (lba >= 0xffffffffULL) 65 ALOGE("Error converting kb -> lba. 32bit overflow, expect weirdness"); 66 return (uint32_t)(lba & 0xffffffffULL) 114 pinfo->type, *lba, (uint32_t)len_lba); local [all...] |
/external/qemu/hw/ |
scsi-disk.c | 352 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 > s->max_lba [all...] |
/external/qemu/block/ |
vvfat.c | 383 int lba; local 392 /* LBA is used when partition is outside the CHS geometry */ 393 lba = sector2CHS(s->bs, &partition->start_CHS, s->first_sectors_number-1); 394 lba|= sector2CHS(s->bs, &partition->end_CHS, s->sector_count); 396 /*LBA partitions are identified only by start/length_sector_long not by CHS*/ 401 /* DOS uses different types when partition is LBA, 404 s->fat_type==16 ? (lba?0xe:0x06): 405 /*fat_tyoe==32*/ (lba?0xc:0x0b); [all...] |
/bionic/libc/kernel/common/linux/ |
cdrom.h | 92 int lba; member in union:cdrom_addr 506 int lba; member in struct:dvd_lu_send_title_key
|
/development/ndk/platforms/android-3/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
cdrom.h | 164 int lba; member in union:cdrom_addr 653 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cdrom.h | 164 int lba; member in union:cdrom_addr 653 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cdrom.h | 164 int lba; member in union:cdrom_addr 653 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-4/arch-arm/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|
/prebuilts/ndk/android-ndk-r7/platforms/android-4/arch-x86/usr/include/linux/ |
cdrom.h | 84 int lba; member in union:cdrom_addr 478 int lba; member in struct:dvd_lu_send_title_key
|