HomeSort by relevance Sort by last modified time
    Searched full:lba (Results 1 - 25 of 49) sorted by null

1 2

  /bootable/diskinstaller/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 LOGE("Error converting kb -> lba. 32bit overflow, expect weirdness");
66 return (uint32_t)(lba & 0xffffffffULL)
114 pinfo->type, *lba, (uint32_t)len_lba); local
    [all...]
diskconfig.h 80 uint32_t start_lba; /* the LBA where this partition begins */
87 uint32_t skip_lba; /* in sectors (1 unit of LBA) */
88 uint32_t num_lba; /* the size of the disk in LBA units */
diskconfig.c 199 /* first lba where the partitions will start on disk */
206 LOGE("Invalid starting LBA (or zero): %s", tmp);
409 * This will cause an update to the partitions' start lba.
  /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 LOGE("Error converting kb -> lba. 32bit overflow, expect weirdness");
66 return (uint32_t)(lba & 0xffffffffULL)
114 pinfo->type, *lba, (uint32_t)len_lba); local
    [all...]
diskconfig.c 201 /* first lba where the partitions will start on disk */
208 LOGE("Invalid starting LBA (or zero): %s", tmp);
412 * This will cause an update to the partitions' start lba.
  /build/target/board/generic_x86/
disk_layout.conf 6 # bytes in a disk sector (== 1 LBA), must be a power of 2!
9 # What LBA should the partitions start at?
  /bootable/diskinstaller/
installer_img_layout.conf 7 # What LBA should the partitions start at?
  /external/grub/docs/
grub-install.8 27 \fB\-\-force\-lba\fR
28 force GRUB to use LBA mode even for a buggy
internals.texi 58 LBA drive parameters
106 The flag for if forcing LBA.
155 The flag for if forcing LBA.
316 GRUB should support both the CHS mode and the LBA mode (@pxref{Low-level
  /external/qemu/hw/
cdrom.c 31 static void lba_to_msf(uint8_t *buf, int lba)
33 lba += 150;
34 buf[0] = (lba / 75) / 60;
35 buf[1] = (lba / 75) % 60;
36 buf[2] = lba % 75;
scsi-disk.c 351 uint64_t lba; local
373 lba = (uint64_t) buf[3] | ((uint64_t) buf[2] << 8) |
380 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
386 lba = (uint64_t) buf[9] | ((uint64_t) buf[8] << 8) |
394 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
780 DPRINTF("Read (sector %lld, count %d)\n", lba, len);
781 if (lba > s->max_lba)
783 r->sector = lba * s->cluster_size;
789 DPRINTF("Write (sector %lld, count %d)\n", lba, len);
790 if (lba > s->max_lba
    [all...]
  /system/core/include/diskconfig/
diskconfig.h 85 uint32_t start_lba; /* the LBA where this partition begins */
92 uint32_t skip_lba; /* in sectors (1 unit of LBA) */
93 uint32_t num_lba; /* the size of the disk in LBA units */
  /external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
SDL_syscdrom.c 292 cdte[i].te_absaddr.lba.addr3 << 24 |
293 cdte[i].te_absaddr.lba.addr2 << 16 |
294 cdte[i].te_absaddr.lba.addr1 << 8 |
295 cdte[i].te_absaddr.lba.addr0;
367 scd.scd_position_data.scp_absaddr.lba.addr3 << 24 |
368 scd.scd_position_data.scp_absaddr.lba.addr2 << 16 |
369 scd.scd_position_data.scp_absaddr.lba.addr1 << 8 |
370 scd.scd_position_data.scp_absaddr.lba.addr0;
390 FRAMES_TO_MSF(start + 150, /* LBA = 4500*M + 75*S + F - 150 */
394 FRAMES_TO_MSF(end + 150, /* LBA = 4500*M + 75*S + F - 150 *
    [all...]
  /external/grub/
NEWS 114 * Important bugfixes are made for ReiserFS, APM, TFTP, LBA, etc.
209 * Added a new option `--force-lba' into the command "install". This
210 option disables some sanity checks for LBA mode (but not all). If you
211 are sure that your machine supports LBA mode but GRUB doesn't work in
212 LBA mode, you should specify it. It is necessary if your BIOS is too
216 accept `--force-lba' option. Specifying this option to "setup" or
219 `--disable-lba-support-bitmap-check' any longer. Use the option above.
236 * Fix a serious bug about LBA support. It is possible that you don't
237 disable the LBA support bitmap check any longer. Please send a report,
242 * Stage 1 supports both the LBA mode and the CHS mode
    [all...]
AUTHORS 15 working LBA support, /sbin/grub support for configuration files, the
  /external/e2fsprogs/lib/ext2fs/
dosio.h 23 * A helper structure used in LBA => CHS conversion
40 unsigned long start; /* LBA address of partition start */
  /external/grub/stage2/
start_eltorito.S 75 bi_pvd: .long 0xDEADBEEF /* LBA of primary volume descript */
76 bi_file: .long 0xDEADBEEF /* LBA of boot file */
125 * Get linear sectors - EBIOS LBA addressing, 2048-byte sectors.
288 .long 0 /* +8 LBA (LSW) */
289 .long 0 /* +C LBA (MSW) */
bios.c 69 even if they have working LBA support. Hell. */
252 /* Set the LBA flag. */
267 it by C/H/S returned by the LBA BIOS call. */
builtins.c 1379 to support LBA even though they set the bit 0 in the support
1423 msg = "LBA";
    [all...]
  /external/kernel-headers/original/linux/
ata.h 218 ATA_TFLAG_LBA48 = (1 << 0), /* enable 48-bit LBA and "HOB" */
219 ATA_TFLAG_ISADDR = (1 << 1), /* enable r/w to nsect/lba regs */
222 ATA_TFLAG_LBA = (1 << 4), /* enable LBA */
  /external/grub/stage1/
stage1.S 156 /* do not probe LBA if the drive is a floppy */
160 /* check if LBA is supported */
224 /* LBA read is not supported, so fallback to CHS. */
  /external/grub/util/
grub-install 70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
247 force_lba="--force-lba" ;;
grub-install.in 70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
247 force_lba="--force-lba" ;;
  /bionic/libc/kernel/common/linux/
cdrom.h 84 int lba; member in union:cdrom_addr
478 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

Completed in 397 milliseconds

1 2