• Home
  • Raw
  • Download

Lines Matching refs:blk_addr

288 			le32_to_cpu(inode->i_ext.blk_addr),  in print_inode_info()
1938 block_t blk_addr = 0; in read_normal_summaries() local
1944 blk_addr = sum_blk_addr(sbi, NR_CURSEG_TYPE, type); in read_normal_summaries()
1946 blk_addr = sum_blk_addr(sbi, NR_CURSEG_DATA_TYPE, type); in read_normal_summaries()
1950 blk_addr = sum_blk_addr(sbi, NR_CURSEG_NODE_TYPE, in read_normal_summaries()
1953 blk_addr = GET_SUM_BLKADDR(sbi, segno); in read_normal_summaries()
1959 ret = dev_read_block(sum_blk, blk_addr); in read_normal_summaries()
1971 void update_sum_entry(struct f2fs_sb_info *sbi, block_t blk_addr, in update_sum_entry() argument
1983 segno = GET_SEGNO(sbi, blk_addr); in update_sum_entry()
1984 offset = OFFSET_IN_SEG(sbi, blk_addr); in update_sum_entry()
2077 block_t blk_addr = sit_i->sit_base_addr + offset; in current_sit_addr() local
2083 blk_addr += sit_i->sit_blocks; in current_sit_addr()
2085 return blk_addr; in current_sit_addr()
2091 block_t blk_addr = current_sit_addr(sbi, segno); in get_current_sit_page() local
2093 ASSERT(dev_read_block(sit_blk, blk_addr) >= 0); in get_current_sit_page()
2099 block_t blk_addr = current_sit_addr(sbi, segno); in rewrite_current_sit_page() local
2101 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page()
2243 int get_sum_entry(struct f2fs_sb_info *sbi, u32 blk_addr, in get_sum_entry() argument
2250 segno = GET_SEGNO(sbi, blk_addr); in get_sum_entry()
2251 offset = OFFSET_IN_SEG(sbi, blk_addr); in get_sum_entry()
2301 ret = dev_read_block(node_blk, ni.blk_addr); in update_data_blkaddr()
2310 ret = write_inode(node_blk, ni.blk_addr); in update_data_blkaddr()
2315 ret = dev_write_block(node_blk, ni.blk_addr); in update_data_blkaddr()
2324 ret = dev_read_block(node_blk, ni.blk_addr); in update_data_blkaddr()
2328 startaddr = le32_to_cpu(node_blk->i.i_ext.blk_addr); in update_data_blkaddr()
2334 ASSERT(write_inode(node_blk, ni.blk_addr) >= 0); in update_data_blkaddr()
2374 if (ni->blk_addr) in get_node_info()
3212 if (ni.blk_addr == 0x0) in build_nat_area_bitmap()
3216 " is invalid\n", ni.ino, ni.blk_addr); in build_nat_area_bitmap()
3230 "blk_addr[0x%x]\n", ni.blk_addr); in build_nat_area_bitmap()
3235 nid + i, ni.blk_addr, ni.ino); in build_nat_area_bitmap()
3263 if (ni.blk_addr != 0x0) { in build_nat_area_bitmap()
3266 " is invalid\n", ni.ino, ni.blk_addr); in build_nat_area_bitmap()