Lines Matching refs:newfd
413 struct chfs_dirent *newfd = NULL;
418 newfd = chfs_alloc_dirent(namelen + 1);
420 newfd->vno = ip->ino;
421 newfd->type = type;
422 newfd->nsize = namelen;
423 memcpy(newfd->name, name, namelen);
424 newfd->name[newfd->nsize] = 0;
425 // newfd->next = NULL;
439 parent, ip, newfd, ip->ino, ALLOC_NORMAL);
445 TAILQ_INSERT_TAIL(&parent->dents, newfd, fds);
449 parent->dents = newfd;
453 fd->next = newfd;