/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sys_dep.c | 63 #define f_flag f_fglob->fg_flag 64 #define f_type f_fglob->fg_type 65 #define f_msgcount f_fglob->fg_msgcount 66 #define f_cred f_fglob->fg_cred 67 #define f_ops f_fglob->fg_ops 68 #define f_offset f_fglob->fg_offset 69 #define f_data f_fglob->fg_data
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_vnops.c | 704 vp = (struct vnode *)fp->f_fglob->fg_data; 718 if (fp->f_fglob->fg_flag & FNONBLOCK) 720 if ((fp->f_fglob->fg_flag & FNOCACHE) || vnode_isnocache(vp)) 722 if (fp->f_fglob->fg_flag & FNORDAHEAD) 726 uio->uio_offset = fp->f_fglob->fg_offset; 736 fp->f_fglob->fg_offset += count - uio_resid(uio); 758 vp = (struct vnode *)fp->f_fglob->fg_data; 772 if (vp->v_type == VREG && (fp->f_fglob->fg_flag & O_APPEND)) 774 if (fp->f_fglob->fg_flag & FNONBLOCK) 776 if ((fp->f_fglob [all...] |
H A D | vfs_fsevents.c | 1857 fsevent_handle *fseh = (struct fsevent_handle *)fp->f_fglob->fg_data; 1890 fsevent_handle *fseh = (struct fsevent_handle *)fp->f_fglob->fg_data; 2002 fsevent_handle *fseh = (struct fsevent_handle *)fp->f_fglob->fg_data; 2064 fsevent_handle *fseh = (struct fsevent_handle *)fp->f_fglob->fg_data; 2383 f->f_fglob->fg_flag = FREAD | FWRITE; 2384 f->f_fglob->fg_type = DTYPE_FSEVENTS; 2385 f->f_fglob->fg_ops = &fsevents_fops; 2386 f->f_fglob->fg_data = (caddr_t) fseh;
|
H A D | vfs_syscalls.c | 2169 fp->f_fglob->fg_flag = flags & (FMASK | O_EVTONLY); 2170 fp->f_fglob->fg_type = DTYPE_VNODE; 2171 fp->f_fglob->fg_ops = &vnops; 2172 fp->f_fglob->fg_data = (caddr_t)vp; 2186 error = mac_file_check_lock(vfs_context_ucred(ctx), fp->f_fglob, 2191 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) 2193 fp->f_fglob->fg_flag |= FHASLOCK; 2251 context.vc_ucred = fp->f_fglob->fg_cred; 2253 vn_close(vp, fp->f_fglob->fg_flag, &context); 3127 fp->f_fglob); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_descrip.c | 149 #define f_flag f_fglob->fg_flag 150 #define f_type f_fglob->fg_type 151 #define f_msgcount f_fglob->fg_msgcount 152 #define f_cred f_fglob->fg_cred 153 #define f_ops f_fglob->fg_ops 154 #define f_offset f_fglob->fg_offset 155 #define f_data f_fglob->fg_data 631 error = mac_file_check_fcntl(proc_ucred(p), fp->f_fglob, uap->cmd, 753 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, 855 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, [all...] |
H A D | sys_socket.c | 129 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) { 163 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) { 367 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) { 375 fp->f_fglob->fg_flag |= FNONBLOCK; 383 struct socket *so = (struct socket *)fp->f_fglob->fg_data; 508 struct socket *so = (struct socket *)fp->f_fglob->fg_data;
|
H A D | kern_mman.c | 324 if(fp->f_fglob->fg_type == DTYPE_PSXSHM) { 334 if (fp->f_fglob->fg_type != DTYPE_VNODE) { 338 vp = (struct vnode *)fp->f_fglob->fg_data; 380 if (fp->f_fglob->fg_flag & FREAD) 396 if ((fp->f_fglob->fg_flag & FWRITE) != 0) { 426 fp->f_fglob, prot, flags, &maxprot); 1105 if (fp->f_fglob->fg_type != DTYPE_VNODE){ 1110 if (!(fp->f_fglob->fg_flag & FREAD)) { 1115 vp = (struct vnode *)fp->f_fglob->fg_data;
|
H A D | posix_sem.c | 87 #define f_flag f_fglob->fg_flag 88 #define f_type f_fglob->fg_type 89 #define f_msgcount f_fglob->fg_msgcount 90 #define f_cred f_fglob->fg_cred 91 #define f_ops f_fglob->fg_ops 92 #define f_offset f_fglob->fg_offset 93 #define f_data f_fglob->fg_data 773 error = closef_locked(fp, fp->f_fglob, p); 1137 pnode = (struct psemnode *)fp->f_fglob->fg_data;
|
H A D | posix_shm.c | 87 #define f_flag f_fglob->fg_flag 88 #define f_type f_fglob->fg_type 89 #define f_msgcount f_fglob->fg_msgcount 90 #define f_cred f_fglob->fg_cred 91 #define f_ops f_fglob->fg_ops 92 #define f_offset f_fglob->fg_offset 93 #define f_data f_fglob->fg_data 1145 pnode = (struct pshmnode *)fp->f_fglob->fg_data;
|
H A D | uipc_usrreq.c | 99 #define f_msgcount f_fglob->fg_msgcount 100 #define f_cred f_fglob->fg_cred 101 #define f_ops f_fglob->fg_ops 102 #define f_offset f_fglob->fg_offset 103 #define f_data f_fglob->fg_data 1284 fp->f_fglob = fg; 1359 fg_insertuipc(fp->f_fglob); 1360 *rp++ = fp->f_fglob;
|
H A D | sys_pipe.c | 130 #define f_flag f_fglob->fg_flag 131 #define f_type f_fglob->fg_type 132 #define f_msgcount f_fglob->fg_msgcount 133 #define f_cred f_fglob->fg_cred 134 #define f_ops f_fglob->fg_ops 135 #define f_offset f_fglob->fg_offset 136 #define f_data f_fglob->fg_data
|
H A D | sys_generic.c | 159 #define f_flag f_fglob->fg_flag 160 #define f_type f_fglob->fg_type 161 #define f_msgcount f_fglob->fg_msgcount 162 #define f_cred f_fglob->fg_cred 163 #define f_ops f_fglob->fg_ops 164 #define f_offset f_fglob->fg_offset 165 #define f_data f_fglob->fg_data 289 vp = (struct vnode *)fp->f_fglob->fg_data; 446 context.vc_ucred = fp->f_fglob->fg_cred; 492 context.vc_ucred = fp->f_fglob [all...] |
H A D | kern_exec.c | 541 fp->f_fglob->fg_flag = FREAD; 542 fp->f_fglob->fg_type = DTYPE_VNODE; 543 fp->f_fglob->fg_ops = &vnops; 544 fp->f_fglob->fg_data = (caddr_t)imgp->ip_vp; 2717 fp->f_fglob->fg_flag = FREAD; 2718 fp->f_fglob->fg_type = DTYPE_VNODE; 2719 fp->f_fglob->fg_ops = &vnops; 2720 fp->f_fglob->fg_data = (caddr_t)dev_null;
|
H A D | kern_aio.c | 1843 if ( (fp->f_fglob->fg_flag & flag) == 0 ) { 1847 else if ( fp->f_fglob->fg_type != DTYPE_VNODE ) { 2048 if ( (fp->f_fglob->fg_flag & FREAD) == 0 ) { 2058 context.vc_ucred = fp->f_fglob->fg_cred; 2084 if ( (fp->f_fglob->fg_flag & FWRITE) == 0 ) { 2094 context.vc_ucred = fp->f_fglob->fg_cred; 2152 context.vc_ucred = fp->f_fglob->fg_cred;
|
H A D | kern_event.c | 368 #define f_flag f_fglob->fg_flag 369 #define f_type f_fglob->fg_type 370 #define f_msgcount f_fglob->fg_msgcount 371 #define f_cred f_fglob->fg_cred 372 #define f_ops f_fglob->fg_ops 373 #define f_offset f_fglob->fg_offset 374 #define f_data f_fglob->fg_data
|
H A D | proc_info.c | 317 pfd->proc_fdtype = fp->f_fglob->fg_type; 921 fproc->fi_openflags = fp->f_fglob->fg_flag; 923 fproc->fi_offset = fp->f_fglob->fg_offset; 924 fproc->fi_type = fp->f_fglob->fg_type; 925 if (fp->f_fglob->fg_count)
|
H A D | uipc_syscalls.c | 102 #define f_flag f_fglob->fg_flag 103 #define f_type f_fglob->fg_type 104 #define f_msgcount f_fglob->fg_msgcount 105 #define f_cred f_fglob->fg_cred 106 #define f_ops f_fglob->fg_ops 107 #define f_offset f_fglob->fg_offset 108 #define f_data f_fglob->fg_data 2070 context.vc_ucred = fp->f_fglob->fg_cred;
|
H A D | kern_audit.c | 2368 if (fp->f_fglob->fg_type == DTYPE_VNODE) { 2369 audit_arg_vnpath_withref((struct vnode *)fp->f_fglob->fg_data, ARG_VNODE1); 2373 if (fp->f_fglob->fg_type == DTYPE_SOCKET) { 2377 so = (struct socket *)fp->f_fglob->fg_data; 2631 audit_arg_vnpath_withref((struct vnode *)fp->f_fglob->fg_data, ARG_VNODE1);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/ |
H A D | fdesc_vnops.c | 376 switch (fp->f_fglob->fg_type) { 378 if((error = vnode_getwithref((struct vnode *) fp->f_fglob->fg_data)) != 0) { 381 if ((error = vnode_authorize((struct vnode *)fp->f_fglob->fg_data, 385 error = vnode_getattr((struct vnode *)fp->f_fglob->fg_data, vap, a_context); 395 (void)vnode_put((struct vnode *) fp->f_fglob->fg_data); 401 if (fp->f_fglob->fg_type == DTYPE_SOCKET) 402 error = soo_stat((struct socket *)fp->f_fglob->fg_data, (void *)&stb, 0); 405 error = pipe_stat((struct pipe *)fp->f_fglob->fg_data, (void *)&stb, 0); 408 if (fp->f_fglob->fg_type == DTYPE_SOCKET) 527 switch (fp->f_fglob [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 383 filetmp.f_fglob = &filefg; 385 filetmp.f_fglob->fg_data = (caddr_t)ap->a_vp->v_fifoinfo->fi_readsock; 391 filetmp.f_fglob->fg_data = (caddr_t)ap->a_vp->v_fifoinfo->fi_writesock; 407 filetmp.f_fglob = &filefg; 409 filetmp.f_fglob->fg_data = (caddr_t)ap->a_vp->v_fifoinfo->fi_readsock; 415 filetmp.f_fglob->fg_data = (caddr_t)ap->a_vp->v_fifoinfo->fi_writesock;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_syscalls.c | 574 fp->f_fglob->fg_flag = fmode & FMASK; 575 fp->f_fglob->fg_type = DTYPE_VNODE; 576 fp->f_fglob->fg_ops = &vnops; 577 fp->f_fglob->fg_data = (caddr_t)vp; 591 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) { 594 context.vc_ucred = fp->f_fglob->fg_cred; 596 vn_close(vp, fp->f_fglob->fg_flag, &context); 600 fp->f_fglob->fg_flag |= FHASLOCK;
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_vfs.c | 1361 if (fp->f_fglob == NULL) { 1366 switch (fp->f_fglob->fg_type) { 1368 fvp = (struct vnode *)fp->f_fglob->fg_data; 1375 so = (struct socket *)fp->f_fglob->fg_data; 1389 cpipe = (struct pipe *)fp->f_fglob->fg_data; 1404 mp, mp->mnt_mntlabel, fp->f_fglob, fp->f_fglob->fg_label,
|
H A D | mac_base.c | 1683 error = mac_file_check_get(my_cred, fp->f_fglob, elements, mac.m_buflen); 1692 switch (fp->f_fglob->fg_type) { 1696 vp = (struct vnode *)fp->f_fglob->fg_data; 1710 so = (struct socket *) fp->f_fglob->fg_data; 1873 error = mac_file_check_set(vfs_context_ucred(ctx), fp->f_fglob, buffer, mac.m_buflen); 1880 switch (fp->f_fglob->fg_type) { 1892 vp = (struct vnode *)fp->f_fglob->fg_data; 1907 so = (struct socket *) fp->f_fglob->fg_data;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 857 if (fp->f_fglob->fg_type != DTYPE_VNODE) { 862 fd, fp->f_fglob->fg_type)); 868 if (! (fp->f_fglob->fg_flag & FREAD)) { 878 error = vnode_getwithref((vnode_t) fp->f_fglob->fg_data); 886 vp = (struct vnode *) fp->f_fglob->fg_data;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | file_internal.h | 93 struct fileglob * f_fglob; member in struct:fileproc
|