Lines Matching defs:rpt
426 rio_path_t *rpt;
437 rpt = s_calloc(1, sizeof (rio_path_t), 0);
438 if (rpt == NULL) {
446 (void) snprintf(rpt->rpt_path, sizeof (rpt->rpt_path),
451 retval = rp->rcm_offline(rp->rcm_handle, rpt->rpt_path,
454 rpt->rpt_next = rp->rcm_rsrc_minors;
455 rp->rcm_rsrc_minors = rpt;
459 "for: %s\n", rpt->rpt_path);
465 "RCM_SUCCESS: %s\n", rpt->rpt_path);
468 "invalid value for: %s\n", rpt->rpt_path);
473 "RCM_NO_CONSTRAINT: %s\n", rpt->rpt_path);
483 rio_path_t *rpt;
498 rpt = s_calloc(1, sizeof (rio_path_t), 0);
499 if (rpt == NULL) {
509 free(rpt);
513 (void) strlcpy(rpt->rpt_path, path, sizeof (rpt->rpt_path));
520 free(rpt);
526 "returned: RCM_FAILURE: %s\n", rpt->rpt_path);
527 free(rpt);
531 "returned: RCM_SUCCESS: %s\n", rpt->rpt_path);
532 rpt->rpt_next = rp->rcm_cons_nodes;
533 rp->rcm_cons_nodes = rpt;
537 rp->rcm_retcode, rpt->rpt_path);
538 free(rpt);
542 "returned: RCM_NO_CONSTRAINT: %s\n", rpt->rpt_path);
543 free(rpt);