Lines Matching defs:indx
298 open_setfp(struct lwp *l, file_t *fp, struct vnode *vp, int indx, int flags)
325 fd_abort(l->l_proc, fp, indx);
332 fd_set_exclose(l, indx, true);
334 fd_set_foclose(l, indx, true);
1765 int indx, error;
1782 if ((error = fd_allocfile(&fp, &indx)) != 0) {
1792 fd_abort(p, fp, indx);
1797 fd_abort(p, fp, indx);
1798 error = fd_dupopen(dupfd, dupfd_move, flags, &indx);
1801 *fd = indx;
1803 error = open_setfp(l, fp, vp, indx, flags);
1807 *fd = indx;
1808 fd_affix(p, fp, indx);
2163 int indx, error;
2187 if ((error = fd_allocfile(&nfp, &indx)) != 0)
2227 if ((error = open_setfp(l, fp, vp, indx, flags)))
2231 *retval = indx;
2232 fd_affix(p, fp, indx);
2236 fd_abort(p, fp, indx);