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;
462 /* check that parent directory is visible... */
547 visible = pfs_visible(curthread, pn, pid, false, NULL);
548 if (!visible) {
700 int visible;
729 visible = pfs_visible_proc(td, *pn, *p);
732 visible = pfs_visible_proc(td, *pn, proc);
734 visible = 1;
736 if (!visible)
791 /* check if the directory is visible to the caller */