Home | History | Annotate | Download | only in fs

Lines Matching defs:max_index

35 void MarkAll(const SharedFDSet& input, fd_set* dest, int* max_index) {
38 (*it)->Set(dest, max_index);
121 void FileInstance::Set(fd_set* dest, int* max_index) const {
125 if (fd_ >= *max_index) {
126 *max_index = fd_ + 1;
133 int max_index = 0;
137 MarkAll(*read_set, &readfds, &max_index);
142 MarkAll(*write_set, &writefds, &max_index);
147 MarkAll(*error_set, &errorfds, &max_index);
151 select(max_index, &readfds, &writefds, &errorfds, timeout));