Lines Matching refs:cur
221 fsnode *cur;
228 for (cur = root->next; cur != NULL; cur = cur->next) {
230 cur->root, cur->path, cur->name) >= sizeof(pbuf)) {
235 if ((cur->inode->flags & FI_ALLOCATED) == 0) {
236 cur->inode->flags |= FI_ALLOCATED;
237 if (cur != root) {
239 cur->inode->ino = fsopts->curinode;
240 cur->parent = parent;
244 if (cur->inode->flags & FI_WRITTEN) {
247 cur->inode->flags |= FI_WRITTEN;
249 if (cur->child) {
251 if ((de = msdosfs_mkdire(pbuf, dir, cur)) == NULL) {
255 if (msdos_populate_dir(pbuf, de, cur->child, cur,
261 } else if (!S_ISREG(cur->type)) {
262 warnx("skipping non-regular file %s/%s", cur->path,
263 cur->name);
266 if (msdosfs_mkfile(pbuf, dir, cur) == NULL) {