/third_party/ltp/testcases/kernel/fs/doio/ |
D | rwtest | 328 blks=${szblks[$n]} 337 blks=$(df $dfOpts $dir | 338 (while read fs blks used avail cap mountpoint 347 if [ $blks -eq $blks 2> /dev/null -a $blks -gt 0 ] 351 Linux) blks=$( expr $blks / 2 ) ;; 363 sz=$( perl -le 'print int( '$blks' * '$size' / 100 )' ) 366 sz=$(expr \( $blks '*' $size \) / 100)
|
/third_party/uboot/u-boot-2020.01/drivers/scsi/ |
D | scsi.c | 151 lbaint_t start, blks, max_blks; in scsi_read() local 161 blks = blkcnt; in scsi_read() 169 block_dev->devnum, start, blks, (unsigned long)buffer); in scsi_read() 176 blocks = min_t(lbaint_t, blks, max_blks); in scsi_read() 180 blks -= blocks; in scsi_read() 183 if (blks > max_blks) { in scsi_read() 188 blks -= max_blks; in scsi_read() 190 pccb->datalen = block_dev->blksz * blks; in scsi_read() 191 smallblks = (unsigned short)blks; in scsi_read() 193 start += blks; in scsi_read() [all …]
|
/third_party/uboot/u-boot-2020.01/lib/ |
D | image-sparse.c | 54 lbaint_t blks; in write_sparse_image() local 152 blks = info->write(info, blk, blkcnt, data); in write_sparse_image() 154 if (blks < blkcnt) { in write_sparse_image() 157 blk, blks); in write_sparse_image() 161 blk += blks; in write_sparse_image() 207 blks = info->write(info, blk, j, fill_buf); in write_sparse_image() 209 if (blks < j) { in write_sparse_image() 219 blk += blks; in write_sparse_image()
|
/third_party/uboot/u-boot-2020.01/drivers/fastboot/ |
D | fb_mmc.c | 64 lbaint_t blks = 0; in fb_mmc_blk_write() local 80 blks += blks_written; in fb_mmc_blk_write() 82 return blks; in fb_mmc_blk_write() 105 lbaint_t blks; in write_raw_image() local 119 blks = fb_mmc_blk_write(dev_desc, info->start, blkcnt, buffer); in write_raw_image() 121 if (blks != blkcnt) { in write_raw_image() 444 lbaint_t blks, blks_start, blks_size, grp_size; in fastboot_mmc_erase() local 479 blks = fb_mmc_blk_write(dev_desc, blks_start, blks_size, NULL); in fastboot_mmc_erase() 481 if (blks != blks_size) { in fastboot_mmc_erase()
|
/third_party/uboot/u-boot-2020.01/drivers/ata/ |
D | fsl_ahci.c | 666 u32 start, blks; in ata_low_level_rw_lba48() local 671 blks = blkcnt; in ata_low_level_rw_lba48() 676 if (blks > max_blks) { in ata_low_level_rw_lba48() 684 blks -= max_blks; in ata_low_level_rw_lba48() 688 fsl_sata_rw_cmd_ext(sata, start, blks, in ata_low_level_rw_lba48() 691 fsl_sata_rw_ncq_cmd(sata, start, blks, in ata_low_level_rw_lba48() 693 start += blks; in ata_low_level_rw_lba48() 694 blks = 0; in ata_low_level_rw_lba48() 695 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48() 697 } while (blks != 0); in ata_low_level_rw_lba48() [all …]
|
D | sata_sil.c | 397 ulong start, blks, max_blks; in sil_sata_rw_lba28() local 401 blks = blkcnt; in sil_sata_rw_lba28() 406 if (blks > max_blks) { in sil_sata_rw_lba28() 409 blks -= max_blks; in sil_sata_rw_lba28() 412 sil_sata_rw_cmd(sata, start, blks, addr, is_write); in sil_sata_rw_lba28() 413 start += blks; in sil_sata_rw_lba28() 414 blks = 0; in sil_sata_rw_lba28() 415 addr += ATA_SECT_SIZE * blks; in sil_sata_rw_lba28() 417 } while (blks != 0); in sil_sata_rw_lba28() 426 ulong start, blks, max_blks; in sil_sata_rw_lba48() local [all …]
|
D | dwc_ahsata.c | 654 u32 start, blks; in ata_low_level_rw_lba48() local 659 blks = blkcnt; in ata_low_level_rw_lba48() 665 if (blks > max_blks) { in ata_low_level_rw_lba48() 671 blks -= max_blks; in ata_low_level_rw_lba48() 674 if (blks != dwc_ahsata_rw_cmd_ext(uc_priv, start, blks, in ata_low_level_rw_lba48() 677 start += blks; in ata_low_level_rw_lba48() 678 blks = 0; in ata_low_level_rw_lba48() 679 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48() 681 } while (blks != 0); in ata_low_level_rw_lba48() 690 u32 start, blks; in ata_low_level_rw_lba28() local [all …]
|
D | fsl_sata.c | 672 u32 start, blks; in ata_low_level_rw_lba48() local 677 blks = blkcnt; in ata_low_level_rw_lba48() 682 if (blks > max_blks) { in ata_low_level_rw_lba48() 690 blks -= max_blks; in ata_low_level_rw_lba48() 694 fsl_sata_rw_cmd_ext(sata, start, blks, addr, in ata_low_level_rw_lba48() 697 fsl_sata_rw_ncq_cmd(sata, start, blks, addr, in ata_low_level_rw_lba48() 699 start += blks; in ata_low_level_rw_lba48() 700 blks = 0; in ata_low_level_rw_lba48() 701 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48() 703 } while (blks != 0); in ata_low_level_rw_lba48() [all …]
|
D | sata_mv.c | 726 lbaint_t start, blks; in ata_low_level_rw() local 733 blks = blkcnt; in ata_low_level_rw() 738 if (blks > max_blks) { in ata_low_level_rw() 747 blks -= max_blks; in ata_low_level_rw() 751 mv_sata_rw_cmd_ext(dev, port, start, blks, addr, in ata_low_level_rw() 754 mv_sata_rw_cmd(dev, port, start, blks, addr, in ata_low_level_rw() 757 start += blks; in ata_low_level_rw() 758 blks = 0; in ata_low_level_rw() 759 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw() 761 } while (blks != 0); in ata_low_level_rw()
|
/third_party/uboot/u-boot-2020.01/common/ |
D | usb_storage.c | 1131 lbaint_t start, blks; in usb_stor_read() local 1163 blks = blkcnt; in usb_stor_read() 1166 block_dev->devnum, start, blks, buf_addr); in usb_stor_read() 1172 if (blks > ss->max_xfer_blk) in usb_stor_read() 1175 smallblks = (unsigned short) blks; in usb_stor_read() 1187 blkcnt -= blks; in usb_stor_read() 1191 blks -= smallblks; in usb_stor_read() 1193 } while (blks != 0); in usb_stor_read() 1212 lbaint_t start, blks; in usb_stor_write() local 1246 blks = blkcnt; in usb_stor_write() [all …]
|
D | avb_verify.c | 265 unsigned long blks; in mmc_read_and_flush() local 295 blks = blk_dread(part->mmc_blk, in mmc_read_and_flush() 303 return blks; in mmc_read_and_flush()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-keystone/ |
D | ddr3.c | 152 u32 seg, blks, dst, edma_blks; in ddr3_reset_data() local 216 for (dst = base, blks = 0; blks < edma_blks; in ddr3_reset_data() 217 blks += DDR3_EDMA_BCNT, dst += DDR3_EDMA_XF_SIZE) { in ddr3_reset_data()
|
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/ |
D | f_rockusb.c | 462 int blks = blk_dread(f_rkusb->desc, f_rkusb->lba, blkcount, rbuffer); in tx_handler_ul_image() local 464 if (blks != blkcount) { in tx_handler_ul_image() 507 int blks = 0, blkcnt = transfer_size / f_rkusb->desc->blksz; in rx_handler_dl_image() local 512 blks = blk_dwrite(f_rkusb->desc, f_rkusb->lba, blkcnt, f_rkusb->buf); in rx_handler_dl_image() 513 if (blks != blkcnt) { in rx_handler_dl_image() 704 int sector_count, lba, blks; in cb_erase_lba() local 729 blks = blk_derase(f_rkusb->desc, lba, sector_count); in cb_erase_lba() 730 if (blks != sector_count) { in cb_erase_lba()
|
/third_party/ffmpeg/libavcodec/ |
D | dvenc.c | 604 static inline void dv_guess_qnos_hd(EncBlockInfo *blks, int *qnos) in dv_guess_qnos_hd() argument 618 if (blks[8*i+j].min_qlevel > min_qlevel[i]) in dv_guess_qnos_hd() 619 min_qlevel[i] = blks[8*i+j].min_qlevel; in dv_guess_qnos_hd() 632 size_cache[8*i+j][qlevels[i]] = dv100_actual_quantize(&blks[8*i+j], qlevels[i]); in dv_guess_qnos_hd() 664 b = &blks[8*i]; in dv_guess_qnos_hd() 715 b = &blks[8*i]; in dv_guess_qnos_hd() 737 b = &blks[8*i]; in dv_guess_qnos_hd() 746 static inline void dv_guess_qnos(EncBlockInfo *blks, int *qnos) in dv_guess_qnos() argument 758 b = blks; in dv_guess_qnos() 802 b = blks; in dv_guess_qnos()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstac3parse.c | 304 gint skip, guint * frame_size, guint * rate, guint * chans, guint * blks, in gst_ac3_parse_frame_header_ac3() argument 361 if (blks) in gst_ac3_parse_frame_header_ac3() 362 *blks = 6; in gst_ac3_parse_frame_header_ac3() 376 gint skip, guint * frame_size, guint * rate, guint * chans, guint * blks, in gst_ac3_parse_frame_header_eac3() argument 426 if (blks) in gst_ac3_parse_frame_header_eac3() 427 *blks = blocks; in gst_ac3_parse_frame_header_eac3()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 1381 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg) argument 1382 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \ argument
|
/third_party/e2fsprogs/resize/ |
D | resize2fs.c | 1992 blk64_t blks[4]; member 1995 #define BLK_IN_CACHE(b,c) ((b) == (c).blks[0] || (b) == (c).blks[1] || \ 1996 (b) == (c).blks[2] || (b) == (c).blks[3]) 1998 (c).blks[(c).cursor] = (b); \
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | ext2fs.h | 666 #define EXT2FS_NUM_B2C(fs, blks) (((blks) + EXT2FS_CLUSTER_MASK(fs)) >> \ argument
|