Home | History | Annotate | Download | only in adb

Lines Matching refs:fd_table_max

1276 static int       fd_table_max = 0;
1754 if(fd >= fd_table_max) {
1755 int oldmax = fd_table_max;
1759 if(fd_table_max == 0) {
1761 fd_table_max = 256;
1763 while(fd_table_max <= fd) {
1764 fd_table_max *= 2;
1766 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max);
1768 FATAL("could not expand fd_table to %d entries\n", fd_table_max);
1770 fd_table_max - oldmax));
1780 if((fd < 0) || (fd >= fd_table_max)) {