Lines Matching defs:argp

280 nlm_do_notify1(nlm_sm_status *argp, void *res, struct svc_req *sr)
287 bcopy(&argp->priv, &sysid, sizeof (sysid));
290 int, argp->state);
296 nlm_host_notify_server(host, argp->state);
297 nlm_host_notify_client(host, argp->state);
307 nlm_do_notify2(nlm_sm_status *argp, void *res, struct svc_req *sr)
319 nlm_do_test(nlm4_testargs *argp, nlm4_testres *resp,
334 nlm_copy_netobj(&resp->cookie, &argp->cookie);
336 name = argp->alock.caller_name;
354 vp = nlm_fh_to_vp(&argp->alock.fh);
366 error = nlm_init_flock(&fl, &argp->alock, host, sr->rq_vers,
367 (argp->exclusive) ? F_WRLCK : F_RDLCK);
460 nlm_do_lock(nlm4_lockargs *argp, nlm4_res *resp, struct svc_req *sr,
476 nlm_copy_netobj(&resp->cookie, &argp->cookie);
478 name = argp->alock.caller_name;
492 struct nlm_host *, host, nlm4_lockargs *, argp);
504 if (res_cb != NULL || (grant_cb != NULL && argp->block == TRUE)) {
515 if (argp->reclaim == 0 && NLM_IN_GRACE(g)) {
523 if (nlm_host_get_state(host) != argp->state)
524 nlm_host_notify_server(host, argp->state);
530 nvp = nlm_fh_to_vhold(host, &argp->alock.fh);
537 error = nlm_init_flock(&fl, &argp->alock, host, sr->rq_vers,
538 (argp->exclusive) ? F_WRLCK : F_RDLCK);
570 if (argp->block == FALSE || grant_cb == NULL) {
648 nlm_host_monitor(g, host, argp->state);
660 nlm_block(argp, host, nvp, rpcp, &fl, grant_cb);
770 nlm_do_cancel(nlm4_cancargs *argp, nlm4_res *resp,
783 nlm_copy_netobj(&resp->cookie, &argp->cookie);
786 name = argp->alock.caller_name;
803 struct nlm_host *, host, nlm4_cancargs *, argp);
810 nvp = nlm_fh_to_vhold(host, &argp->alock.fh);
817 error = nlm_init_flock(&fl, &argp->alock, host, sr->rq_vers,
818 (argp->exclusive) ? F_WRLCK : F_RDLCK);
867 nlm_do_unlock(nlm4_unlockargs *argp, nlm4_res *resp,
880 nlm_copy_netobj(&resp->cookie, &argp->cookie);
884 name = argp->alock.caller_name;
906 struct nlm_host *, host, nlm4_unlockargs *, argp);
913 vp = nlm_fh_to_vp(&argp->alock.fh);
918 error = nlm_init_flock(&fl, &argp->alock, host, sr->rq_vers, F_UNLCK);
964 nlm_do_granted(nlm4_testargs *argp, nlm4_res *resp,
973 nlm_copy_netobj(&resp->cookie, &argp->cookie);
977 oh = (void *) argp->alock.oh.n_bytes;
996 error = nlm_slock_grant(g, host, &argp->alock);
1020 nlm_do_free_all(nlm4_notify *argp, void *res, struct svc_req *sr)
1039 if (strcasecmp(hostp->nh_name, argp->name) == 0) {
1066 nlm_host_notify_server(hostp, argp->state);
1125 nlm_do_share(nlm4_shareargs *argp, nlm4_shareres *resp, struct svc_req *sr)
1136 nlm_copy_netobj(&resp->cookie, &argp->cookie);
1138 name = argp->share.caller_name;
1150 struct nlm_host *, host, nlm4_shareargs *, argp);
1152 if (argp->reclaim == 0 && NLM_IN_GRACE(g)) {
1161 nvp = nlm_fh_to_vhold(host, &argp->share.fh);
1168 nlm_init_shrlock(&shr, &argp->share, host);
1193 nlm_do_unshare(nlm4_shareargs *argp, nlm4_shareres *resp, struct svc_req *sr)
1203 nlm_copy_netobj(&resp->cookie, &argp->cookie);
1216 struct nlm_host *, host, nlm4_shareargs *, argp);
1223 vp = nlm_fh_to_vp(&argp->share.fh);
1230 nlm_init_shrlock(&shr, &argp->share, host);