/external/erofs-utils/lib/ |
D | cache.c | 17 .blkaddr = NULL_ADDR, 87 erofs_blk_t blkaddr; in __erofs_battach() local 91 if (oob && list_next_entry(bb, list)->blkaddr != NULL_ADDR) in __erofs_battach() 94 blkaddr = bb->blkaddr; in __erofs_battach() 95 if (blkaddr != NULL_ADDR) { in __erofs_battach() 96 tailupdate = (tail_blkaddr == blkaddr + in __erofs_battach() 112 tail_blkaddr = blkaddr + BLK_ROUND_UP(bb->buffers.off); in __erofs_battach() 199 bb->blkaddr = NULL_ADDR; in erofs_balloc() 248 erofs_blk_t blkaddr; in __erofs_mapbh() local 250 if (bb->blkaddr == NULL_ADDR) in __erofs_mapbh() [all …]
|
D | compress.c | 33 erofs_blk_t blkaddr; /* pointing to the next blkaddr */ member 57 di.di_u.blkaddr = 0; in vle_write_indexes_final() 82 di.di_u.blkaddr = cpu_to_le32(ctx->blkaddr); in vle_write_indexes() 100 di.di_u.blkaddr = cpu_to_le32(ctx->blkaddr); in vle_write_indexes() 140 count, ctx->blkaddr); in write_uncompressed_block() 141 ret = blk_write(dst, ctx->blkaddr, 1); in write_uncompressed_block() 186 count, ctx->blkaddr); in vle_compress_one() 190 ctx->blkaddr, 1); in vle_compress_one() 192 ret = blk_write(dst, ctx->blkaddr, 1); in vle_compress_one() 203 ++ctx->blkaddr; in vle_compress_one() [all …]
|
D | inode.c | 155 inode->u.i_blkaddr = bh->block->blkaddr; in __allocate_inode_bh_data() 236 struct erofs_dentry *end, erofs_blk_t blkaddr) in write_dirblock() argument 241 return blk_write(buf, blkaddr, 1); in write_dirblock() 527 inode->u.i_blkaddr = bh->block->blkaddr; in erofs_prepare_tail_block()
|
D | zmap.c | 138 m->pblk = le32_to_cpu(di->di_u.blkaddr); in legacy_load_cluster_from_disk()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_s3tc_tmp.h | 188 static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bes… in fancybasecolorsearch() argument 380 static void storedxtencodedblock( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[… in storedxtencodedblock() argument 482 *blkaddr++ = color1 & 0xff; in storedxtencodedblock() 483 *blkaddr++ = color1 >> 8; in storedxtencodedblock() 484 *blkaddr++ = color0 & 0xff; in storedxtencodedblock() 485 *blkaddr++ = color0 >> 8; in storedxtencodedblock() 486 *blkaddr++ = bits2 & 0xff; in storedxtencodedblock() 487 *blkaddr++ = ( bits2 >> 8) & 0xff; in storedxtencodedblock() 488 *blkaddr++ = ( bits2 >> 16) & 0xff; in storedxtencodedblock() 489 *blkaddr = bits2 >> 24; in storedxtencodedblock() [all …]
|
D | texcompress_rgtc.c | 86 GLubyte *blkaddr; in _mesa_texstore_red_rgtc1() local 108 blkaddr = dst; in _mesa_texstore_red_rgtc1() 118 util_format_unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_red_rgtc1() 120 blkaddr += 8; in _mesa_texstore_red_rgtc1() 122 blkaddr += dstRowDiff; in _mesa_texstore_red_rgtc1() 139 GLbyte *blkaddr; in _mesa_texstore_signed_red_rgtc1() local 161 blkaddr = dst; in _mesa_texstore_signed_red_rgtc1() 171 util_format_signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_red_rgtc1() 173 blkaddr += 8; in _mesa_texstore_signed_red_rgtc1() 175 blkaddr += dstRowDiff; in _mesa_texstore_signed_red_rgtc1() [all …]
|
/external/mesa3d/src/util/ |
D | texcompress_rgtc_tmp.h | 61 static void TAG(write_rgtc_encoded_channel)(TYPE *blkaddr, in TAG() 66 *blkaddr++ = alphabase1; in TAG() 67 *blkaddr++ = alphabase2; in TAG() 68 *blkaddr++ = alphaenc[0] | (alphaenc[1] << 3) | ((alphaenc[2] & 3) << 6); in TAG() 69 …*blkaddr++ = (alphaenc[2] >> 2) | (alphaenc[3] << 1) | (alphaenc[4] << 4) | ((alphaenc[5] & 1) << … in TAG() 70 *blkaddr++ = (alphaenc[5] >> 1) | (alphaenc[6] << 2) | (alphaenc[7] << 5); in TAG() 71 *blkaddr++ = alphaenc[8] | (alphaenc[9] << 3) | ((alphaenc[10] & 3) << 6); in TAG() 72 …*blkaddr++ = (alphaenc[10] >> 2) | (alphaenc[11] << 1) | (alphaenc[12] << 4) | ((alphaenc[13] & 1)… in TAG() 73 *blkaddr++ = (alphaenc[13] >> 1) | (alphaenc[14] << 2) | (alphaenc[15] << 5); in TAG() 76 void TAG(encode_rgtc_ubyte)(TYPE *blkaddr, TYPE srccolors[4][4], in TAG() [all …]
|
D | rgtc.h | 34 void util_format_unsigned_encode_rgtc_ubyte(unsigned char *blkaddr, unsigned char srccolors[4][4], 37 void util_format_signed_encode_rgtc_ubyte(signed char *blkaddr, signed char srccolors[4][4],
|
/external/f2fs-tools/fsck/ |
D | segment.c | 28 u64 blkaddr, offset; in reserve_new_block() local 57 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block() 59 if (find_next_free_block(sbi, &blkaddr, 0, type, false)) { in reserve_new_block() 64 se = get_seg_entry(sbi, GET_SEGNO(sbi, blkaddr)); in reserve_new_block() 65 offset = OFFSET_IN_SEG(sbi, blkaddr); in reserve_new_block() 75 f2fs_set_main_bitmap(sbi, blkaddr, type); in reserve_new_block() 76 f2fs_set_sit_bitmap(sbi, blkaddr); in reserve_new_block() 98 *to = (block_t)blkaddr; in reserve_new_block() 110 unsigned int blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); in new_data_block() local 123 dn->data_blkaddr = blkaddr; in new_data_block() [all …]
|
D | mount.c | 311 block_t blkaddr; in print_inode_info() local 317 blkaddr = le32_to_cpu(inode->i_addr[i + ofs]); in print_inode_info() 319 if (blkaddr == 0x0) in print_inode_info() 321 if (blkaddr == COMPRESS_ADDR) in print_inode_info() 323 else if (blkaddr == NEW_ADDR) in print_inode_info() 326 blkaddr, blkaddr); in print_inode_info() 582 static inline bool is_valid_data_blkaddr(block_t blkaddr) in is_valid_data_blkaddr() argument 584 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in is_valid_data_blkaddr() 585 blkaddr == COMPRESS_ADDR) in is_valid_data_blkaddr() 591 block_t blkaddr, int type) in f2fs_is_valid_blkaddr() argument [all …]
|
D | dir.c | 343 block_t blkaddr = NULL_ADDR; in make_empty_dir() local 367 ret = reserve_new_block(sbi, &blkaddr, &sum, CURSEG_HOT_DATA, 0); in make_empty_dir() 370 ret = dev_write_block(dent_blk, blkaddr); in make_empty_dir() 373 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr); in make_empty_dir() 384 block_t blkaddr = NULL_ADDR; in page_symlink() local 403 ret = reserve_new_block(sbi, &blkaddr, &sum, CURSEG_WARM_DATA, 1); in page_symlink() 406 ret = dev_write_block(data_blk, blkaddr); in page_symlink() 409 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr); in page_symlink() 676 block_t blkaddr = NULL_ADDR; in f2fs_create() local 728 blkaddr = hardlink_ni.blk_addr; in f2fs_create() [all …]
|
D | resize.c | 242 block_t blkaddr; in migrate_ssa() local 248 blkaddr = new_sum_blkaddr; in migrate_ssa() 249 while (blkaddr < end_sum_blkaddr) { in migrate_ssa() 250 if (blkaddr < expand_sum_blkaddr) { in migrate_ssa() 251 move_ssa(sbi, offset++, blkaddr++); in migrate_ssa() 253 ret = dev_write_block(zero_block, blkaddr++); in migrate_ssa() 258 blkaddr = end_sum_blkaddr - 1; in migrate_ssa() 260 while (blkaddr >= new_sum_blkaddr) { in migrate_ssa() 261 if (blkaddr >= expand_sum_blkaddr) { in migrate_ssa() 262 ret = dev_write_block(zero_block, blkaddr--); in migrate_ssa() [all …]
|
D | xattr.c | 91 block_t blkaddr; in write_all_xattrs() local 106 blkaddr = new_node_block(sbi, &dn, XATTR_NODE_OFFSET); in write_all_xattrs() 113 blkaddr = ni.blk_addr; in write_all_xattrs() 126 ret = dev_write_block(xattr_node, blkaddr); in write_all_xattrs()
|
D | node.c | 70 block_t blkaddr = NULL_ADDR; in new_node_block() local 99 ret = reserve_new_block(sbi, &blkaddr, &sum, type, !ofs); in new_node_block() 107 dn->nid, blkaddr); in new_node_block() 111 return blkaddr; in new_node_block()
|
D | fsck.c | 592 block_t blkaddr, int last) in check_extent_info() argument 614 if (blkaddr == NULL_ADDR || blkaddr == NEW_ADDR) in check_extent_info() 619 if (is_hole || (blkaddr != pgofs - ei->fofs + ei->blk)) in check_extent_info() 626 } else if (child->last_blk + 1 != blkaddr) { in check_extent_info() 630 child->last_blk = blkaddr; in check_extent_info() 637 if (blkaddr < ei->blk || blkaddr >= ei->blk + ei->len) in check_extent_info() 816 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk() local 818 if (blkaddr != 0) { in fsck_chk_inode_blk() 820 nid, blkaddr); in fsck_chk_inode_blk() 823 blkaddr); in fsck_chk_inode_blk() [all …]
|
D | dump.c | 230 static void dump_data_blk(struct f2fs_sb_info *sbi, __u64 offset, u32 blkaddr) in dump_data_blk() argument 234 if (blkaddr == NULL_ADDR) in dump_data_blk() 238 if (blkaddr == NEW_ADDR || !IS_VALID_BLK_ADDR(sbi, blkaddr)) { in dump_data_blk() 242 ret = dev_read_block(buf, blkaddr); in dump_data_blk()
|
/external/erofs-utils/include/erofs/ |
D | cache.h | 43 erofs_blk_t blkaddr; member 75 if (bb->blkaddr == NULL_ADDR) in erofs_btell() 78 return blknr_to_addr(bb->blkaddr) + in erofs_btell()
|
D | io.h | 29 static inline int blk_write(const void *buf, erofs_blk_t blkaddr, in blk_write() argument 32 return dev_write(buf, blknr_to_addr(blkaddr), in blk_write()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_readpage/ |
D | format | 12 field:sector_t blkaddr; offset:32; size:8; signed:0; 15 …blkaddr = 0x%llx, bio_type = %s", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev)…
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | rgtc.h | 34 void util_format_unsigned_encode_rgtc_ubyte(unsigned char *blkaddr, unsigned char srccolors[4][4], 37 void util_format_signed_encode_rgtc_ubyte(signed char *blkaddr, signed char srccolors[4][4],
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_submit_write_page/ |
D | format | 15 print fmt: "dev = (%d,%d), ino = %lu, %s, index = %lu, blkaddr = 0x%llx", ((unsigned int) ((REC->de…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_get_data_block/ |
D | format | 16 print fmt: "dev = (%d,%d), ino = %lu, file offset = %llu, start blkaddr = 0x%llx, len = 0x%llx byte…
|
/external/erofs-utils/include/ |
D | erofs_fs.h | 271 __le32 blkaddr; member
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1277 static int f2fs_write_default_quota(int qtype, unsigned int blkaddr, in f2fs_write_default_quota() argument 1335 if (dev_write_block(filebuf, blkaddr) || in f2fs_write_default_quota() 1336 dev_write_block(filebuf + F2FS_BLKSIZE, blkaddr + 1)) { in f2fs_write_default_quota() 1342 blkaddr, blkaddr + 1); in f2fs_write_default_quota()
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | f2fs.proto | 79 optional uint64 blkaddr = 4; field
|