/external/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)
|
/external/u-boot/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 …]
|
/external/u-boot/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()
|
/external/u-boot/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()
|
/external/u-boot/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()
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_blocks.c | 218 struct gl_uniform_block *blks = NULL; in nir_interstage_cross_validate_uniform_blocks() local 256 int index = link_cross_validate_uniform_block(prog->data, &blks, in nir_interstage_cross_validate_uniform_blocks() 293 blks[j].stageref |= sh_blks[stage_index]->stageref; in nir_interstage_cross_validate_uniform_blocks() 294 sh_blks[stage_index] = &blks[j]; in nir_interstage_cross_validate_uniform_blocks() 304 prog->data->ShaderStorageBlocks = blks; in nir_interstage_cross_validate_uniform_blocks() 307 prog->data->UniformBlocks = blks; in nir_interstage_cross_validate_uniform_blocks() 558 struct gl_uniform_block *blks = *blocks; in link_linked_shader_uniform_blocks() local 571 fill_block(&blks[block_index], var, variables, &variable_index, in link_linked_shader_uniform_blocks()
|
D | link_uniforms.cpp | 737 struct gl_uniform_block *blks = var->is_in_shader_storage_block() ? in set_and_process() local 748 if (strncmp(var->get_interface_type()->name, blks[i].Name, l) in set_and_process() 749 == 0 && blks[i].Name[l] == '[') { in set_and_process() 756 if (strcmp(var->get_interface_type()->name, blks[i].Name) == 0) { in set_and_process() 795 &blks[buffer_block_index]; in set_and_process() 1305 struct gl_uniform_block **blks = var->data.mode == ir_var_uniform ? in link_update_uniform_buffer_variables() local 1325 const char *const begin = blks[i]->Name; in link_update_uniform_buffer_variables() 1340 entry->is_linearized_index_referenced(blks[i]->linearized_array_index))) { in link_update_uniform_buffer_variables() 1341 blks[i]->stageref |= 1U << stage; in link_update_uniform_buffer_variables() 1362 for (unsigned j = 0; j < blks[i]->NumUniforms; j++) { in link_update_uniform_buffer_variables() [all …]
|
/external/libcap/libcap/ |
D | cap_text.c | 28 static void setbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) in setbits() argument 31 for (n = blks; n--; ) { in setbits() 36 static void clrbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) in clrbits() argument 39 for (n = blks; n--; ) in clrbits() 54 static void forceall(__u32 *flat, __u32 value, unsigned blks) in forceall() argument 58 for (n = blks; n--; flat[n] = value); in forceall()
|
/external/u-boot/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()
|
/external/blktrace/btt/ |
D | output.c | 187 blks_avg = (double)dip->avgs.blks.total / d2c_n; in __output_dip_merge_ratio() 194 (unsigned long long)dip->avgs.blks.min, in __output_dip_merge_ratio() 196 (unsigned long long)dip->avgs.blks.max, in __output_dip_merge_ratio() 197 (unsigned long long)dip->avgs.blks.total); in __output_dip_merge_ratio() 206 (unsigned long long)dip->avgs.blks.min, in __output_dip_merge_ratio() 208 (unsigned long long)dip->avgs.blks.max, in __output_dip_merge_ratio() 209 (unsigned long long)dip->avgs.blks.total); in __output_dip_merge_ratio() 213 merge_data.blkmin = dip->avgs.blks.min; in __output_dip_merge_ratio() 214 merge_data.blkmax = dip->avgs.blks.max; in __output_dip_merge_ratio() 219 merge_data.total += dip->avgs.blks.total; in __output_dip_merge_ratio() [all …]
|
D | inlines.h | 279 avg_update(&all_avgs.blks, nblks); in update_blks() 280 avg_update(&iop->dip->avgs.blks, nblks); in update_blks() 282 avg_update(&iop->pip->avgs.blks, nblks); in update_blks()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | file.c | 339 long long blks; in read_blocklist() local 358 blks = read_indexes(inode->i_sb, index - res, &start, &offset); in read_blocklist() 359 if (blks < 0) in read_blocklist() 360 return (int) blks; in read_blocklist() 361 *block += blks; in read_blocklist()
|
/external/u-boot/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()
|
/external/u-boot/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()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_mballoc_alloc/ |
D | format | 30 print fmt: "dev %d,%d inode %lu orig %u/%d/%u@%u goal %u/%d/%u@%u result %u/%d/%u@%u blks %u grps %…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_mballoc_alloc/ |
D | format | 31 print fmt: "dev %d,%d inode %lu orig %u/%d/%u@%u goal %u/%d/%u@%u result %u/%d/%u@%u blks %u grps %…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_mballoc_alloc/ |
D | format | 30 print fmt: "dev %d,%d inode %lu orig %u/%d/%u@%u goal %u/%d/%u@%u result %u/%d/%u@%u blks %u grps %…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ext4/ext4_mballoc_alloc/ |
D | format | 30 print fmt: "dev %d,%d inode %lu orig %u/%d/%u@%u goal %u/%d/%u@%u result %u/%d/%u@%u blks %u grps %…
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 1347 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg) argument 1348 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \ argument
|
/external/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); \
|