Home
last modified time | relevance | path

Searched refs:fi_nfiles (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dfio.c263 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in fd_find()
309 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in flist_minsize()
325 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in flist_nalloc()
351 oldcnt = fip->fi_nfiles; in flist_grow()
414 fip->fi_nfiles = newcnt; in flist_grow()
590 if ((uint_t)fd >= fip->fi_nfiles) in getf_gen()
921 fip->fi_nfiles = 0; in closeall()
1034 nfiles = fip->fi_nfiles; in ufalloc_file()
1223 if ((uint_t)fd >= fip->fi_nfiles) in f_getfl()
1261 if ((uint_t)fd >= fip->fi_nfiles) in f_getfd_error()
[all …]
H A Dfork.c697 kmem_free(fip->fi_list, fip->fi_nfiles * sizeof (uf_entry_t)); in fork_fail()
/illumos-gate/usr/src/uts/common/sys/
H A Duser.h140 int fi_nfiles; /* number of entries in fi_list[] */ member
180 ASSERT((fd) < (fip)->fi_nfiles); \
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c122 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdread()
174 ((P_FINFO(curproc)->fi_nfiles + 2) * FDSDSIZE); in fdgetattr()
251 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdreaddir()
467 (MIN(P_FINFO(curproc)->fi_nfiles, fdno_ctl + 2)); in fdstatvfs()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c89 for (fd = 0; fd < fip->fi_nfiles; fd++) { in setup_note_header()
359 for (fd = 0; fd < fip->fi_nfiles; fd++) { in write_elfnotes()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c2572 int fi_nfiles; member
2598 if (p.p_user.u_finfo.fi_nfiles == 0) { in file_walk_init()
2603 fw->fw_nofiles = p.p_user.u_finfo.fi_nfiles; in file_walk_init()
3606 int fi_nfiles; member
3637 if (fdnum > p.p_user.u_finfo.fi_nfiles) { in fd()
3639 addr, p.p_user.u_finfo.fi_nfiles); in fd()
/illumos-gate/usr/src/uts/common/syscall/
H A Dutssys.c388 for (i = 0; i < fip->fi_nfiles; i++) { in dofusers()
H A Dpoll.c2769 for (i = 0; i < fip->fi_nfiles; i++) { in pollcheckphlist()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c3206 vap->va_size = (P_FINFO(p)->fi_nfiles + 4) * PRSDSIZE; in prgetattr()
3213 P_FINFO(p)->fi_nfiles) * PRSDSIZE; in prgetattr()
3229 vap->va_size = (P_FINFO(p)->fi_nfiles + 2) * PRSDSIZE; in prgetattr()
4511 idx = fip->fi_nfiles + 4; in pr_lookup_pathdir()
4568 if (fd < fip->fi_nfiles) { in pr_lookup_pathdir()
5614 fddirsize = fip->fi_nfiles; in pr_readdir_fdlist()
5717 fddirsize = fip->fi_nfiles; in pr_readdir_pathdir()
H A Dprsubr.c1564 if (fd >= fip->fi_nfiles) in pr_getf()
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c873 if ((uint_t)fd >= P_FINFO(curproc)->fi_nfiles) { in dpwrite()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c5392 fp = fd < finfo->fi_nfiles ? finfo->fi_list[fd].uf_file : NULL; in dtrace_dif_subr()