Searched refs:newfiles (Results 1 – 1 of 1) sorted by relevance
1584 struct fdnode *newfiles; in fdgrow_locked() local1595 newfiles = kmalloc(nf * sizeof(struct fdnode), M_FILEDESC, M_WAITOK); in fdgrow_locked()1604 kfree(newfiles, M_FILEDESC); in fdgrow_locked()1613 bcopy(fdp->fd_files, newfiles, fdp->fd_nfiles * sizeof(struct fdnode)); in fdgrow_locked()1614 bzero(&newfiles[fdp->fd_nfiles], extra * sizeof(struct fdnode)); in fdgrow_locked()1617 fdp->fd_files = newfiles; in fdgrow_locked()