F_SETLK
cmd = F_SETLK;
cmd = F_SETLK;
error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK, &lf, 0);
error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK, &lf, F_WAIT);
case F_SETLK:
error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_SETLK,
error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_SETLK,
case F_SETLK:
case F_SETLK:
error = VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &lf, 0);
error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK, &lf, type);
if ((error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK,
case F_SETLK: