Lines Matching refs:stat
88 static int nlm_map_status(nlm4_stats stat);
558 dst->stat.stat = (enum nlm4_stats) src->stat.stat;
570 enum clnt_stat stat;
577 stat = nlm_test_1(&args1, &res1, client, ext, timo);
579 if (stat == RPC_SUCCESS) {
581 res->stat.stat = (enum nlm4_stats) res1.stat.stat;
582 if (res1.stat.stat == nlm_denied)
584 &res->stat.nlm4_testrply_u.holder,
585 &res1.stat.nlm_testrply_u.holder);
588 return (stat);
601 enum clnt_stat stat;
611 stat = nlm_lock_1(&args1, &res1, client, ext, timo);
613 if (stat == RPC_SUCCESS) {
617 return (stat);
630 enum clnt_stat stat;
638 stat = nlm_cancel_1(&args1, &res1, client, ext, timo);
640 if (stat == RPC_SUCCESS) {
644 return (stat);
657 enum clnt_stat stat;
663 stat = nlm_unlock_1(&args1, &res1, client, ext, timo);
665 if (stat == RPC_SUCCESS) {
669 return (stat);
728 enum clnt_stat stat;
761 stat = nlm_lock_rpc(vers, &args, &res, client, ext, *timo);
765 if (stat != RPC_SUCCESS) {
780 if (block && res.stat.stat != nlm4_blocked)
783 if (res.stat.stat == nlm4_denied_grace_period) {
799 if (block && res.stat.stat == nlm4_blocked) {
836 stat = nlm_cancel_rpc(vers, &cancel,
841 if (stat != RPC_SUCCESS) {
855 } while (stat != RPC_SUCCESS);
862 switch (res.stat.stat) {
903 error = nlm_map_status(res.stat.stat);
927 enum clnt_stat stat;
947 stat = nlm_unlock_rpc(vers, &args, &res, client, ext, *timo);
951 if (stat != RPC_SUCCESS) {
964 if (res.stat.stat == nlm4_denied_grace_period) {
1002 enum clnt_stat stat;
1028 stat = nlm_test_rpc(vers, &args, &res, client, ext, *timo);
1032 if (stat != RPC_SUCCESS) {
1040 if (res.stat.stat == nlm4_denied_grace_period) {
1054 if (res.stat.stat == nlm4_denied) {
1056 &res.stat.nlm4_testrply_u.holder;
1077 nlm_map_status(nlm4_stats stat)
1079 switch (stat) {