Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dfio.c262 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in fd_find()
264 for (fd = minfd; (uint_t)fd < fip->fi_nfiles; fd |= fd + 1) { in fd_find()
286 ASSERT((uint_t)fd < fip->fi_nfiles); in fd_reserve()
308 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in flist_minsize()
310 for (fd = fip->fi_nfiles; fd != 0; fd >>= 1) in flist_minsize()
324 ASSERT((fip->fi_nfiles & (fip->fi_nfiles + 1)) == 0); in flist_nalloc()
326 for (fd = fip->fi_nfiles; fd != 0; fd >>= 1) in flist_nalloc()
350 oldcnt = fip->fi_nfiles; in flist_grow()
412 fip->fi_nfiles = newcnt; in flist_grow()
589 if ((uint_t)fd >= fip->fi_nfiles) in getf()
[all …]
H A Dfork.c687 kmem_free(fip->fi_list, fip->fi_nfiles * sizeof (uf_entry_t)); in fork_fail()
/titanic_41/usr/src/uts/common/sys/
H A Duser.h122 int fi_nfiles; /* number of entries in fi_list[] */ member
162 ASSERT((fd) < (fip)->fi_nfiles); \
/titanic_41/usr/src/uts/common/fs/fd/
H A Dfdops.c121 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdread()
173 ((P_FINFO(curproc)->fi_nfiles + 2) * FDSDSIZE); in fdgetattr()
250 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdreaddir()
465 (MIN(P_FINFO(curproc)->fi_nfiles, fdno_ctl + 2)); in fdstatvfs()
/titanic_41/usr/src/uts/common/exec/elf/
H A Delf_notes.c87 for (fd = 0; fd < fip->fi_nfiles; fd++) { in setup_note_header()
339 for (fd = 0; fd < fip->fi_nfiles; fd++) { in write_elfnotes()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvnops.c2944 vap->va_size = (P_FINFO(p)->fi_nfiles + 4) * PRSDSIZE; in prgetattr()
2951 P_FINFO(p)->fi_nfiles) * PRSDSIZE; in prgetattr()
2966 vap->va_size = (P_FINFO(p)->fi_nfiles + 2) * PRSDSIZE; in prgetattr()
4014 if (fd < fip->fi_nfiles) { in pr_lookup_fddir()
4138 idx = fip->fi_nfiles + 4; in pr_lookup_pathdir()
4195 if (fd < fip->fi_nfiles) { in pr_lookup_pathdir()
5229 fddirsize = fip->fi_nfiles; in pr_readdir_fddir()
5314 fddirsize = fip->fi_nfiles; in pr_readdir_pathdir()
/titanic_41/usr/src/uts/common/syscall/
H A Dutssys.c388 for (i = 0; i < fip->fi_nfiles; i++) { in dofusers()
H A Dpoll.c2525 for (i = 0; i < fip->fi_nfiles; i++) { in pollcheckphlist()
/titanic_41/usr/src/uts/common/io/
H A Ddevpoll.c576 if ((uint_t)fd >= P_FINFO(curproc)->fi_nfiles) in dpwrite()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c2355 if (p.p_user.u_finfo.fi_nfiles == 0) { in file_walk_init()
2360 fw->fw_nofiles = p.p_user.u_finfo.fi_nfiles; in file_walk_init()
3340 if (fdnum > p.p_user.u_finfo.fi_nfiles) { in fd()
3342 addr, p.p_user.u_finfo.fi_nfiles); in fd()
/titanic_41/usr/src/uts/common/dtrace/
H A Ddtrace.c5166 fp = fd < finfo->fi_nfiles ? finfo->fi_list[fd].uf_file : NULL; in dtrace_dif_subr()