Lines Matching defs:indx
299 open_setfp(struct lwp *l, file_t *fp, struct vnode *vp, int indx, int flags)
326 fd_abort(l->l_proc, fp, indx);
333 fd_set_exclose(l, indx, true);
335 fd_set_foclose(l, indx, true);
1766 int indx, error;
1783 if ((error = fd_allocfile(&fp, &indx)) != 0) {
1793 fd_abort(p, fp, indx);
1798 fd_abort(p, fp, indx);
1799 error = fd_dupopen(dupfd, dupfd_move, flags, &indx);
1802 *fd = indx;
1804 error = open_setfp(l, fp, vp, indx, flags);
1808 *fd = indx;
1809 fd_affix(p, fp, indx);
2164 int indx, error;
2188 if ((error = fd_allocfile(&nfp, &indx)) != 0)
2228 if ((error = open_setfp(l, fp, vp, indx, flags)))
2232 *retval = indx;
2233 fd_affix(p, fp, indx);
2237 fd_abort(p, fp, indx);