Lines Matching refs:ncall
34 #include <sys/ncall/ncall.h>
1125 ncall_t *ncall;
1199 * phoenix: ncall the new value to the other node now.
1212 rc = ncall_alloc(ncall_mirror(ncall_self()), 0, 0, &ncall);
1218 rc = ncall_put_data(ncall, rval, sizeof (*rval));
1228 if (ncall_send(ncall, 0, NSC_SETVAL) == 0)
1229 (void) ncall_read_reply(ncall, 1, &rc);
1232 ncall_free(ncall);
1246 r_nsc_setval(ncall_t *ncall, int *ap)
1253 ncall_reply(ncall, ENOMEM);
1257 rc = ncall_get_data(ncall, rval, sizeof (*rval));
1259 ncall_reply(ncall, EFAULT);
1268 ncall_reply(ncall, rc);
1276 r_nsc_setval_all(ncall_t *ncall, int *ap)
1299 ncall_reply(ncall, ENOMEM);
1302 rc = ncall_get_data(ncall, in, sizeof (*in));
1304 ncall_reply(ncall, EFAULT);
1314 ncall_reply(ncall, ENOMEM);
1361 ncall_reply(ncall, rc);
1988 ncall_t *ncall;
2065 rc = ncall_alloc(ncall_mirror(ncall_self()), 0, 0, &ncall);
2069 rc = ncall_put_data(ncall, rval, sizeof (*rval));
2077 if (ncall_send(ncall, 0, NSC_SETVAL_ALL) == 0)
2078 (void) ncall_read_reply(ncall, 1, &rc);
2081 ncall_free(ncall);