Home
last modified time | relevance | path

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

/third_party/f2fs-tools/mkfs/
Df2fs_format.c1155 struct f2fs_node *raw_node; in f2fs_discard_obsolete_dnode() local
1165 raw_node = calloc(sizeof(struct f2fs_node), 1); in f2fs_discard_obsolete_dnode()
1166 if (raw_node == NULL) { in f2fs_discard_obsolete_dnode()
1182 if (dev_read_block(raw_node, offset)) { in f2fs_discard_obsolete_dnode()
1184 free(raw_node); in f2fs_discard_obsolete_dnode()
1188 next_blkaddr = le32_to_cpu(raw_node->footer.next_blkaddr); in f2fs_discard_obsolete_dnode()
1189 memset(raw_node, 0, F2FS_BLKSIZE); in f2fs_discard_obsolete_dnode()
1192 if (dev_write_block(raw_node, offset)) { in f2fs_discard_obsolete_dnode()
1194 free(raw_node); in f2fs_discard_obsolete_dnode()
1203 free(raw_node); in f2fs_discard_obsolete_dnode()
[all …]
/third_party/f2fs-tools/include/
Df2fs_fs.h1642 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()
[all …]
/third_party/f2fs-tools/fsck/
Dnode.c45 struct f2fs_node *raw_node = NULL; in f2fs_rebuild_qf_inode() local
55 raw_node = calloc(F2FS_BLKSIZE, 1); in f2fs_rebuild_qf_inode()
56 if (raw_node == NULL) { in f2fs_rebuild_qf_inode()
60 f2fs_init_qf_inode(sb, raw_node, qtype, time(NULL)); in f2fs_rebuild_qf_inode()
64 raw_node->footer.cp_ver = cpu_to_le64(cp_ver); in f2fs_rebuild_qf_inode()
74 ret = write_inode(raw_node, blkaddr); in f2fs_rebuild_qf_inode()
86 free(raw_node); in f2fs_rebuild_qf_inode()
/third_party/python/Lib/lib2to3/
Dpytree.py395 def convert(gr, raw_node): argument
403 type, value, context, children = raw_node