Lines Matching defs:root
98 chfs_makefs(const char *image, const char *dir, fsnode *root, fsinfo_t *fsopts)
104 assert(root != NULL);
108 chfs_validate(dir, root, fsopts);
119 root->inode->ino = CHFS_ROOTINO;
124 if (!chfs_populate_dir(dir, root, root, fsopts)) {
140 chfs_validate(const char* dir, fsnode *root, fsinfo_t *fsopts)
144 assert(root != NULL);
175 chfs_populate_dir(const char *dir, fsnode *root, fsnode *parent,
182 assert(root != NULL);
185 for (cur = root->next; cur != NULL; cur = cur->next) {
188 if (cur != root) {
207 for (cur = root; cur != NULL; cur = cur->next) {