Home
last modified time | relevance | path

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

/external/f2fs-tools/mkfs/
Df2fs_format.c1161 struct f2fs_node *raw_node; in f2fs_discard_obsolete_dnode() local
1171 raw_node = calloc(sizeof(struct f2fs_node), 1); in f2fs_discard_obsolete_dnode()
1172 if (raw_node == NULL) { in f2fs_discard_obsolete_dnode()
1188 if (dev_read_block(raw_node, offset)) { in f2fs_discard_obsolete_dnode()
1190 free(raw_node); in f2fs_discard_obsolete_dnode()
1194 next_blkaddr = le32_to_cpu(raw_node->footer.next_blkaddr); in f2fs_discard_obsolete_dnode()
1195 memset(raw_node, 0, F2FS_BLKSIZE); in f2fs_discard_obsolete_dnode()
1198 if (dev_write_block(raw_node, offset)) { in f2fs_discard_obsolete_dnode()
1200 free(raw_node); in f2fs_discard_obsolete_dnode()
1209 free(raw_node); in f2fs_discard_obsolete_dnode()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h1694 struct f2fs_node *raw_node, int qtype, time_t mtime) in f2fs_init_qf_inode() argument
1696 raw_node->footer.nid = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1697 raw_node->footer.ino = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1698 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_init_qf_inode()
1699 raw_node->i.i_mode = cpu_to_le16(0x8180); in f2fs_init_qf_inode()
1700 raw_node->i.i_links = cpu_to_le32(1); in f2fs_init_qf_inode()
1701 raw_node->i.i_uid = cpu_to_le32(c.root_uid); in f2fs_init_qf_inode()
1702 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_init_qf_inode()
1704 raw_node->i.i_size = cpu_to_le64(1024 * 6); /* Hard coded */ in f2fs_init_qf_inode()
1705 raw_node->i.i_blocks = cpu_to_le64(1); in f2fs_init_qf_inode()
[all …]
/external/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()
/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor.cc272 const RawMemoryGraphNode& raw_node = *path_to_node.second; in CollectAllocatorNodes() local
281 auto node_iterator = global_graph->nodes_by_id().find(raw_node.id()); in CollectAllocatorNodes()
285 bool is_weak = raw_node.flags() & RawMemoryGraphNode::Flags::kWeak; in CollectAllocatorNodes()
286 node = process->CreateNode(raw_node.id(), path, is_weak); in CollectAllocatorNodes()
296 for (auto& entry : raw_node.entries()) { in CollectAllocatorNodes()
/external/perfetto/src/trace_processor/importers/proto/
Dmemory_tracker_snapshot_parser.cc152 std::unique_ptr<RawProcessMemoryNode> raw_node(new RawProcessMemoryNode( in ReadProtoSnapshot() local
154 raw_nodes.insert(std::make_pair(pid, std::move(raw_node))); in ReadProtoSnapshot()
/external/python/cpython3/Lib/lib2to3/
Dpytree.py395 def convert(gr, raw_node): argument
403 type, value, context, children = raw_node
/external/python/cpython2/Lib/lib2to3/
Dpytree.py429 def convert(gr, raw_node): argument
437 type, value, context, children = raw_node