Lines Matching defs:lf
3066 struct flock lf;
3069 lf.l_whence = SEEK_SET;
3070 lf.l_start = 0;
3071 lf.l_len = 0;
3072 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
3074 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context);
3081 struct flock lf;
3084 lf.l_whence = SEEK_SET;
3085 lf.l_start = 0;
3086 lf.l_len = 0;
3087 lf.l_type = F_UNLCK;
3089 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_UNLCK, &lf, F_FLOCK, context);