Lines Matching refs:lf
3280 struct flock lf;
3283 lf.l_whence = SEEK_SET;
3284 lf.l_start = 0;
3285 lf.l_len = 0;
3286 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
3288 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context);
3295 struct flock lf;
3298 lf.l_whence = SEEK_SET;
3299 lf.l_start = 0;
3300 lf.l_len = 0;
3301 lf.l_type = F_UNLCK;
3303 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_UNLCK, &lf, F_FLOCK, context);