Lines Matching defs:flk0
292 /* Now flk0 is the zero-based lock request. */
321 struct flock64 flk0;
328 flk0 = *flkp;
329 flk0.l_pid = curproc->p_pid;
330 error = nlm_local_getlk(vp, &flk0, flags);
333 if (flk0.l_type != F_UNLCK) {
334 *flkp = flk0;
339 flk0 = *flkp;
340 flk0.l_pid = curproc->p_pid;
341 error = convoff(vp, &flk0, 0, (offset_t)offset);
345 error = nlm_call_test(&flk0, hostp, fhp, vers);
349 if (flk0.l_type == F_UNLCK) {
361 (void) convoff(vp, &flk0, flkp->l_whence, (offset_t)offset);
362 *flkp = flk0;
423 struct flock64 flk0;
425 flk0 = *flkp;
426 error = nlm_local_getlk(vp, &flk0, flags);
427 if (error != 0 && flk0.l_type != F_UNLCK) {