Lines Matching refs:f_fglob
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);
3130 fp->f_fglob);
3143 offset += fp->f_fglob->fg_offset;
3170 fp->f_fglob->fg_offset = offset;
3171 *retval = fp->f_fglob->fg_offset;
4536 if (fp->f_fglob->fg_type == DTYPE_PSXSHM) {
4540 if (fp->f_fglob->fg_type != DTYPE_VNODE) {
4545 vp = (vnode_t)fp->f_fglob->fg_data;
4547 if ((fp->f_fglob->fg_flag & FWRITE) == 0) {
4561 fp->f_fglob->fg_cred, vp);
5636 if ((fp->f_fglob->fg_flag & FREAD) == 0) {
5643 error = mac_file_check_change_offset(vfs_context_ucred(&context), fp->f_fglob);
5667 loff = fp->f_fglob->fg_offset;
5673 fp->f_fglob->fg_offset = uio_offset(auio);
5676 fp->f_fglob->fg_offset = uio_offset(auio);
5697 fp->f_fglob->fg_data = (caddr_t) vp;
5698 fp->f_fglob->fg_offset = 0;
5949 if ((fp->f_fglob->fg_flag & FREAD) == 0) {
5958 fp->f_fglob);
5984 loff = fp->f_fglob->fg_offset;
6013 fp->f_fglob->fg_offset = uio_offset(auio); /* should be multiple of dirent, not variable */