Lines Matching refs:f_fglob
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->fg_flag & FNOCACHE) || vnode_isnocache(vp))
778 if ((fp->f_fglob->fg_flag & O_FSYNC) ||
783 uio->uio_offset = fp->f_fglob->fg_offset;
839 fp->f_fglob->fg_offset = uio->uio_offset;
841 fp->f_fglob->fg_offset += count - uio_resid(uio);
1067 struct vnode *vp = ((struct vnode *)fp->f_fglob->fg_data);
1090 *(int *)data = file_size - fp->f_fglob->fg_offset;
1132 error = VNOP_IOCTL(vp, com, data, fp->f_fglob->fg_flag, ctx);
1164 struct vnode * vp = (struct vnode *)fp->f_fglob->fg_data;
1169 context.vc_ucred = fp->f_fglob->fg_cred;
1180 error = VNOP_SELECT(vp, which, fp->f_fglob->fg_flag, wql, ctx);
1282 struct vnode *vp = (struct vnode *)fp->f_fglob->fg_data;
1289 error = mac_vnode_check_kqfilter(ctx, fp->f_fglob->fg_cred, kn, vp);