Home
last modified time | relevance | path

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

/external/f2fs-tools/mkfs/
Df2fs_format.c698 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode() local
702 raw_node = calloc(F2FS_BLKSIZE, 1); in f2fs_write_root_inode()
703 if (raw_node == NULL) { in f2fs_write_root_inode()
708 raw_node->footer.nid = super_block.root_ino; in f2fs_write_root_inode()
709 raw_node->footer.ino = super_block.root_ino; in f2fs_write_root_inode()
710 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_write_root_inode()
711 raw_node->footer.next_blkaddr = cpu_to_le32( in f2fs_write_root_inode()
716 raw_node->i.i_mode = cpu_to_le16(0x41ed); in f2fs_write_root_inode()
717 raw_node->i.i_links = cpu_to_le32(2); in f2fs_write_root_inode()
718 raw_node->i.i_uid = cpu_to_le32(getuid()); in f2fs_write_root_inode()
[all …]