Searched defs:minfd (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c110 int minfd, maxfd, modoff, error = 0; local
141 minfd = (uiop->uio_offset - 2*FDSDSIZE)/FDSDSIZE;
147 for (i = minfd; i < MIN(maxfd, nentries); i++) {
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c87 * fd_find(fip, minfd) finds the first available descriptor >= minfd.
88 * The most common case is open(2), in which minfd = 0, but we must also
89 * support fcntl(fd, F_DUPFD, minfd).
93 * allocated in its right subtree, including itself. Starting at minfd,
200 * fd_find(fip, minfd) finds the smallest available file descriptor >= minfd.
204 * (1) Find the leftmost subtree that contains a descriptor >= minfd.
205 * We start at the right subtree rooted at minfd. If this subtree is
206 * not full -- if fip->fi_list[minfd]
258 fd_find(uf_info_t *fip, int minfd) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c70 static int minfd; /* minimum file descriptor returned by dupfd(fd, 0) */ variable
377 if ((fd = minfd) < 256) {
379 if ((fd = minfd) < 256) {
387 minfd = fd;
405 if ((mfd = minfd) == 0)

Completed in 142 milliseconds