Lines Matching refs:raw_node
1642 struct f2fs_node *raw_node, int qtype, time_t mtime) in f2fs_init_qf_inode() argument
1644 raw_node->footer.nid = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1645 raw_node->footer.ino = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1646 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_init_qf_inode()
1647 raw_node->i.i_mode = cpu_to_le16(0x8180); in f2fs_init_qf_inode()
1648 raw_node->i.i_links = cpu_to_le32(1); in f2fs_init_qf_inode()
1649 raw_node->i.i_uid = cpu_to_le32(c.root_uid); in f2fs_init_qf_inode()
1650 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_init_qf_inode()
1652 raw_node->i.i_size = cpu_to_le64(1024 * 6); /* Hard coded */ in f2fs_init_qf_inode()
1653 raw_node->i.i_blocks = cpu_to_le64(1); in f2fs_init_qf_inode()
1655 raw_node->i.i_atime = cpu_to_le32(mtime); in f2fs_init_qf_inode()
1656 raw_node->i.i_atime_nsec = 0; in f2fs_init_qf_inode()
1657 raw_node->i.i_ctime = cpu_to_le32(mtime); in f2fs_init_qf_inode()
1658 raw_node->i.i_ctime_nsec = 0; in f2fs_init_qf_inode()
1659 raw_node->i.i_mtime = cpu_to_le32(mtime); in f2fs_init_qf_inode()
1660 raw_node->i.i_mtime_nsec = 0; in f2fs_init_qf_inode()
1661 raw_node->i.i_generation = 0; in f2fs_init_qf_inode()
1662 raw_node->i.i_xattr_nid = 0; in f2fs_init_qf_inode()
1663 raw_node->i.i_flags = FS_IMMUTABLE_FL; in f2fs_init_qf_inode()
1664 raw_node->i.i_current_depth = cpu_to_le32(0); in f2fs_init_qf_inode()
1665 raw_node->i.i_dir_level = DEF_DIR_LEVEL; in f2fs_init_qf_inode()
1668 raw_node->i.i_inline = F2FS_EXTRA_ATTR; in f2fs_init_qf_inode()
1669 raw_node->i.i_extra_isize = cpu_to_le16(calc_extra_isize()); in f2fs_init_qf_inode()
1673 raw_node->i.i_projid = cpu_to_le32(F2FS_DEF_PROJID); in f2fs_init_qf_inode()
1675 raw_node->i.i_ext.fofs = 0; in f2fs_init_qf_inode()
1676 raw_node->i.i_ext.blk_addr = 0; in f2fs_init_qf_inode()
1677 raw_node->i.i_ext.len = 0; in f2fs_init_qf_inode()