Searched refs:nat_blk (Results 1 – 1 of 1) sorted by relevance
1447 struct f2fs_nat_block *nat_blk = NULL; in f2fs_update_nat_root() local1452 nat_blk = calloc(F2FS_BLKSIZE, 1); in f2fs_update_nat_root()1453 if(nat_blk == NULL) { in f2fs_update_nat_root()1462 nat_blk->entries[sb->qf_ino[qtype]].block_addr = in f2fs_update_nat_root()1466 nat_blk->entries[sb->qf_ino[qtype]].ino = sb->qf_ino[qtype]; in f2fs_update_nat_root()1471 nat_blk->entries[get_sb(root_ino)].block_addr = cpu_to_le32( in f2fs_update_nat_root()1474 nat_blk->entries[get_sb(root_ino)].ino = sb->root_ino; in f2fs_update_nat_root()1477 nat_blk->entries[get_sb(node_ino)].block_addr = cpu_to_le32(1); in f2fs_update_nat_root()1478 nat_blk->entries[get_sb(node_ino)].ino = sb->node_ino; in f2fs_update_nat_root()1481 nat_blk->entries[get_sb(meta_ino)].block_addr = cpu_to_le32(1); in f2fs_update_nat_root()[all …]