Lines Matching defs:lf
3918 struct flock lf;
3944 lf.l_whence = SEEK_SET;
3945 lf.l_start = 0;
3946 lf.l_len = 0;
3947 lf.l_type = F_UNLCK;
3951 (void) VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context);
4097 struct flock lf;
4110 lf.l_whence = SEEK_SET;
4111 lf.l_start = 0;
4112 lf.l_len = 0;
4114 lf.l_type = F_UNLCK;
4116 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_UNLCK, &lf, F_FLOCK, ctx);
4120 lf.l_type = F_WRLCK;
4122 lf.l_type = F_RDLCK;
4128 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, F_SETLK, &lf);
4134 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK, ctx);
4137 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK|F_WAIT, ctx);