Lines Matching refs:root
43 struct dirent *root = malloc(sizeof(struct dirent));
44 assert(root != NULL);
46 root->next = NULL;
47 root->prevp = NULL;
48 root->parent = NULL;
49 root->name = "";
50 root->isdir = true;
51 root->islive = true;
52 root->u.dir.entries = NULL;
53 root->u.dir.nentries = 0;
54 root->refcount = 1;
56 return root;
333 // XXX: prevent deletion of root dir, even if empty