Lines Matching refs:visible
84 * Returns non-zero if given file is visible to given thread.
89 int visible;
96 visible = ((proc->p_flag & P_WEXIT) == 0);
97 if (visible)
98 visible = (p_cansee(td, proc) == 0);
99 if (visible && pn->pn_vis != NULL)
100 visible = pn_vis(td, proc, pn);
101 if (!visible)
440 int error, i, namelen, visible;
466 /* check that parent directory is visible... */
551 visible = pfs_visible(curthread, pn, pid, false, NULL);
552 if (!visible) {
704 int visible;
733 visible = pfs_visible_proc(td, *pn, *p);
736 visible = pfs_visible_proc(td, *pn, proc);
738 visible = 1;
740 if (!visible)
795 /* check if the directory is visible to the caller */