Searched refs:p_fd (Results 1 - 20 of 20) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | filedesc.h | 144 (&(p)->p_fd->fd_ofiles[(fd)]) 146 (&(p)->p_fd->fd_ofileflags[(fd)])
|
H A D | proc_internal.h | 241 struct filedesc *p_fd; /* Ptr to open files structure. (PFDL) */ member in struct:proc
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_descrip.c | 294 p->p_fd->fd_ofiles[fd] = NULL; 295 p->p_fd->fd_ofileflags[fd] |= UF_RESERVED; 301 p->p_fd->fd_ofileflags[fd] |= (UF_RESERVED | UF_CLOSING); 308 p->p_fd->fd_ofiles[fd] = fp; 309 p->p_fd->fd_ofileflags[fd] &= ~UF_RESERVED; 310 if ((p->p_fd->fd_ofileflags[fd] & UF_RESVWAIT) == UF_RESVWAIT) { 311 p->p_fd->fd_ofileflags[fd] &= ~UF_RESVWAIT; 312 wakeup(&p->p_fd); 319 p->p_fd->fd_ofileflags[fd] |= UF_RESVWAIT; 320 msleep(&p->p_fd, [all...] |
H A D | proc_info.c | 324 numfds = p->p_fd->fd_nfiles; 347 for (n = 0; ((n < numfds) && (n < p->p_fd->fd_nfiles)); n++) { 348 if (((fp = p->p_fd->fd_ofiles[n]) != 0) 349 && ((p->p_fd->fd_ofileflags[n] & UF_RESERVED) == 0)) { 570 pbsd->pbi_nfiles = p->p_fd->fd_nfiles; 848 if (p->p_fd->fd_cdir) { 849 vncdirvp = p->p_fd->fd_cdir; 850 vncdirid = p->p_fd->fd_cdir->v_id; 852 if (p->p_fd->fd_rdir) { 853 vnrdirvp = p->p_fd [all...] |
H A D | bsd_init.c | 605 kernproc->p_fd = &filedesc0; 774 kernproc->p_fd->fd_cdir = NULL; 775 kernproc->p_fd->fd_rdir = NULL;
|
H A D | sys_generic.c | 1001 if (p->p_fd == NULL) { 1005 if (uap->nd > p->p_fd->fd_nfiles) 1006 uap->nd = p->p_fd->fd_nfiles; /* forgiving; slightly wrong */ 1307 * EIO Invalid p->p_fd field XXX Obsolete? 1315 struct filedesc *fdp = p->p_fd; 1332 * in Beaker1C ; verify that the p->p_fd is valid 1653 struct filedesc *fdp = p->p_fd; 1666 * in Beaker1C ; verify that the p->p_fd is valid 1743 struct filedesc *fdp = p->p_fd; 1757 * in Beaker1C ; verify that the p->p_fd i [all...] |
H A D | kern_resource.c | 518 fdp = p->p_fd; 543 fdp = p->p_fd;
|
H A D | kern_event.c | 1057 struct filedesc *fdp = p->p_fd; 1105 struct filedesc *fdp = p->p_fd; 1525 struct filedesc *fdp = p->p_fd; 2505 struct filedesc *fdp = p->p_fd; 2596 struct filedesc *fdp = p->p_fd;
|
H A D | kern_exec.c | 898 (void *) p->p_fd->fd_rdir, 1522 mode = ((mode &~ p->p_fd->fd_cmask) & ALLPERMS) & ~S_ISTXT; 3308 if (p->p_fd->fd_ofiles[i] != NULL)
|
H A D | kern_fork.c | 1263 child_proc->p_fd = fdcopy(parent_proc, parent_uthread->uu_cdir);
|
H A D | uipc_usrreq.c | 975 VATTR_SET(&va, va_mode, (ACCESSPERMS & ~p->p_fd->fd_cmask));
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_fdesc_support.c | 306 int numfiles = p->p_fd->fd_nfiles; 576 if (i >= p->p_fd->fd_nfiles)
|
/darwin-on-arm/xnu/bsd/vm/ |
H A D | vm_unix.c | 995 fdp = targetproc->p_fd; 1273 root_vp = p->p_fd->fd_rdir; 1363 (void *) p->p_fd->fd_rdir, 1498 if (p->p_fd->fd_rdir != NULL) {
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_tclass.c | 285 fdp = p->p_fd; 368 fdp = p->p_fd;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_cache.c | 220 if (vfs_context_proc(ctx)->p_fd) 221 proc_root_dir_vp = vfs_context_proc(ctx)->p_fd->fd_rdir;
|
H A D | vfs_syscalls.c | 1566 fdp = p->p_fd; 2640 struct filedesc *fdp = p->p_fd; 2764 struct filedesc *fdp = p->p_fd; 2863 struct filedesc *fdp = p->p_fd; 2968 struct filedesc *fdp = p->p_fd; 3181 struct filedesc *fdp = p->p_fd; 3229 struct filedesc *fdp = p->p_fd; 3277 struct filedesc *fdp = p->p_fd; 3309 VATTR_SET(&va, va_mode, (uap->mode & ALLPERMS) & ~p->p_fd->fd_cmask); 3482 VATTR_SET(&va, va_mode, (uap->mode & ALLPERMS) & ~p->p_fd [all...] |
H A D | kpi_vfs.c | 1317 if (proc != NULL && (proc->p_fd == NULL || (proc->p_lflag & P_LVFORK))) 1424 proc->p_fd != NULL) 1425 cwd = proc->p_fd->fd_cdir; 2194 if ( (vp = proc->p_fd->fd_rdir) ) {
|
H A D | vfs_lookup.c | 177 fdp = p->p_fd;
|
H A D | vfs_subr.c | 7122 VATTR_SET(vap, va_mode, ACCESSPERMS & ~vfs_context_proc(ctx)->p_fd->fd_cmask); 7123 KAUTH_DEBUG("ATTR - defaulting new file mode to %o from umask %o", vap->va_mode, vfs_context_proc(ctx)->p_fd->fd_cmask);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vfsops.c | 1220 fdp = procp->p_fd;
|
Completed in 227 milliseconds