HomeSort by relevance Sort by last modified time
    Searched refs:lba (Results 26 - 50 of 71) sorted by null

12 3

  /external/ltp/testcases/kernel/io/disktest/
defs.h 109 OFF_T lba; member in struct:action
io.c 99 OFF_T Seek(fd_t fd, OFF_T lba)
104 return_lba = (OFF_T) FileSeek64(fd, lba, FILE_BEGIN);
106 return_lba = (OFF_T) lseek64(fd, lba, SEEK_SET);
  /external/syslinux/com32/chain/
utility.h 50 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode);
mangle.c 71 8 bi_pvd 4 bytes LBA of primary volume descriptor
72 12 bi_file 4 bytes LBA of boot file
81 LBA of primary volume descriptor should already be set to 16.
86 /* Get LBA address of bootfile */
90 error("Failed to find LBA offset of the boot file.");
151 /* 0x211: force LBA */
256 error("LBA very large; Only using lower 32 bits; DRMK will probably fail.");
584 uint32_t ochs1, ochs2, lba; local
589 lba = (uint32_t)iter->abs_lba;
593 lba = iter->dos.nebr_lba
    [all...]
  /external/syslinux/com32/include/syslinux/
disk.h 67 uint64_t lba; member in struct:disk_ebios_dapa
175 uint64_t lba, uint8_t count);
177 uint64_t lba, const void *data, uint8_t count);
179 uint64_t lba, const void *buf, uint8_t count);
  /external/syslinux/core/fs/iso9660/
iso9660_fs.h 9 uint32_t pvd; /* LBA of primary volume descriptor */
10 uint32_t file; /* LBA of boot file */
51 uint32_t lba; /* Starting LBA of file data area*/ member in struct:iso9660_pvt_inode
iso9660.c 101 block_t dir_block = PVT(inode)->lba;
177 PVT(inode)->lba = de->extent_le;
223 data = get_cache(fs->fs_dev, PVT(inode)->lba + i);
susp_rr.c 75 static char *dummy_get_cache(struct device *fs_dev, block_t lba)
80 ret = fs_dev->src->read_block(fs_dev->src, lba, buf);
439 block_t lba; local
459 lba = susp_rr_read_lsb32(((uint8_t *) &(sbi->root)) + 2);
460 dir_rec = (char *) get_cache(fs->fs_dev, lba);
  /external/syslinux/gpxe/src/drivers/block/
scsi.c 113 * @v block LBA block number
127 cdb->lba = cpu_to_be32 ( block );
138 * @v block LBA block number
152 cdb->lba = cpu_to_be64 ( block );
163 * @v block LBA block number
177 cdb->lba = cpu_to_be32 ( block );
188 * @v block LBA block number
202 cdb->lba = cpu_to_be64 ( block );
233 blockdev->blocks = ( be32_to_cpu ( capacity.lba ) + 1 );
264 blockdev->blocks = ( be64_to_cpu ( capacity.lba ) + 1 )
    [all...]
  /external/syslinux/gpxe/src/arch/i386/interface/pcbios/
