/external/f2fs-tools/fsck/ |
D | dump.c | 63 ret = dev_read_block(node_block, ni.blk_addr); in nat_dump() 65 if (ni.blk_addr != 0x0) { in nat_dump() 73 ni.blk_addr, pack); in nat_dump() 82 if (ni.blk_addr == 0) in nat_dump() 85 ret = dev_read_block(node_block, ni.blk_addr); in nat_dump() 94 ni.blk_addr, pack); in nat_dump() 263 dev_read_block(node_blk, ni.blk_addr); in dump_node_blk() 464 static bool is_sit_bitmap_set(struct f2fs_sb_info *sbi, u32 blk_addr) in is_sit_bitmap_set() argument 469 se = get_seg_entry(sbi, GET_SEGNO(sbi, blk_addr)); in is_sit_bitmap_set() 470 offset = OFFSET_IN_SEG(sbi, blk_addr); in is_sit_bitmap_set() [all …]
|
D | fsck.c | 145 u32 blk_addr) in is_valid_ssa_node_blk() argument 158 segno = GET_SEGNO(sbi, blk_addr); in is_valid_ssa_node_blk() 159 offset = OFFSET_IN_SEG(sbi, blk_addr); in is_valid_ssa_node_blk() 187 DBG(0, "target blk_addr [0x%x]\n", blk_addr); in is_valid_ssa_node_blk() 190 GET_SEGNO(sbi, blk_addr))); in is_valid_ssa_node_blk() 192 GET_SEGNO(sbi, blk_addr), in is_valid_ssa_node_blk() 193 OFFSET_IN_SEG(sbi, blk_addr)); in is_valid_ssa_node_blk() 201 segno, nid, blk_addr); in is_valid_ssa_node_blk() 222 u32 blk_addr) in is_valid_summary() argument 239 if (!IS_VALID_BLK_ADDR(sbi, ni.blk_addr)) in is_valid_summary() [all …]
|
D | f2fs.h | 119 u32 blk_addr; member 440 #define GET_SEGOFF_FROM_SEG0(sbi, blk_addr) \ argument 441 ((blk_addr) - SM_I(sbi)->seg0_blkaddr) 443 #define GET_SEGNO_FROM_SEG0(sbi, blk_addr) \ argument 444 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> sbi->log_blocks_per_seg) 446 #define GET_BLKOFF_FROM_SEG0(sbi, blk_addr) \ argument 447 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (sbi->blocks_per_seg - 1)) 543 static inline u64 BLKOFF_FROM_MAIN(struct f2fs_sb_info *sbi, u64 blk_addr) in BLKOFF_FROM_MAIN() argument 545 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN() 546 return blk_addr - SM_I(sbi)->main_blkaddr; in BLKOFF_FROM_MAIN() [all …]
|
D | segment.c | 149 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_quota_size() 181 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_read() 283 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_write_ex() 358 ASSERT(write_inode(inode, ni.blk_addr) >= 0); in f2fs_write_ex() 397 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_filesize_update() 403 ASSERT(write_inode(inode, ni.blk_addr) >= 0); in f2fs_filesize_update() 490 ret = dev_read_block(node_blk, ni.blk_addr); in f2fs_build_file() 505 ASSERT(write_inode(node_blk, ni.blk_addr) >= 0); in f2fs_build_file() 519 ASSERT(dev_read_block(node_blk, ni.blk_addr) >= 0); in f2fs_build_file() 527 ASSERT(write_inode(node_blk, ni.blk_addr) >= 0); in f2fs_build_file() [all …]
|
D | xattr.c | 54 ret = dev_read_block(txattr_addr + inline_size, ni.blk_addr); in read_all_xattrs() 113 blkaddr = ni.blk_addr; in write_all_xattrs() 116 ret = dev_read_block(xattr_node, ni.blk_addr); in write_all_xattrs() 166 ret = dev_read_block(inode, ni.blk_addr); in f2fs_setxattr() 243 ASSERT(write_inode(inode, ni.blk_addr) >= 0); in f2fs_setxattr()
|
D | mount.c | 287 le32_to_cpu(inode->i_ext.blk_addr), in print_inode_info() 1865 block_t blk_addr = 0; in read_normal_summaries() local 1871 blk_addr = sum_blk_addr(sbi, NR_CURSEG_TYPE, type); in read_normal_summaries() 1873 blk_addr = sum_blk_addr(sbi, NR_CURSEG_DATA_TYPE, type); in read_normal_summaries() 1877 blk_addr = sum_blk_addr(sbi, NR_CURSEG_NODE_TYPE, in read_normal_summaries() 1880 blk_addr = GET_SUM_BLKADDR(sbi, segno); in read_normal_summaries() 1886 ret = dev_read_block(sum_blk, blk_addr); in read_normal_summaries() 1898 void update_sum_entry(struct f2fs_sb_info *sbi, block_t blk_addr, in update_sum_entry() argument 1910 segno = GET_SEGNO(sbi, blk_addr); in update_sum_entry() 1911 offset = OFFSET_IN_SEG(sbi, blk_addr); in update_sum_entry() [all …]
|
D | resize.c | 401 block_t blk_addr = 0; in migrate_sit() local 425 blk_addr = get_newsb(sit_blkaddr) + pre_ofs; in migrate_sit() 426 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 428 DBG(1, "Write valid sit: %x\n", blk_addr); in migrate_sit() 439 blk_addr = get_newsb(sit_blkaddr) + ofs; in migrate_sit() 440 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 441 DBG(1, "Write valid sit: %x\n", blk_addr); in migrate_sit()
|
D | dir.c | 681 if (ni.blk_addr == NULL_ADDR) { in f2fs_create() 692 ret = dev_read_block(parent, ni.blk_addr); in f2fs_create() 696 ret = convert_inline_dentry(sbi, parent, ni.blk_addr); in f2fs_create() 720 if (hardlink_ni.blk_addr == NULL_ADDR) { in f2fs_create() 728 blkaddr = hardlink_ni.blk_addr; in f2fs_create() 741 ni.blk_addr, 1); in f2fs_create() 834 if (ni.blk_addr == NULL_ADDR) { in f2fs_find_path() 838 ret = dev_read_block(parent, ni.blk_addr); in f2fs_find_path()
|
D | node.c | 218 nblk[0] = ni.blk_addr; in get_dnode_of_data() 244 ret = dev_read_block(dn->node_blk, ni.blk_addr); in get_dnode_of_data() 247 nblk[i] = ni.blk_addr; in get_dnode_of_data()
|
D | main.c | 388 .blk_addr = -1, in f2fs_parse_options() 442 &dump_opt.blk_addr); in f2fs_parse_options() 445 &dump_opt.blk_addr); in f2fs_parse_options() 903 if (opt->blk_addr != -1) in do_dump() 904 dump_info_from_blkaddr(sbi, opt->blk_addr); in do_dump()
|
D | node.h | 42 ASSERT(dev_read_block(inode_blk, ni.blk_addr) >= 0); in ADDRS_PER_PAGE()
|
D | fsck.h | 250 int32_t blk_addr; member
|
/external/f2fs-tools/lib/ |
D | libf2fs_io.c | 52 __u64 blk_addr = *offset >> F2FS_BLKSIZE_BITS; in __get_device_fd() local 56 if (c.devices[i].start_blkaddr <= blk_addr && in __get_device_fd() 57 c.devices[i].end_blkaddr >= blk_addr) { in __get_device_fd() 581 int dev_write_block(void *buf, __u64 blk_addr) in dev_write_block() argument 583 return dev_write(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_write_block() 620 int dev_fill_block(void *buf, __u64 blk_addr) in dev_fill_block() argument 622 return dev_fill(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_fill_block() 625 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block() argument 627 return dev_read(buf, blk_addr << F2FS_BLKSIZE_BITS, F2FS_BLKSIZE); in dev_read_block() 630 int dev_reada_block(__u64 blk_addr) in dev_reada_block() argument [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_truncate_nodes_enter/ |
D | format | 12 field:block_t blk_addr; offset:28; size:4; signed:0; 14 …U << 20) - 1))), (unsigned long)REC->ino, (unsigned int)REC->nid, (unsigned long long)REC->blk_addr
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_truncate_node/ |
D | format | 12 field:block_t blk_addr; offset:28; size:4; signed:0; 14 …U << 20) - 1))), (unsigned long)REC->ino, (unsigned int)REC->nid, (unsigned long long)REC->blk_addr
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | f2fs.proto | 169 optional uint32 blk_addr = 4; field 175 optional uint32 blk_addr = 4; field
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 850 __le16 blk_addr; /* block index in current CP */ member 861 __le32 blk_addr; /* start block address of the extent */ member
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1256 raw_node->i.i_ext.blk_addr = 0; in f2fs_write_root_inode() 1423 raw_node->i.i_ext.blk_addr = 0; in f2fs_write_qf_inode()
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 4094 optional uint32 blk_addr = 4; field 4100 optional uint32 blk_addr = 4; field
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | PR25007-sdhci.ko.abi | 661 …<var-decl name='blk_addr' type-id='type-id-210' visibility='default' filepath='/ws/android/kernel/…
|