Home
last modified time | relevance | path

Searched refs:blkaddr (Results 1 - 15 of 15) sorted by relevance

/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_s3tc_tmp.h188 static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[2], in fancybasecolorsearch() argument
380 static void storedxtencodedblock( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[2], 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 in storedxtencodedblock()
503 encodedxtcolorblockfaster( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLint numxpixels, GLint numypixels, GLuint type ) encodedxtcolorblockfaster() argument
558 writedxt5encodedalphablock( GLubyte *blkaddr, GLubyte alphabase1, GLubyte alphabase2, GLubyte alphaenc[16]) writedxt5encodedalphablock() argument
571 encodedxt5alpha(GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLint numxpixels, GLint numypixels) encodedxt5alpha() argument
916 GLubyte *blkaddr = dest; tx_compress_dxt1() local
947 GLubyte *blkaddr = dest; tx_compress_dxt3() local
985 GLubyte *blkaddr = dest; tx_compress_dxt5() local
[all...]
H A Dtexcompress_rgtc.c86 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 in _mesa_texstore_signed_red_rgtc1()
192 GLubyte *blkaddr; _mesa_texstore_rg_rgtc2() local
257 GLbyte *blkaddr; _mesa_texstore_signed_rg_rgtc2() local
[all...]
/third_party/f2fs-tools/fsck/
H A Dsegment.c28 u64 blkaddr, offset; in reserve_new_block() local
58 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
63 blkaddr = __end_block_addr(sbi); in reserve_new_block()
67 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
72 if (find_next_free_block(sbi, &blkaddr, left, type, false)) { in reserve_new_block()
77 se = get_seg_entry(sbi, GET_SEGNO(sbi, blkaddr)); in reserve_new_block()
78 offset = OFFSET_IN_SEG(sbi, blkaddr); in reserve_new_block()
88 f2fs_set_main_bitmap(sbi, blkaddr, type); in reserve_new_block()
89 f2fs_set_sit_bitmap(sbi, blkaddr); in reserve_new_block()
111 *to = (block_t)blkaddr; in reserve_new_block()
123 unsigned int blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); new_data_block() local
182 block_t blkaddr; f2fs_read() local
271 block_t blkaddr; f2fs_write_ex() local
494 u32 blkaddr, prev_blkaddr, cur_blk = 0, end_blk; update_largest_extent() local
[all...]
H A Dnode.c51 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()
H A Ddump.c187 snprintf(buf, BUF_SZ, "Note: dump.f2fs -b blkaddr = 0x%x + segno * " in ssa_dump()
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()
545 pgoff_t blkaddr; dump_node_scan_disk() local
[all...]
H A Dmount.c287 printf("i_ext: fofs:%x blkaddr:%x len:%x\n", in print_inode_info()
313 block_t blkaddr; in print_inode_info() local
319 blkaddr = le32_to_cpu(inode->i_addr[i + ofs]); in print_inode_info()
321 if (blkaddr == 0x0) in print_inode_info()
323 if (blkaddr == COMPRESS_ADDR) in print_inode_info()
325 else if (blkaddr == NEW_ADDR) in print_inode_info()
328 blkaddr, blkaddr); in print_inode_info()
652 block_t blkaddr, int type) in f2fs_is_valid_blkaddr()
658 if (blkaddr > in f2fs_is_valid_blkaddr()
651 f2fs_is_valid_blkaddr(struct f2fs_sb_info *sbi, block_t blkaddr, int type) f2fs_is_valid_blkaddr() argument
693 block_t blkaddr, start_blk = 0, len = 0; f2fs_ra_meta_pages() local
1626 block_t blkaddr; write_nat_bits() local
1700 block_t blkaddr; check_nat_bits() local
3441 block_t blkaddr; find_fsync_inode() local
3500 do_record_fsync_data(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk, block_t blkaddr) do_record_fsync_data() argument
3586 block_t blkaddr; traverse_dnodes() local
[all...]
H A Ddir.c343 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 in f2fs_create()
[all...]
H A Dxattr.c91 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()
H A Dresize.c244 block_t blkaddr; in migrate_ssa() local
250 blkaddr = new_sum_blkaddr; in migrate_ssa()
251 while (blkaddr < end_sum_blkaddr) { in migrate_ssa()
252 if (blkaddr < expand_sum_blkaddr) { in migrate_ssa()
253 move_ssa(sbi, offset++, blkaddr++); in migrate_ssa()
255 ret = dev_write_block(zero_block, blkaddr++); in migrate_ssa()
260 blkaddr = end_sum_blkaddr - 1; in migrate_ssa()
262 while (blkaddr >= new_sum_blkaddr) { in migrate_ssa()
263 if (blkaddr >= expand_sum_blkaddr) { in migrate_ssa()
264 ret = dev_write_block(zero_block, blkaddr in migrate_ssa()
[all...]
H A Dfsck.c613 block_t blkaddr, int last) in check_extent_info()
635 if (blkaddr == NULL_ADDR || blkaddr == NEW_ADDR) in check_extent_info()
639 /* unmatched blkaddr */ 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()
688 /* start with valid nid and blkaddr */
612 check_extent_info(struct child_info *child, block_t blkaddr, int last) check_extent_info() argument
867 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); fsck_chk_inode_blk() local
910 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); fsck_chk_inode_blk() local
945 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs + idx]); fsck_chk_inode_blk() local
1216 block_t blkaddr = le32_to_cpu(node_blk->dn.addr[idx]); fsck_chk_dnode_blk() local
[all...]
H A Df2fs.h499 block_t blkaddr; /* block address locating the last fsync */ member
537 static inline bool is_valid_data_blkaddr(block_t blkaddr) in is_valid_data_blkaddr() argument
539 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in is_valid_data_blkaddr()
540 blkaddr == COMPRESS_ADDR) in is_valid_data_blkaddr()
/third_party/mesa3d/src/util/
H A Dtexcompress_rgtc_tmp.h61 static void TAG(write_rgtc_encoded_channel)(TYPE *blkaddr, in write_rgtc_encoded_channel() argument
66 *blkaddr++ = alphabase1; in write_rgtc_encoded_channel()
67 *blkaddr++ = alphabase2; in write_rgtc_encoded_channel()
68 *blkaddr++ = alphaenc[0] | (alphaenc[1] << 3) | ((alphaenc[2] & 3) << 6); in write_rgtc_encoded_channel()
69 *blkaddr++ = (alphaenc[2] >> 2) | (alphaenc[3] << 1) | (alphaenc[4] << 4) | ((alphaenc[5] & 1) << 7); in write_rgtc_encoded_channel()
70 *blkaddr++ = (alphaenc[5] >> 1) | (alphaenc[6] << 2) | (alphaenc[7] << 5); in write_rgtc_encoded_channel()
71 *blkaddr++ = alphaenc[8] | (alphaenc[9] << 3) | ((alphaenc[10] & 3) << 6); in write_rgtc_encoded_channel()
72 *blkaddr++ = (alphaenc[10] >> 2) | (alphaenc[11] << 1) | (alphaenc[12] << 4) | ((alphaenc[13] & 1) << 7); in write_rgtc_encoded_channel()
73 *blkaddr++ = (alphaenc[13] >> 1) | (alphaenc[14] << 2) | (alphaenc[15] << 5); in write_rgtc_encoded_channel()
76 void TAG(encode_rgtc_ubyte)(TYPE *blkaddr, TYP argument
[all...]
H A Drgtc.h34 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/mkfs/
H A Df2fs_format.c284 MSG(0, "Info: zone aligned segment0 blkaddr: %u\n", in f2fs_prepare_super_block()
1301 static int f2fs_write_default_quota(int qtype, unsigned int blkaddr, in f2fs_write_default_quota() argument
1359 if (dev_write_block(filebuf, blkaddr) || in f2fs_write_default_quota()
1360 dev_write_block(filebuf + F2FS_BLKSIZE, blkaddr + 1)) { in f2fs_write_default_quota()
1366 blkaddr, blkaddr + 1); in f2fs_write_default_quota()
/third_party/f2fs-tools/lib/
H A Dlibf2fs.c593 int write_inode(struct f2fs_node *inode, u64 blkaddr) in write_inode() argument
598 return dev_write_block(inode, blkaddr); in write_inode()

Completed in 18 milliseconds