Lines Matching refs:lf
3308 struct flock lf;
3311 lf.l_whence = SEEK_SET;
3312 lf.l_start = 0;
3313 lf.l_len = 0;
3314 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
3316 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context, NULL);
3323 struct flock lf;
3326 lf.l_whence = SEEK_SET;
3327 lf.l_start = 0;
3328 lf.l_len = 0;
3329 lf.l_type = F_UNLCK;
3331 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_UNLCK, &lf, F_FLOCK, context, NULL);