Lines Matching refs:fdes
65 fcntl(int fdes, int cmd, intptr_t arg) in fcntl() argument
104 if ((error = f_getfd_error(fdes, &flag)) == 0) in fcntl()
109 error = f_setfd_error(fdes, (int)arg); in fcntl()
114 if ((error = f_getfl(fdes, &flag)) == 0) { in fcntl()
124 if ((error = f_getfl(fdes, &flag)) == 0) { in fcntl()
132 if ((error = f_badfd(fdes, &fdres, (int)arg)) == 0) in fcntl()
141 if ((fp = getf(fdes)) == NULL) { in fcntl()
185 if (fdes == iarg) { in fcntl()
194 if (fdes == iarg) { in fcntl()
217 releasef(fdes); in fcntl()
823 releasef(fdes); in fcntl()