Home
last modified time | relevance | path

Searched refs:fdno_ctl (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c113 rctl_qty_t fdno_ctl; in fdread() local
120 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdread()
122 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdread()
235 rctl_qty_t fdno_ctl; in fdreaddir() local
249 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdreaddir()
251 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdreaddir()
453 rctl_qty_t fdno_ctl; in fdstatvfs() local
456 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdstatvfs()
467 (MIN(P_FINFO(curproc)->fi_nfiles, fdno_ctl + 2)); in fdstatvfs()
/illumos-gate/usr/src/uts/common/syscall/
H A Drlimit.c231 rlim64_t fdno_ctl; in ulimit() local
234 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in ulimit()
236 ASSERT(fdno_ctl <= INT_MAX); in ulimit()
237 retval = (rlim_t)fdno_ctl; in ulimit()