Home
last modified time | relevance | path

Searched refs:lba (Results 1 – 22 of 22) sorted by relevance

/third_party/FatFs/documents/res/
Dapp4.c44 DWORD sz_drv, lba, lba2, sz_eblk, pns = 1; in test_diskio() local
119 lba = 0; in test_diskio()
121 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
122 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
138 printf(" disk_read(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
139 dr = disk_read(pdrv, pbuff, lba, 1); in test_diskio()
156 lba = 5; ns = sz_buff / sz_sect; in test_diskio()
160 printf(" disk_write(%u, 0x%X, %lu, %u)", pdrv, (UINT)pbuff, lba, ns); in test_diskio()
161 dr = disk_write(pdrv, pbuff, lba, ns); in test_diskio()
177 printf(" disk_read(%u, 0x%X, %lu, %u)", pdrv, (UINT)pbuff, lba, ns); in test_diskio()
[all …]
Dapp6.c13 DWORD lba, /* Start LBA for read/write test */ in test_raw_speed() argument
32 printf("Starting raw write test at sector %lu in %u bytes of data chunks...", lba, sz_buff); in test_raw_speed()
35 if (disk_write(pdrv, buff, lba + ofs, sz_buff / ss) != RES_OK) { in test_raw_speed()
47 printf("Starting raw read test at sector %lu in %u bytes of data chunks...", lba, sz_buff); in test_raw_speed()
50 if (disk_read(pdrv, buff, lba + ofs, sz_buff / ss) != RES_OK) { in test_raw_speed()
/third_party/ffmpeg/libavcodec/
Ddvd_nav_parser.c30 uint32_t lba; member
39 pc->lba = 0xFFFFFFFF; in dvd_nav_parse_init()
63 uint32_t lba = AV_RB32(&buf[0x01]); in dvd_nav_parse() local
68 pc1->lba = lba; in dvd_nav_parse()
82 uint32_t lba = AV_RB32(&buf[0x05]); in dvd_nav_parse() local
84 if (lba == pc1->lba) { in dvd_nav_parse()
96 pc1->lba = 0xFFFFFFFF; in dvd_nav_parse()
/third_party/NuttX/include/nuttx/
Dscsi.h839 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */ member
848 uint8_t lba[4]; /* 0-3: Returned logical block address (LBA) */ member
857 uint8_t lba[8]; /* 2-9: Logical block address (LBA) */ member
866 uint8_t lba[8]; /* 0-7: Returned logical block address (LBA) */ member
877 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */ member
888 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */ member
899 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */ member
910 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */ member
921 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */ member
932 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */ member
[all …]
/third_party/gptfdisk/
Dmbrpart.cc260 int MBRPart::LBAtoCHS(uint32_t lba, uint8_t * chs) { in LBAtoCHS() argument
268 if (lba == 0) { in LBAtoCHS()
273 if ((!done) && (lba >= (numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
281 cylinder = lba / (numHeads * numSecspTrack); in LBAtoCHS()
282 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
Dmbrpart.h104 int LBAtoCHS(uint32_t lba, uint8_t * chs);
Dbasicmbr.h94 int LBAtoCHS(uint64_t lba, uint8_t * chs); // Convert LBA to CHS
Dbasicmbr.cc696 int BasicMBRData::LBAtoCHS(uint64_t lba, uint8_t * chs) { in LBAtoCHS() argument
704 if (lba == 0) { in LBAtoCHS()
709 if ((!done) && (lba >= ((uint64_t) numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
717 cylinder = lba / (uint64_t) (numHeads * numSecspTrack); in LBAtoCHS()
718 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_cmds_extra.h132 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,
362 uint64_t lba, uint32_t num_blocks, int group_num,
Dsg_cmds_basic.h135 int sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp,
180 unsigned int lba, unsigned int count, bool noisy,
/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c489 uint32_t lba; in done_scsi_read() local
499 lba = ((((uint32_t)fmass->cmd[1]) << 16) | in done_scsi_read()
504 lba = get_unaligned_be32(&fmass->cmd[2]); in done_scsi_read()
520 if (lba >= num_sectors) in done_scsi_read()
561 doread = fmass_dev_read(fmass, buf, lba, amount); in done_scsi_read()
563 lba += doread; in done_scsi_read()
569 db, buf, lba - doread , doread, amount, amount_left, fmass->residue); in done_scsi_read()
592 uint32_t lba; in done_scsi_write() local
608 lba = ((((uint32_t)fmass->cmd[1]) << 16) | in done_scsi_write()
613 lba = get_unaligned_be32(&fmass->cmd[2]); in done_scsi_write()
[all …]
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c1198 sg_ll_read_long10(int sg_fd, bool pblock, bool correct, unsigned int lba, in sg_ll_read_long10() argument
1215 sg_put_unaligned_be32((uint32_t)lba, readLong_cdb + 2); in sg_ll_read_long10()
1384 unsigned int lba, void * data_out, int xfer_len, in sg_ll_write_long10() argument
1402 sg_put_unaligned_be32((uint32_t)lba, writeLong_cdb + 2); in sg_ll_write_long10()
1548 unsigned int lba, int veri_len, void * data_out, in sg_ll_verify10() argument
1563 sg_put_unaligned_be32((uint32_t)lba, v_cdb + 2); in sg_ll_verify10()
2428 uint64_t lba, uint32_t num_blocks, int group_num, in sg_ll_pre_fetch_x() argument
2442 if (lba > UINT32_MAX) { in sg_ll_pre_fetch_x()
2451 sg_put_unaligned_be32((uint32_t)lba, preFetchCdb + 2); in sg_ll_pre_fetch_x()
2454 ((lba > UINT32_MAX) || (num_blocks > UINT16_MAX))) { in sg_ll_pre_fetch_x()
[all …]
Dsg_cmds_basic2.c105 unsigned int lba, unsigned int count, bool noisy, in sg_ll_sync_cache_10() argument
119 sg_put_unaligned_be32((uint32_t)lba, sc_cdb + 2); in sg_ll_sync_cache_10()
221 sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp, in sg_ll_readcap_10() argument
233 sg_put_unaligned_be32((uint32_t)lba, rc_cdb + 2); in sg_ll_readcap_10()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c2649 usbhost_putbe64(rd16->lba, startsector); in usbhost_readcdb16()
2661 usbhost_putbe32(rd10->lba, startsector); in usbhost_readcdb10()
2672 usbhost_putbe64(wr16->lba, startsector); in usbhost_writecbw16()
2683 usbhost_putbe32(wr10->lba, startsector); in usbhost_writecbw10()
2733 sc->info.sectornum= usbhost_getbe64(resp.lba) + 1; in umass_read_capacity_16()
2765 if (usbhost_getbe32(resp.lba) == 0xffffffff) { in umass_read_capacity()
2776 sc->info.sectornum= usbhost_getbe32(resp.lba) + 1; in umass_read_capacity()
/third_party/FatFs/source/
Dff.c5629 LBA_t sect, lba[2]; local
5839lba[0] = b_vol; lba[1] = b_vol + sz_vol - 1; /* Inform storage device that the volume area may be …
5840 disk_ioctl(pdrv, CTRL_TRIM, lba);
5977 lba[0] = sz_vol, lba[1] = 0;
5978 fr = create_partition(pdrv, lba, sys, buf);
6014 LBA_t sect, lba[2]; local
6210lba[0] = b_vol; lba[1] = b_vol + sz_vol - 1; /* Inform storage device that the volume area may be …
6211 disk_ioctl(pdrv, CTRL_TRIM, lba);
6348 lba[0] = sz_vol, lba[1] = 0;
6349 fr = create_partition(pdrv, lba, sys, buf);
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c4100 int do_readcap_10(int sg_fd, int pmi, unsigned int lba, in do_readcap_10() argument
4111 rcCmdBlk[2] = (lba >> 24) & 0xff; in do_readcap_10()
4112 rcCmdBlk[3] = (lba >> 16) & 0xff; in do_readcap_10()
4113 rcCmdBlk[4] = (lba >> 8) & 0xff; in do_readcap_10()
4114 rcCmdBlk[5] = lba & 0xff; in do_readcap_10()
4151 unsigned int lba = 0; in show_scsi_read_capacity() local
4161 if ((0 == pmi) && (lba > 0)) { in show_scsi_read_capacity()
4180 res = do_readcap_10(sg_fd, pmi, lba, &last_blk_addr, &block_size); in show_scsi_read_capacity()
4186 "delay=0x%x\n", lba, last_blk_addr); in show_scsi_read_capacity()
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt4786 "lba",
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt4868 "lba",
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-canarywharf.hdr472 …�������~}~~~}}~}~}{{yy|}}}zxwwuvvwvvuxwxc����yikihehiu�X\_bbcgj�aklhiifg�lba�c�dj�bghfehjk�ollli…
Dhdr-rgb-riverwalk.hdr8477 …f|t���uk���j����v�|�|t���|g_��������fjjlfff´��q_��dm�[_�����cflqljp}��xor�lba�j���������������t�u…
/third_party/openh264/res/
DCisco_Absolute_Power_1280x720_30fps.yuv3097 …_����������������������������}rlklgdhhfip}���������eVXZ`z�������Ôf\W]m����}lba`_^adedeekor��������…
/third_party/chromium/patch/
D0003-ohos-1115.patch201190 z$k|lba+meMKIQDN$fkjNnID<?kZ$Jbus<cHC-yzUf)(bE6D!#u&gx<1N#+!k8Q$0c