Home | History | Annotate | Download | only in adb

Lines Matching full:fd_table

102 static fdevent **fd_table = 0;
276 if(fd_table[i] != 0) n = i;
302 /* Looks at fd_table[] for bad FDs and sets bit in fds.
311 fde = fd_table[i];
350 fde = fd_table[i];
361 D("%s fd_table[]->fd = {%s}\n", extra_msg, msg_buff);
411 fde = fd_table[i];
446 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max);
447 if(fd_table == 0) {
448 FATAL("could not expand fd_table to %d entries\n", fd_table_max);
450 memset(fd_table + oldmax, 0, sizeof(int) * (fd_table_max - oldmax));
453 fd_table[fde->fd] = fde;
462 if(fd_table[fde->fd] != fde) {
463 FATAL("fd_table out of sync [%d]\n", fde->fd);
466 fd_table[fde->fd] = 0;
524 FATAL("fd %d out of range for fd_table \n", fd);
526 fdevent *fde = fd_table[fd];
540 fdevent *subproc_fde = fd_table[subproc_fd];
542 D("subproc_fd %d cleared from fd_table\n", subproc_fd);
547 D("subproc_fd %d != fd_table[].fd %d\n", subproc_fd, subproc_fde->fd);