int13.c 142 unsigned long lba; local
161 lba = ( ( ( ( cylinder * drive->heads ) + head )
166 DBG ( "C/H/S %d/%d/%d = LBA %#lx <-> %04x:%04x (count %d)\n", cylinder,
167 head, sector, lba, ix86->segs.es, ix86->regs.bx, count );
170 if ( ( rc = io ( blockdev, lba, count, buffer ) ) != 0 ) {
299 uint64_t lba; local
306 lba = addr.lba;
310 DBG ( "LBA %#llx <-> %04x:%04x (count %ld)\n", (unsigned long long)lba,
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
uniphier_nand.c 161 static size_t __uniphier_nand_read(struct uniphier_nand *nand, int lba,
166 int blocks_to_skip = lba / pages_per_block;
168 int page = lba % pages_per_block;
213 static size_t uniphier_nand_read(int lba, uintptr_t buf, size_t size)
219 count = __uniphier_nand_read(&uniphier_nand, lba, buf, size);
uniphier_emmc.c 209 static size_t uniphier_emmc_read(int lba, uintptr_t buf, size_t size)
217 lba *= 512;
219 ret = uniphier_emmc_load_image(host_base, lba, buf, size / 512);
  /external/gptfdisk/
mbrpart.cc 175 // Set the start point and length of the partition. This function takes LBA
176 // values, sets them directly, and sets the CHS values based on the LBA
220 // Returns the last LBA value. Note that this can theoretically be a 33-bit
256 // Converts 32-bit LBA value to MBR-style CHS value. Returns 1 if conversion
260 int MBRPart::LBAtoCHS(uint32_t lba, uint8_t * chs) {
267 // Special case: In case of 0 LBA value, zero out CHS values....
268 if (lba == 0) {
272 // If LBA value is too large for CHS, max out CHS values....
273 if ((!done) && (lba >= (numHeads * numSecspTrack * MAX_CYLINDERS))) {
281 cylinder = lba / (numHeads * numSecspTrack)
    [all...]
mbrpart.h 105 int LBAtoCHS(uint32_t lba, uint8_t * chs);
  /external/syslinux/diag/geodsp/
geodspms.asm 31 ; # dd skip=1 seek=1 if=../dbg/lba-img/lba-img.bin of=$OF
36 ; # (dd if=core/geodsp.bin; dd skip=1 if=../dbg/lba-img/lba-img.bin; dd count=$((2*255*63 - 256*63 - 1)) if=/dev/zero )|dd of=$OF
38 ; # (dd if=core/geodsp.bin; dd skip=1 if=../dbg/lba-img/lba-img.bin; dd count=$((40*16*63 - 256*63 - 1)) if=/dev/zero )|dd of=$OF
geodsp1s.asm 31 ; # dd skip=1 seek=1 if=../dbg/lba-img/lba-img.bin of=$OF
36 ; # (dd if=core/geodsp.bin; dd skip=1 if=../dbg/lba-img/lba-img.bin; dd count=$((2*255*63 - 256*63 - 1)) if=/dev/zero )|dd of=$OF
38 ; # (dd if=core/geodsp.bin; dd skip=1 if=../dbg/lba-img/lba-img.bin; dd count=$((40*16*63 - 256*63 - 1)) if=/dev/zero )|dd of=$OF
  /device/linaro/bootloader/arm-trusted-firmware/drivers/synopsys/emmc/
dw_mmc.c 122 static int dw_prepare(int lba, uintptr_t buf, size_t size);
123 static int dw_read(int lba, uintptr_t buf, size_t size);
124 static int dw_write(int lba, uintptr_t buf, size_t size);
329 static int dw_prepare(int lba, uintptr_t buf, size_t size)
375 static int dw_read(int lba, uintptr_t buf, size_t size)
380 static int dw_write(int lba, uintptr_t buf, size_t size)
  /external/fio/engines/
sg.c 271 long long nr_blocks, lba; local
279 lba = io_u->offset / sd->bs;
285 if (lba < MAX_10B_LBA)
293 if (lba < MAX_10B_LBA)
300 if (lba < MAX_10B_LBA)
307 * for synccache, we leave lba and length to 0 to sync all
311 if (lba < MAX_10B_LBA) {
312 hdr->cmdp[2] = (unsigned char) ((lba >> 24) & 0xff);
313 hdr->cmdp[3] = (unsigned char) ((lba >> 16) & 0xff);
314 hdr->cmdp[4] = (unsigned char) ((lba >> 8) & 0xff)
    [all...]
  /external/syslinux/gpxe/src/arch/i386/include/
int13.h 129 uint64_t lba; member in struct:int13_disk_address
231 /** LBA of disk image to emulate */
232 uint32_t lba; member in struct:int13_cdrom_specification
  /external/f2fs-tools/tools/sg_write_buffer/include/
sg_cmds_extra.h 69 /* Invokes a SCSI GET LBA STATUS(16) or GET LBA STATUS(32) command (SBC).
71 * SG_LIB_CAT_INVALID_OP -> GET LBA STATUS(16 or 32) not supported,
132 int sg_ll_read_long10(int sg_fd, bool pblock, bool correct, unsigned int lba,
259 unsigned int lba, int veri_len, void * data_out,
307 unsigned int lba, void * data_out, int xfer_len,
358 * command with given lba, if that LBA is < 2**32 . Unclear what SEEK(10)
362 uint64_t lba, uint32_t num_blocks, int group_num,
sg_cmds_basic.h 135 int sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp,
180 unsigned int lba, unsigned int count, bool noisy,
  /external/syslinux/gpxe/src/include/gpxe/
aoe.h 48 } lba; member in struct:aoeata
ata.h 21 * block address: LBA Low, LBA Mid and LBA High. This allows for a
28 * 0x56 -> LBA Low register
29 * 0xef -> LBA Low register
30 * 0x34 -> LBA Mid register
31 * 0xcd -> LBA Mid register
32 * 0x12 -> LBA High register
33 * 0xab -> LBA High register
39 * low_prev -> LBA Low registe
98 union ata_lba lba; member in struct:ata_cb
    [all...]
  /external/syslinux/gpxe/src/net/
aoe.c 164 aoeata->lba.u64 = cpu_to_le64 ( command->cb.lba.native );
166 aoeata->lba.bytes[3] |=
263 command->cb.lba.native += count;
  /frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
numeric.h 76 // Re-maps `x` from `[lba,uba]` to `[lbb,ubb]`.
78 T ConvertRange(T x, T lba, T uba, T lbb, T ubb) {
79 return (((x - lba) * (ubb - lbb)) / (uba - lba)) + lbb;

Completed in 1394 milliseconds

12 3