Lines Matching refs:errstring
157 static void cfga_err(char **errstring, ...);
159 char *slot_name, char **errstring);
286 physpath2node(const char *physpath, char **errstring, hp_node_t *nodep) in physpath2node() argument
327 assert(errstring != NULL); in physpath2node()
328 *errstring = strdup(MSG_HOTPLUG_DISABLED); in physpath2node()
618 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_change_state() argument
629 if (errstring != NULL) in cfga_change_state()
630 *errstring = NULL; in cfga_change_state()
635 rv = physpath2node(ap_id, errstring, &node); in cfga_change_state()
665 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
671 cfga_err(errstring, CMD_SLOT_CONNECT, 0); in cfga_change_state()
679 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
691 pci_rcm_info_table(results, errstring); in cfga_change_state()
694 cfga_err(errstring, in cfga_change_state()
709 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
713 cfga_err(errstring, CMD_SLOT_CONFIGURE, 0); in cfga_change_state()
720 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
731 pci_rcm_info_table(results, errstring); in cfga_change_state()
734 cfga_err(errstring, in cfga_change_state()
746 cfga_err(errstring, CMD_SLOT_INSERT, 0); in cfga_change_state()
748 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
757 cfga_err(errstring, CMD_SLOT_REMOVE, 0); in cfga_change_state()
759 cfga_err(errstring, ERR_AP_ERR, 0); in cfga_change_state()
787 prt_led_mode(const char *ap_id, int repeat, char **errstring, in prt_led_mode() argument
812 rv = physpath2node(ap_id, errstring, &node); in prt_led_mode()
818 cfga_err(errstring, "malloc ", 0); in prt_led_mode()
825 errstring) != CFGA_OK) { in prt_led_mode()
882 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_private_func() argument
984 return (prt_led_mode(ap_id, repeat, errstring, in cfga_private_func()
994 rv = physpath2node(ap_id, errstring, &node); in cfga_private_func()
1009 struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) in cfga_test() argument
1012 if (errstring != NULL) in cfga_test()
1013 *errstring = NULL; in cfga_test()
1247 char **errstring) in fix_ap_name() argument
1276 cfga_err(errstring, "di_init ", 0); in fix_ap_name()
1381 int *nlist, const char *options, const char *listopts, char **errstring, in cfga_list_ext() argument
1400 if (errstring != NULL) in cfga_list_ext()
1401 *errstring = NULL; in cfga_list_ext()
1413 cfga_err(errstring, "malloc ", 0); in cfga_list_ext()
1420 rv = physpath2node(ap_id, errstring, &node); in cfga_list_ext()
1446 cfga_err(errstring, CMD_GETSTAT, ap_id, 0); in cfga_list_ext()
1462 cfga_err(errstring, CMD_GETSTAT, ap_id, 0); in cfga_list_ext()
1492 cfga_err(errstring, CMD_GETSTAT, ap_id, 0); in cfga_list_ext()
1520 hp_name(node), errstring); in cfga_list_ext()
1611 cfga_err(char **errstring, ...) in cfga_err() argument
1628 if (errstring == NULL) { in cfga_err()
1631 va_start(ap, errstring); in cfga_err()
1708 *errstring = p; in cfga_err()
1709 DBG(2, ("%s\n", *errstring)); in cfga_err()