Lines Matching defs:Dnode
29 class Dnode : public fbl::RefCounted<Dnode> {
31 DISALLOW_COPY_ASSIGN_AND_MOVE(Dnode);
32 using NodeState = fbl::DoublyLinkedListNodeState<fbl::RefPtr<Dnode>>;
34 // ChildTraits is the state used for a Dnode to appear as the child
36 struct TypeChildTraits { static NodeState& node_state(Dnode& dn) { return dn.type_child_state_; }};
37 using ChildList = fbl::DoublyLinkedList<fbl::RefPtr<Dnode>, Dnode::TypeChildTraits>;
40 static fbl::RefPtr<Dnode> Create(fbl::StringPiece name, fbl::RefPtr<VnodeMemfs> vn);
46 static void AddChild(fbl::RefPtr<Dnode> parent, fbl::RefPtr<Dnode> child);
65 zx_status_t Lookup(fbl::StringPiece name, fbl::RefPtr<Dnode>* out) const;
82 bool IsSubdirectory(fbl::RefPtr<Dnode> dn) const;
93 Dnode(fbl::RefPtr<VnodeMemfs> vn, fbl::unique_ptr<char[]> name, uint32_t flags);
100 fbl::RefPtr<Dnode> parent_;