/external/u-boot/env/ |
D | sata.c | 35 uint blk_start, blk_cnt, n; in write_env() local 38 blk_cnt = ALIGN(size, sata->blksz) / sata->blksz; in write_env() 40 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env() 42 return (n == blk_cnt) ? 0 : -1; in write_env() 81 uint blk_start, blk_cnt, n; in read_env() local 84 blk_cnt = ALIGN(size, sata->blksz) / sata->blksz; in read_env() 86 n = blk_dread(sata, blk_start, blk_cnt, buffer); in read_env() 88 return (n == blk_cnt) ? 0 : -1; in read_env()
|
D | mmc.c | 188 uint blk_start, blk_cnt, n; in write_env() local 192 blk_cnt = ALIGN(size, mmc->write_bl_len) / mmc->write_bl_len; in write_env() 194 n = blk_dwrite(desc, blk_start, blk_cnt, (u_char *)buffer); in write_env() 196 return (n == blk_cnt) ? 0 : -1; in write_env() 250 uint blk_start, blk_cnt, n; in read_env() local 254 blk_cnt = ALIGN(size, mmc->read_bl_len) / mmc->read_bl_len; in read_env() 256 n = blk_dread(desc, blk_start, blk_cnt, (uchar *)buffer); in read_env() 258 return (n == blk_cnt) ? 0 : -1; in read_env()
|
/external/libhevc/encoder/ |
D | ihevce_recur_bracketing.c | 676 WORD32 blk_cnt = 0; in ihevce_bracketing_analysis() local 827 cu_pos_x = gau1_cu_pos_x[blk_cnt]; in ihevce_bracketing_analysis() 828 cu_pos_y = gau1_cu_pos_y[blk_cnt]; in ihevce_bracketing_analysis() 831 au1_best_32x32_modes[blk_cnt >> 4] = 255; in ihevce_bracketing_analysis() 835 ps_intra32_analyse = &ps_l0_ipe_out_ctb->as_intra32_analyse[blk_cnt >> 4]; in ihevce_bracketing_analysis() 839 ps_intra16_analyse = &ps_intra32_analyse->as_intra16_analyse[(blk_cnt & 0xF) >> 2]; in ihevce_bracketing_analysis() 850 ps_ed_blk_l2 = ps_ed_l2_ctb + (blk_cnt >> 2); in ihevce_bracketing_analysis() 852 pi4_intra_32_cost = &ps_l0_ipe_out_ctb->ai4_best32x32_intra_cost[blk_cnt >> 4]; in ihevce_bracketing_analysis() 872 pos_x_8x8 = gau1_cu_pos_x[blk_cnt]; in ihevce_bracketing_analysis() 873 pos_y_8x8 = gau1_cu_pos_y[blk_cnt]; in ihevce_bracketing_analysis() [all …]
|
/external/u-boot/drivers/mmc/ |
D | fsl_esdhc_spl.c | 24 uint blk_start, blk_cnt, err; in mmc_spl_load_image() local 38 blk_cnt = ALIGN(size, mmc->read_bl_len) / mmc->read_bl_len; in mmc_spl_load_image() 40 err = mmc->block_dev.block_read(&mmc->block_dev, blk_start, blk_cnt, in mmc_spl_load_image() 42 if (err != blk_cnt) { in mmc_spl_load_image() 57 uint blk_start, blk_cnt, err; in mmc_boot() local 129 blk_cnt = ALIGN(code_len, mmc->read_bl_len) / mmc->read_bl_len; in mmc_boot() 130 err = mmc->block_dev.block_read(&mmc->block_dev, blk_start, blk_cnt, in mmc_boot() 132 if (err != blk_cnt) { in mmc_boot()
|
D | dw_mmc.c | 50 unsigned int i = 0, flags, cnt, blk_cnt; in dwmci_prepare_data() local 54 blk_cnt = data->blocks; in dwmci_prepare_data() 64 if (blk_cnt <= 8) { in dwmci_prepare_data() 66 cnt = data->blocksize * blk_cnt; in dwmci_prepare_data() 73 if (blk_cnt <= 8) in dwmci_prepare_data() 75 blk_cnt -= 8; in dwmci_prepare_data()
|
/external/u-boot/common/ |
D | image-android.c | 154 long blk_cnt, blk_read = 0; in android_image_load() local 173 blk_cnt = (android_image_get_end(buf) - (ulong)buf + in android_image_load() 175 if (blk_cnt * part_info->blksz > max_size) { in android_image_load() 182 blk_cnt, load_address); in android_image_load() 184 blk_cnt, buf); in android_image_load() 193 blk_read, (blk_read == blk_cnt) ? "OK" : "ERROR"); in android_image_load() 194 if (blk_read != blk_cnt) in android_image_load()
|
/external/f2fs-tools/fsck/ |
D | fsck.c | 491 u32 x_nid, u32 *blk_cnt) in fsck_chk_xattr_blk() argument 510 *blk_cnt = *blk_cnt + 1; in fsck_chk_xattr_blk() 520 u32 *blk_cnt, struct child_info *child) in fsck_chk_node_blk() argument 534 fsck_chk_inode_blk(sbi, nid, ftype, node_blk, blk_cnt, &ni, child); in fsck_chk_node_blk() 542 blk_cnt, child, &ni); in fsck_chk_node_blk() 548 blk_cnt, child); in fsck_chk_node_blk() 554 blk_cnt, child); in fsck_chk_node_blk() 654 u32 *blk_cnt, struct node_info *ni, struct child_info *child_d) in fsck_chk_inode_blk() argument 715 le32_to_cpu(node_blk->i.i_xattr_nid), blk_cnt) && in fsck_chk_inode_blk() 779 node_blk->i.i_blocks = cpu_to_le64(*blk_cnt); in fsck_chk_inode_blk() [all …]
|
D | main.c | 579 u32 blk_cnt; in do_fsck() local 622 blk_cnt = 1; in do_fsck() 633 F2FS_FT_DIR, TYPE_INODE, &blk_cnt, NULL); in do_fsck()
|
/external/e2fsprogs/lib/ext2fs/ |
D | rw_bitmaps.c | 210 blk64_t blk_cnt; in read_bitmaps() local 275 blk_cnt = EXT2_GROUPS_TO_CLUSTERS(fs->super, in read_bitmaps() 277 while (block_bitmap && blk_cnt > 0) { in read_bitmaps() 283 if (cnt > blk_cnt) in read_bitmaps() 284 cnt = blk_cnt; in read_bitmaps() 290 blk_cnt -= cnt; in read_bitmaps()
|
/external/u-boot/fs/ubifs/ |
D | tnc.c | 1510 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys() 1528 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys() 1573 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys() 1574 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys() 1579 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys() 1583 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys() 1599 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys() 1600 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys() 1606 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys() 1610 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys() [all …]
|
D | ubifs.h | 1402 int blk_cnt; member
|
/external/u-boot/disk/ |
D | part_efi.c | 997 size_t count = 0, blk_cnt; in alloc_read_gpt_entries() local 1028 blk_cnt = BLOCK_CNT(count, dev_desc); in alloc_read_gpt_entries() 1029 if (blk_dread(dev_desc, blk, (lbaint_t)blk_cnt, pte) != blk_cnt) { in alloc_read_gpt_entries()
|
/external/u-boot/drivers/net/ |
D | cpsw.c | 128 u32 blk_cnt; member 145 u32 blk_cnt; member
|