Lines Matching refs:rc
231 int rc = DDI_FAILURE; in ncall_getinfo() local
237 rc = DDI_SUCCESS; in ncall_getinfo()
245 rc = DDI_SUCCESS; in ncall_getinfo()
252 return (rc); in ncall_getinfo()
271 int rc = 0; in ncall_register_module() local
288 rc = ENOMEM; in ncall_register_module()
292 return (rc); in ncall_register_module()
300 int rc = ESRCH; in ncall_unregister_module() local
307 rc = 0; in ncall_unregister_module()
314 return (rc); in ncall_unregister_module()
322 int rc = 0; in ncall_stop() local
326 while ((rc == 0) && ((mod = ncall_modules) != NULL)) { in ncall_stop()
329 rc = (*mod->module->ncall_stop)(); in ncall_stop()
336 return (rc); in ncall_stop()
346 int rc = 0; in ncallioctl() local
350 if ((rc = drv_priv(crp)) != 0) in ncallioctl()
351 return (rc); in ncallioctl()
357 rc = EALREADY; in ncallioctl()
371 rc = ncall_stop(); in ncallioctl()
376 rc = ENONET; in ncallioctl()
381 rc = EFAULT; in ncallioctl()
395 rc = ncallgetnodes(arg, mode, rvalp); in ncallioctl()
400 rc = ENONET; in ncallioctl()
405 rc = EFAULT; in ncallioctl()
410 rc = ncall_ping(node.nc_nodename, rvalp); in ncallioctl()
414 rc = EINVAL; in ncallioctl()
418 return (rc); in ncallioctl()
481 int rc = ENOLINK; in ncall_alloc() local
484 rc = (*ncall_modules->module->ncall_alloc)(host_id, in ncall_alloc()
487 return (rc); in ncall_alloc()
496 int rc = ENOLINK; in ncall_timedsend() local
501 rc = (*ncall_modules->module->ncall_timedsend)(ncall, flags, in ncall_timedsend()
506 return (rc); in ncall_timedsend()
515 int rc = ENOLINK; in ncall_timedsendnotify() local
520 rc = (*ncall_modules->module->ncall_timedsendnotify)(ncall, in ncall_timedsendnotify()
524 return (rc); in ncall_timedsendnotify()
532 int rc = ENOLINK; in ncall_broadcast() local
537 rc = (*ncall_modules->module->ncall_broadcast)(ncall, flags, in ncall_broadcast()
541 return (rc); in ncall_broadcast()
549 int rc = ENOLINK; in ncall_send() local
554 rc = (*ncall_modules->module->ncall_timedsend)(ncall, flags, in ncall_send()
559 return (rc); in ncall_send()
567 int rc = ENOLINK; in ncall_read_reply() local
572 rc = (*ncall_modules->module->ncall_read_reply)(ncall, n, ap); in ncall_read_reply()
576 return (rc); in ncall_read_reply()
599 int rc = ENOLINK; in ncall_put_data() local
602 rc = (*ncall_modules->module->ncall_put_data)(ncall, data, len); in ncall_put_data()
604 return (rc); in ncall_put_data()
611 int rc = ENOLINK; in ncall_get_data() local
614 rc = (*ncall_modules->module->ncall_get_data)(ncall, data, len); in ncall_get_data()
616 return (rc); in ncall_get_data()
623 int rc = -1; in ncall_sender() local
626 rc = (*ncall_modules->module->ncall_sender)(ncall); in ncall_sender()
628 return (rc); in ncall_sender()
665 int rc = ENOLINK; in ncall_ping() local
667 rc = (*ncall_modules->module->ncall_ping)(nodename, up); in ncall_ping()
668 return (rc); in ncall_ping()
674 int rc = 0; in ncall_maxnodes() local
677 rc = (*ncall_modules->module->ncall_maxnodes)(); in ncall_maxnodes()
679 return (rc); in ncall_maxnodes()
685 int rc = 0; in ncall_nextnode() local
688 rc = (*ncall_modules->module->ncall_nextnode)(vptr); in ncall_nextnode()
690 return (rc); in ncall_nextnode()
696 int rc = ENOLINK; in ncall_errcode() local
698 rc = (*ncall_modules->module->ncall_errcode)(ncall, result); in ncall_errcode()
700 return (rc); in ncall_errcode()
708 int rc; in ncallgetnodes() local
714 rc = 0; in ncallgetnodes()
759 rc = EFAULT; in ncallgetnodes()
767 return (rc); in ncallgetnodes()