Searched defs:errstring (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_util.c53 char **errstring,
65 if ((errstring == NULL) || (*errstring != NULL))
80 *errstring = ebuf;
52 __fmt_errstring( char **errstring, size_t extra_length_hint, const char *fmt, ...) argument
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c63 char **errstring,
69 if (errstring != NULL) {
70 *errstring = NULL;
82 cfga_err(errstring, 0, ERRARG_OPT_INVAL, options, 0);
86 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
96 errstring);
99 errstring);
114 char **errstring,
121 if (errstring != NULL)
122 *errstring
57 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
108 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
162 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
182 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
H A Dcfga_rcm.c39 scsi_rcm_offline(char **rsrclist, char **errstring, cfga_flags_t flags) argument
50 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
60 cfga_err(errstring, 0, ERRARG_RCM_CLIENT_OFFLINE, 0);
62 cfga_err(errstring, 0, ERRARG_RCM_OFFLINE, 0);
65 (void) scsi_rcm_info_table(rinfo, errstring);
84 scsi_rcm_online(char **rsrclist, char **errstring, cfga_flags_t flags) argument
93 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
99 cfga_err(errstring, 0, ERRARG_RCM_ONLINE, 0);
101 (void) scsi_rcm_info_table(rinfo, errstring);
117 scsi_rcm_remove(char **rsrclist, char **errstring, cfga_flags_ argument
150 scsi_rcm_suspend(char **rsrclist, char **errstring, cfga_flags_t flags, int pflag) argument
197 scsi_rcm_resume(char **rsrclist, char **errstring, cfga_flags_t flags, int pflag) argument
235 scsi_rcm_init(uint_t rcm_flag, char **errstring, rcm_handle_t **hdlp) argument
[all...]
H A Dcfga_list.c95 char **errstring)
112 cfga_err(errstring, l_errno, ERR_LIST, 0);
148 cfga_err(errstring, EINVAL, ERR_LIST, 0);
161 cfga_err(errstring, larg.l_errno, ERR_LIST, 0);
227 cfga_err(errstring, larg.l_errno, ERR_LIST, 0);
237 cfga_err(errstring, 0, ERR_LIST, 0);
881 char **errstring)
900 cfga_err(errstring, errno, ERR_LIST, 0);
90 do_list( apid_t *apidp, scfga_cmd_t cmd, ldata_list_t **llpp, int *nelemp, char **errstring) argument
876 list_ext_postprocess( ldata_list_t **llpp, int nelem, cfga_list_data_t **ap_id_list, int *nlistp, char **errstring) argument
H A Dcfga_ctl.c44 prompt_t *pt, cfga_flags_t flags, int quiesce, char **errstring);
66 char **errstring)
84 cfga_err(errstring, 0, ERR_NOT_BUSAPID, 0);
91 cfga_err(errstring, l_errno, ERR_BUS_GETSTATE, 0);
111 cfga_err(errstring, 0, ERR_CTRLR_CRIT, 0);
148 cfga_err(errstring, 0,
172 errstring, flags, 1)) != SCFGA_OK) {
177 errstring, flags)) != SCFGA_OK) {
192 cfga_err(errstring, l_errno, errid, 0);
202 errstring,
61 bus_change_state( cfga_cmd_t state_change_cmd, apid_t *apidp, struct cfga_confirm *confp, cfga_flags_t flags, char **errstring) argument
249 dev_change_state( cfga_cmd_t state_change_cmd, apid_t *apidp, cfga_flags_t flags, char **errstring) argument
376 dev_remove( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
487 dev_insert( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
541 dev_replace( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
630 dev_led( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
653 reset_common( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
868 suspend_in_rcm( apid_t *apidp, char ***suspend_list_ptr, char **errstring, cfga_flags_t flags) argument
926 resume_in_rcm( apid_t *apidp, char **suspend_list, char **errstring, cfga_flags_t flags) argument
958 bus_quiesce(apid_t *apidp, prompt_t *pt, char **errstring, cfga_flags_t flags) argument
1036 create_lock(int *fdp, struct cfga_msg *msgp, char **errstring) argument
1108 syslock(int fd, char **errstring) argument
1289 dev_hotplug( apid_t *apidp, prompt_t *pt, cfga_flags_t flags, int do_quiesce, char **errstring) argument
[all...]
H A Dcfga_utils.c331 apidt_create(const char *ap_id, apid_t *apidp, char **errstring) argument
340 cfga_err(errstring, l_errno, ERR_OP_FAILED, 0);
350 cfga_err(errstring, errno, ERR_OP_FAILED, 0);
374 cfga_err(errstring, l_errno, ERR_OP_FAILED, 0);
515 char **errstring)
532 prp, flags, errstring));
536 cfga_err(errstring, 0, ERRARG_HWCMD_INVAL, func, 0);
564 * a corresponding error string which is returned via the errstring argument.
569 cfga_err(char **errstring, int l_errno, ...) argument
574 if (errstring
510 invoke_cmd( const char *func, apid_t *apidtp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
773 path_apid_state_change( apid_t *apidp, scfga_cmd_t cmd, cfga_flags_t flags, char **errstring, int *l_errnop, msgid_t errid) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c54 sata_rcm_offline(const char *rsrc, char **errstring, char *rsrc_fixed, argument
62 if ((ret = sata_rcm_init(rsrc, flags, errstring, &rflags)) !=
71 (void) sata_rcm_info_table(rinfo, errstring);
77 (void) sata_rcm_online(rsrc, errstring,
91 sata_rcm_online(const char *rsrc, char **errstring, char *rsrc_fixed, argument
97 if ((ret = sata_rcm_init(rsrc, flags, errstring, NULL)) !=
105 (void) sata_rcm_info_table(rinfo, errstring);
119 sata_rcm_remove(const char *rsrc, char **errstring, char *rsrc_fixed, argument
125 if ((ret = sata_rcm_init(rsrc, flags, errstring, NULL)) !=
134 (void) sata_rcm_info_table(rinfo, errstring);
150 sata_rcm_init(const char *rsrc, cfga_flags_t flags, char **errstring, uint_t *rflags) argument
[all...]
H A Dcfga_sata.c224 verify_params(const char *ap_id, const char *options, char **errstring);
447 * memory buffer, and points *errstring to it.
458 char **errstring,
463 if (errstring == NULL) {
486 set_msg(errstring, ERR_STR(rv), NULL);
491 set_msg(errstring, ERR_STR(rv), NULL);
492 set_msg(errstring, "\n",
494 set_msg(errstring, sata_help[HELP_RESET_PORT], NULL);
495 set_msg(errstring, sata_help[HELP_RESET_DEVICE], NULL);
496 set_msg(errstring, sata_hel
457 sata_err_msg( char **errstring, cfga_sata_ret_t rv, const char *ap_id, int l_errno) argument
563 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
915 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1126 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1411 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
1814 verify_params( const char *ap_id, const char *options, char **errstring) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c47 char **errstring,
60 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL)
106 char **errstring,
117 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL)
140 char **errstring,
159 if ((a = apd_alloc(ap_id, flags, errstring, msgp, NULL)) == NULL)
178 char **errstring,
196 if ((a = apd_alloc(ap_id, flags, errstring, NULL, NULL)) == NULL)
41 cfga_change_state( cfga_cmd_t cfga_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
100 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
136 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
172 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
H A Dap_msg.c201 char **errstring; local
211 if (a == NULL || (errstring = a->errstring) == NULL ||
212 *errstring != NULL)
358 *errstring = p;
H A Dap.h117 char **errstring; member in struct:__anon2411
H A Dap_sbd.c345 apd_alloc(const char *ap_id, cfga_flags_t flags, char **errstring, argument
353 if (errstring != NULL)
354 *errstring = NULL;
357 a->errstring = errstring;
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c55 usb_rcm_offline(const char *rsrc, char **errstring, char *rsrc_fixed, argument
65 if ((ret = usb_rcm_init(rsrc, flags, errstring, &rflags)) !=
78 (void) usb_rcm_info_table(rinfo, errstring);
83 DPRINTF("usb_rcm_offline: table = %s\n", *errstring);
86 (void) usb_rcm_online(rsrc, errstring,
101 usb_rcm_online(const char *rsrc, char **errstring, char *rsrc_fixed, argument
109 if ((ret = usb_rcm_init(rsrc, flags, errstring, NULL)) != CFGA_USB_OK) {
118 (void) usb_rcm_info_table(rinfo, errstring);
133 usb_rcm_remove(const char *rsrc, char **errstring, char *rsrc_fixed, argument
141 if ((ret = usb_rcm_init(rsrc, flags, errstring, NUL
166 usb_rcm_init(const char *rsrc, cfga_flags_t flags, char **errstring, uint_t *rflags) argument
[all...]
H A Dcfga_usb.c317 * memory buffer, and points *errstring to it.
325 usb_err_msg(char **errstring, cfga_usb_ret_t rv, const char *ap_id, int l_errno) argument
327 if (errstring == NULL) {
350 set_msg(errstring, ERR_STR(rv), NULL);
367 (void) set_msg(errstring, ERR_STR(rv),
379 set_msg(errstring, ERR_STR(rv), errno_str,
389 set_msg(errstring, ERR_STR(rv), "ap_id: ", ap_id, "\n",
396 set_msg(errstring, ERR_STR(CFGA_USB_INTERNAL_ERROR), NULL);
447 char **errstring)
449 if (errstring !
444 verify_params( const char *ap_id, const char *options, char **errstring) argument
735 set_configuration(const char *ap_id, uint_t config, char *driver, usb_dev_descr_t *descrp, char **errstring) argument
1001 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1214 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1443 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1457 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c46 char **errstring,
59 if (errstring != NULL) {
60 *errstring = NULL;
74 if ((ret = apidt_create(ap_id, &apidt, errstring)) != FPCFGA_OK) {
98 cfga_err(errstring, 0, ERRARG_OPT_INVAL,
108 cfga_err(errstring, 0, ERRARG_OPT_INVAL,
120 cfga_err(errstring, 0, ERRARG_OPT_INVAL, options, 0);
132 cfga_err(errstring, 0, ERR_APID_INVAL, 0);
137 &handle, &portIndex, &portAttrs, errstring)) ==
140 flags, errstring, handl
40 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
157 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
180 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
201 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
H A Dcfga_rep.c192 * errstring - Pointer that will be updated by this function
220 update_fabric_wwn_list(int cmd, const char *update_str, char **errstring) argument
249 cfga_err(errstring, errno, ERR_UPD_REP, 0);
256 cfga_err(errstring, errno, ERR_UPD_REP, 0);
262 cfga_err(errstring, 0, ERR_UPD_REP, 0);
268 cfga_err(errstring, errno, ERR_UPD_REP, 0);
281 cfga_err(errstring, errno, ERR_UPD_REP, 0);
296 cfga_err(errstring, errno, ERR_UPD_REP, 0);
307 cfga_err(errstring, errno, ERR_UPD_REP, 0);
316 cfga_err(errstring, errn
[all...]
H A Dcfga_rcm.c41 char **errstring; member in struct:__anon2395
62 fp_rcm_offline(char *rsrc, char **errstring, cfga_flags_t flags) argument
70 if ((ret = fp_rcm_init(rsrc, flags, errstring, &rflags, &rsrc_fixed))
76 cfga_err(errstring, 0, ERRARG_RCM_OFFLINE, rsrc_fixed, 0);
78 (void) fp_rcm_info_table(rinfo, errstring);
82 (void) fp_rcm_online(rsrc, errstring, flags);
97 fp_rcm_online(char *rsrc, char **errstring, cfga_flags_t flags) argument
103 if ((ret = fp_rcm_init(rsrc, flags, errstring, NULL, &rsrc_fixed))
109 cfga_err(errstring, 0, ERRARG_RCM_ONLINE, rsrc_fixed, 0);
110 (void) fp_rcm_info_table(rinfo, errstring);
126 fp_rcm_remove(char *rsrc, char **errstring, cfga_flags_t flags) argument
157 fp_rcm_suspend(char *rsrc, char *filter, char **errstring, cfga_flags_t flags) argument
258 fp_rcm_resume(char *rsrc, char *filter, char **errstring, cfga_flags_t flags) argument
350 fp_rcm_info(char *rsrc, char **errstring, char **info) argument
390 fp_rcm_init(char *rsrc, cfga_flags_t flags, char **errstring, uint_t *rflags, char **rsrc_fixed) argument
[all...]
H A Dcfga_cs.c67 uchar_t dev_dtype, char **errstring)
76 cfga_err(errstring, errno, ERRARG_DC_DDEF_ALLOC, drvr_name, 0);
82 cfga_err(errstring, 0, ERR_APID_INVAL, 0);
89 cfga_err(errstring, errno, ERRARG_DC_BYTE_ARRAY,
96 cfga_err(errstring, errno, ERRARG_DC_BUS_ACQUIRE,
113 cfga_err(errstring, errno,
116 cfga_err(errstring, errno, ERRARG_BUS_DEV_CREATE,
139 * errstring - If non-NULL, it will hold any error messages
146 dev_rcm_online(apid_t *apidt, int count, cfga_flags_t flags, char **errstring) argument
164 if (fp_rcm_online(lunlistp->path, errstring, flag
66 do_devctl_dev_create(apid_t *apidt, char *dev_path, int pathlen, uchar_t dev_dtype, char **errstring) argument
181 dev_rcm_online_nonoperationalpath(apid_t *apidt, cfga_flags_t flags, char **errstring) argument
215 dev_rcm_offline(apid_t *apidt, cfga_flags_t flags, char **errstring) argument
285 dev_rcm_remove(apid_t *apidt, cfga_flags_t flags, char **errstring) argument
341 lun_unconf(char *path, int lunnum, char *xport_phys, char *dyncomp, char **errstring) argument
427 dev_unconf(apid_t *apidt, char **errstring, uchar_t *flag) argument
499 is_xport_phys_in_pathlist(apid_t *apidt, char **errstring) argument
677 dev_change_state(cfga_cmd_t state_change_cmd, apid_t *apidt, la_wwn_t *pwwn, cfga_flags_t flags, char **errstring, HBA_HANDLE handle, HBA_PORTATTRIBUTES portAttrs) argument
1060 unconf_vhci_nodes(di_path_t pnode, di_node_t fp_node, char *xport_phys, char *dyncomp, int unusable_flag, int *num_devs, int *failure_count, char **errstring, cfga_flags_t flags) argument
1239 unconf_non_vhci_nodes(di_node_t dnode, char *xport_phys, char *dyncomp, int unusable_flag, int *num_devs, int *failure_count, char **errstring, cfga_flags_t flags) argument
1420 unconf_any_devinfo_nodes(apid_t *apidt, cfga_flags_t flags, char **errstring, int *num_devs, int *failure_count) argument
1539 handle_devs(cfga_cmd_t cmd, apid_t *apidt, cfga_flags_t flags, char **errstring, HBA_HANDLE handle, int portIndex, HBA_PORTATTRIBUTES portAttrs) argument
1650 fca_change_state(cfga_cmd_t state_change_cmd, apid_t *apidt, cfga_flags_t flags, char **errstring) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c55 * errstring - Error message filled in case of a failure
66 ib_rcm_offline(const char *rsrc, char **errstring, char *rsrc_fixed, argument
76 if ((ret = ib_rcm_init(rsrc, flags, errstring, &rflags)) !=
88 (void) ib_rcm_info_table(rinfo, errstring);
93 DPRINTF("ib_rcm_offline: table = %s\n", *errstring);
96 (void) ib_rcm_online(rsrc, errstring,
111 * errstring - Error message filled in case of a failure
122 ib_rcm_online(const char *rsrc, char **errstring, char *rsrc_fixed, argument
130 if ((ret = ib_rcm_init(rsrc, flags, errstring, NULL)) != CFGA_IB_OK) {
138 (void) ib_rcm_info_table(rinfo, errstring);
164 ib_rcm_remove(const char *rsrc, char **errstring, char *rsrc_fixed, cfga_flags_t flags) argument
207 ib_rcm_init(const char *rsrc, cfga_flags_t flags, char **errstring, uint_t *rflags) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c54 opl_get_scf_logical_disk(const apid_t *apidp, char **errstring, argument
63 cfga_err(errstring, ENOMEM, ERR_OP_FAILED, 0);
73 cfga_err(errstring, 0, ERR_OP_FAILED, 0);
78 cfga_err(errstring, 0, ERR_UNKNOWN, 0);
93 opl_disk_led_control(apid_t *apidp, char **errstring, struct cfga_msg *msgp, argument
102 cfga_err(errstring, 0, ERR_UNKNOWN, 0, 0);
106 retval = opl_get_scf_logical_disk((const apid_t *)apidp, errstring,
109 /* errstring is set in opl_get_scf_logical_disk */
116 cfga_err(errstring, errno, ERRARG_OPEN, SCF_DRV, 0);
142 cfga_err(errstring, errn
213 opl_setlocator( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
239 opl_getled( int print_switch, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
266 opl_setled( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
304 plat_dev_led( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp, cfga_flags_t flags, char **errstring) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c69 static char *errstring = "regcmp failed for some unknown reason"; variable
79 return (errstring);
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_param_types.h92 char **errstring; member in struct:__anon367
106 char **errstring; member in struct:__anon368
116 char **errstring; member in struct:__anon369
139 char **errstring; member in struct:__anon371
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dxs_wire.h61 const char *errstring; member in struct:xsd_errors
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypwhich.c376 char errstring[256]; local
417 (void) sprintf(errstring,
419 (void) clnt_perror(client, errstring);
559 char errstring[256]; local
585 (void) sprintf(errstring,
587 (void) clnt_perror(client, errstring);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c91 char errstring[MAX_LINELEN]; local
112 (void) snprintf(errstring, MAX_LINELEN,
115 (*errmsg)(errstring);
135 (void) snprintf(errstring, MAX_LINELEN,
138 (*errmsg)(errstring);
144 (void) snprintf(errstring, MAX_LINELEN,
147 (*errmsg)(errstring);
164 char line[MAX_LINELEN], errstring[MAX_LINELEN]; local
178 (void) snprintf(errstring, MAX_LINELEN,
181 (*errmsg)(errstring);
434 char errstring[MAX_LINELEN]; local
642 logerror(char *errstring) argument
[all...]

Completed in 80 milliseconds

12