Home
last modified time | relevance | path

Searched refs:blkaddr (Results 1 – 20 of 20) sorted by relevance

/external/f2fs-tools/fsck/
Dsegment.c19 static void write_inode(u64 blkaddr, struct f2fs_node *inode) in write_inode() argument
24 ASSERT(dev_write_block(inode, blkaddr) >= 0); in write_inode()
32 u64 blkaddr, offset; in reserve_new_block() local
35 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
37 if (find_next_free_block(sbi, &blkaddr, 0, type)) { in reserve_new_block()
42 se = get_seg_entry(sbi, GET_SEGNO(sbi, blkaddr)); in reserve_new_block()
43 offset = OFFSET_IN_SEG(sbi, blkaddr); in reserve_new_block()
48 f2fs_set_main_bitmap(sbi, blkaddr, type); in reserve_new_block()
49 f2fs_set_sit_bitmap(sbi, blkaddr); in reserve_new_block()
60 *to = (block_t)blkaddr; in reserve_new_block()
[all …]
Ddir.c339 block_t blkaddr = NULL_ADDR; in make_empty_dir() local
363 reserve_new_block(sbi, &blkaddr, &sum, CURSEG_HOT_DATA); in make_empty_dir()
365 ret = dev_write_block(dent_blk, blkaddr); in make_empty_dir()
368 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr); in make_empty_dir()
379 block_t blkaddr = NULL_ADDR; in page_symlink() local
398 reserve_new_block(sbi, &blkaddr, &sum, CURSEG_WARM_DATA); in page_symlink()
400 ret = dev_write_block(data_blk, blkaddr); in page_symlink()
403 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr); in page_symlink()
582 block_t blkaddr = NULL_ADDR; in f2fs_create() local
634 reserve_new_block(sbi, &blkaddr, &sum, CURSEG_HOT_NODE); in f2fs_create()
[all …]
Dresize.c242 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 …]
Dxattr.c75 block_t blkaddr; in write_all_xattrs() local
90 blkaddr = new_node_block(sbi, &dn, XATTR_NODE_OFFSET); in write_all_xattrs()
97 blkaddr = ni.blk_addr; in write_all_xattrs()
109 ret = dev_write_block(xattr_node, blkaddr); in write_all_xattrs()
Dnode.c66 block_t blkaddr = NULL_ADDR; in new_node_block() local
89 reserve_new_block(sbi, &blkaddr, &sum, type); in new_node_block()
93 dn->nid, blkaddr); in new_node_block()
97 return blkaddr; in new_node_block()
Dfsck.c576 block_t blkaddr, int last) in check_extent_info() argument
598 if (blkaddr == NULL_ADDR || blkaddr == NEW_ADDR) in check_extent_info()
603 if (is_hole || (blkaddr != pgofs - ei->fofs + ei->blk)) in check_extent_info()
610 } else if (child->last_blk + 1 != blkaddr) { in check_extent_info()
614 child->last_blk = blkaddr; in check_extent_info()
621 if (blkaddr < ei->blk || blkaddr >= ei->blk + ei->len) in check_extent_info()
821 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs + idx]); in fsck_chk_inode_blk() local
824 check_extent_info(&child, blkaddr, 0); in fsck_chk_inode_blk()
826 if (blkaddr != 0) { in fsck_chk_inode_blk()
828 blkaddr, in fsck_chk_inode_blk()
[all …]
Ddump.c230 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()
Dmount.c1129 block_t blkaddr; in write_nat_bits() local
1148 blkaddr = (pgoff_t)(get_sb(nat_blkaddr) + in write_nat_bits()
1158 blkaddr += (1 << get_sb(log_blocks_per_seg)); in write_nat_bits()
1160 ret = dev_read_block(nat_block, blkaddr); in write_nat_bits()
1176 blkaddr = get_sb(segment0_blkaddr) + (set << in write_nat_bits()
1179 DBG(1, "\tWriting NAT bits pages, at offset 0x%08x\n", blkaddr); in write_nat_bits()
1182 if (dev_write_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in write_nat_bits()
1203 block_t blkaddr; in check_nat_bits() local
1212 blkaddr = get_sb(segment0_blkaddr) + (sbi->cur_cp << in check_nat_bits()
1216 if (dev_read_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in check_nat_bits()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h185 static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bes… in fancybasecolorsearch() argument
377 static void storedxtencodedblock( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[… in storedxtencodedblock() argument
479 *blkaddr++ = color1 & 0xff; in storedxtencodedblock()
480 *blkaddr++ = color1 >> 8; in storedxtencodedblock()
481 *blkaddr++ = color0 & 0xff; in storedxtencodedblock()
482 *blkaddr++ = color0 >> 8; in storedxtencodedblock()
483 *blkaddr++ = bits2 & 0xff; in storedxtencodedblock()
484 *blkaddr++ = ( bits2 >> 8) & 0xff; in storedxtencodedblock()
485 *blkaddr++ = ( bits2 >> 16) & 0xff; in storedxtencodedblock()
486 *blkaddr = bits2 >> 24; in storedxtencodedblock()
[all …]
Dtexcompress_rgtc.c84 GLubyte *blkaddr; in _mesa_texstore_red_rgtc1() local
106 blkaddr = dst; in _mesa_texstore_red_rgtc1()
116 util_format_unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_red_rgtc1()
118 blkaddr += 8; in _mesa_texstore_red_rgtc1()
120 blkaddr += dstRowDiff; in _mesa_texstore_red_rgtc1()
137 GLbyte *blkaddr; in _mesa_texstore_signed_red_rgtc1() local
159 blkaddr = dst; in _mesa_texstore_signed_red_rgtc1()
169 util_format_signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_red_rgtc1()
171 blkaddr += 8; in _mesa_texstore_signed_red_rgtc1()
173 blkaddr += dstRowDiff; in _mesa_texstore_signed_red_rgtc1()
[all …]
/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h61 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 …]
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],
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_readpage/
Dformat12 field:sector_t blkaddr; offset:32; size:8; signed:0;
15blkaddr = 0x%llx, bio_type = %s", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev)…
/external/virglrenderer/src/gallium/auxiliary/util/
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],
/external/u-boot/disk/
Dpart_iso.c54 unsigned long newblkaddr,blkaddr,lastsect,bootaddr; in part_get_info_iso_verb() local
64 blkaddr=PVD_OFFSET; in part_get_info_iso_verb()
83 for(i=blkaddr;i<lastsect;i++) { in part_get_info_iso_verb()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_submit_write_page/
Dformat15 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/
Dformat16 print fmt: "dev = (%d,%d), ino = %lu, file offset = %llu, start blkaddr = 0x%llx, len = 0x%llx byte…
/external/f2fs-tools/mkfs/
Df2fs_format.c1158 static int f2fs_write_default_quota(int qtype, unsigned int blkaddr, in f2fs_write_default_quota() argument
1216 if (dev_write_block(filebuf, blkaddr) || in f2fs_write_default_quota()
1217 dev_write_block(filebuf + F2FS_BLKSIZE, blkaddr + 1)) { in f2fs_write_default_quota()
1223 blkaddr, blkaddr + 1); in f2fs_write_default_quota()
/external/perfetto/protos/perfetto/trace/ftrace/
Df2fs.proto80 optional uint64 blkaddr = 4; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto1399 optional uint64 blkaddr = 4; field