/third_party/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 …]
|
/third_party/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],
|
/third_party/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 | node.c | 51 block_t blkaddr = NULL_ADDR; in f2fs_rebuild_qf_inode() local 68 ret = reserve_new_block(sbi, &blkaddr, &sum, CURSEG_HOT_NODE, 1); in f2fs_rebuild_qf_inode() 74 ret = write_inode(raw_node, blkaddr); in f2fs_rebuild_qf_inode() 79 update_nat_blkaddr(sbi, ino, ino, blkaddr); in f2fs_rebuild_qf_inode() 84 qtype, ino, blkaddr); in f2fs_rebuild_qf_inode() 117 block_t blkaddr = NULL_ADDR; in new_node_block() local 146 ret = reserve_new_block(sbi, &blkaddr, &sum, type, !ofs); in new_node_block() 154 dn->nid, blkaddr); in new_node_block() 158 return blkaddr; in new_node_block()
|
D | mount.c | 312 block_t blkaddr; in print_inode_info() local 318 blkaddr = le32_to_cpu(inode->i_addr[i + ofs]); in print_inode_info() 320 if (blkaddr == 0x0) in print_inode_info() 322 if (blkaddr == COMPRESS_ADDR) in print_inode_info() 324 else if (blkaddr == NEW_ADDR) in print_inode_info() 327 blkaddr, blkaddr); in print_inode_info() 587 block_t blkaddr, int type) in f2fs_is_valid_blkaddr() argument 593 if (blkaddr >= SIT_BLK_CNT(sbi)) in f2fs_is_valid_blkaddr() 597 if (blkaddr >= MAIN_BLKADDR(sbi) || in f2fs_is_valid_blkaddr() 598 blkaddr < SM_I(sbi)->ssa_blkaddr) in f2fs_is_valid_blkaddr() [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, 0); 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() 684 block_t blkaddr = NULL_ADDR; in f2fs_create() local 736 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 | dump.c | 250 static void dump_data_blk(struct f2fs_sb_info *sbi, __u64 offset, u32 blkaddr) in dump_data_blk() argument 256 ASSERT(blkaddr == NULL_ADDR); in dump_data_blk() 259 if (!is_valid_data_blkaddr(blkaddr)) { in dump_data_blk() 265 dump_extent.blk = blkaddr; in dump_data_blk() 267 } else if (dump_extent.blk + dump_extent.len == blkaddr) { in dump_data_blk() 271 dump_extent.blk = blkaddr; in dump_data_blk() 277 if (blkaddr == NULL_ADDR) in dump_data_blk() 281 if (blkaddr == NEW_ADDR || !IS_VALID_BLK_ADDR(sbi, blkaddr)) { in dump_data_blk() 286 ret = dev_read_block(buf, blkaddr); in dump_data_blk()
|
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 | fsck.c | 613 block_t blkaddr, int last) in check_extent_info() argument 635 if (blkaddr == NULL_ADDR || blkaddr == NEW_ADDR) in check_extent_info() 640 if (is_hole || (blkaddr != pgofs - ei->fofs + ei->blk)) in check_extent_info() 647 } else if (child->last_blk + 1 != blkaddr) { in check_extent_info() 651 child->last_blk = blkaddr; in check_extent_info() 658 if (blkaddr < ei->blk || blkaddr >= ei->blk + ei->len) in check_extent_info() 861 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk() local 863 if (blkaddr != 0) { in fsck_chk_inode_blk() 865 nid, blkaddr); in fsck_chk_inode_blk() 868 blkaddr); in fsck_chk_inode_blk() [all …]
|
D | f2fs.h | 495 block_t blkaddr; /* block address locating the last fsync */ member 534 static inline bool is_valid_data_blkaddr(block_t blkaddr) in is_valid_data_blkaddr() argument 536 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in is_valid_data_blkaddr() 537 blkaddr == COMPRESS_ADDR) in is_valid_data_blkaddr()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1297 static int f2fs_write_default_quota(int qtype, unsigned int blkaddr, in f2fs_write_default_quota() argument 1355 if (dev_write_block(filebuf, blkaddr) || in f2fs_write_default_quota() 1356 dev_write_block(filebuf + F2FS_BLKSIZE, blkaddr + 1)) { in f2fs_write_default_quota() 1362 blkaddr, blkaddr + 1); in f2fs_write_default_quota()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 596 int write_inode(struct f2fs_node *inode, u64 blkaddr) in write_inode() argument 601 return dev_write_block(inode, blkaddr); in write_inode()
|