Lines Matching refs:newfd
1505 register int fd, savefd, newfd; in sh_iounsave() local
1506 for(newfd=fd=0; fd < shp->topfd; fd++) in sh_iounsave()
1509 filemap[newfd++] = filemap[fd]; in sh_iounsave()
1516 shp->topfd = newfd; in sh_iounsave()
1952 int newfd = integralof(data); in sftrack() local
1955 if(newfd<0) in sftrack()
1958 (*fdnotify)(sffileno(sp),flag==SF_CLOSING?-1:newfd); in sftrack()
2014 else if(flag==SF_CLOSING || (flag==SF_SETFD && newfd<=2)) in sftrack()
2287 int newfd, arg; in sh_fcntl() local
2292 newfd = fcntl(fd,op,arg); in sh_fcntl()
2293 if(newfd>=0) switch(op) in sh_fcntl()
2298 sh.fdstatus[newfd] = (sh.fdstatus[fd]&~IOCLEX); in sh_fcntl()
2300 (*fdnotify)(fd,newfd); in sh_fcntl()
2310 return(newfd); in sh_fcntl()