Lines Matching refs:nfp
370 struct file *headfp, *nfp = NULL;
400 error = falloc(td, &nfp, &fd, 0);
448 /* An extra reference on `nfp' has been held for us by falloc(). */
458 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops);
461 (void) fo_ioctl(nfp, FIONBIO, &tmp, td->td_ucred, td);
463 (void) fo_ioctl(nfp, FIOASYNC, &tmp, td->td_ucred, td);
500 fdclose(fdp, nfp, fd, td);
504 * a reference on nfp to the caller on success if they request it.
509 *fp = nfp;
510 nfp = NULL;
514 if (nfp != NULL)
515 fdrop(nfp, td);
2375 struct file *nfp = NULL;
2399 error = falloc(td, &nfp, &fd, 0);
2428 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops);
2441 fdclose(fdp, nfp, fd, td);
2448 if (nfp != NULL)
2449 fdrop(nfp, td);