Home | History | Annotate | Download | only in e2fsck

Lines Matching full:dnode

994 dnode_t *dnode_init(dnode_t *dnode, void *data)
996 dnode->data = data;
997 dnode->parent = NULL;
998 dnode->left = NULL;
999 dnode->right = NULL;
1000 return dnode;
1003 void dnode_destroy(dnode_t *dnode)
1005 assert (!dnode_is_in_a_dict(dnode));
1006 free(dnode);
1009 void *dnode_get(dnode_t *dnode)
1011 return dnode->data;
1014 const void *dnode_getkey(dnode_t *dnode)
1016 return dnode->key;
1020 void dnode_put(dnode_t *dnode, void *data)
1022 dnode->data = data;
1025 int dnode_is_in_a_dict(dnode_t *dnode)
1027 return (dnode->parent && dnode->left && dnode->right);