Lines Matching defs:visible
88 * Returns non-zero if given file is visible to given thread.
93 int visible;
100 visible = ((proc->p_flag & P_WEXIT) == 0);
101 if (visible)
102 visible = (p_cansee(td, proc) == 0);
103 if (visible && pn->pn_vis != NULL)
104 visible = pn_vis(td, proc, pn);
105 if (!visible)
444 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 */