/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 1415 cfga_list_data_t **ap_id_list, in cfga_list_ext() argument 1442 if (ap_id_list == NULL || nlistp == NULL) { in cfga_list_ext() 1466 if ((*ap_id_list = in cfga_list_ext() 1467 (cfga_list_data_t *)malloc(sizeof (**ap_id_list))) == NULL) { in cfga_list_ext() 1493 (void) strlcpy((*ap_id_list)->ap_log_id, in cfga_list_ext() 1495 sizeof ((*ap_id_list)->ap_log_id)); in cfga_list_ext() 1500 (void) strlcpy((*ap_id_list)->ap_phys_id, ap_id, in cfga_list_ext() 1501 sizeof ((*ap_id_list)->ap_phys_id)); in cfga_list_ext() 1505 (*ap_id_list)->ap_r_state = CFGA_STAT_EMPTY; in cfga_list_ext() 1509 (*ap_id_list)->ap_r_state = CFGA_STAT_DISCONNECTED; in cfga_list_ext() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 1483 cfga_list_data_t **ap_id_list, in cfga_list_ext() argument 1504 if (ap_id_list == NULL || nlistp == NULL) { in cfga_list_ext() 1529 if ((*ap_id_list = in cfga_list_ext() 1530 (cfga_list_data_t *)malloc(sizeof (**ap_id_list))) == NULL) { in cfga_list_ext() 1559 (void) strlcpy((*ap_id_list)->ap_log_id, in cfga_list_ext() 1561 sizeof ((*ap_id_list)->ap_log_id)); in cfga_list_ext() 1565 (void) strlcpy((*ap_id_list)->ap_phys_id, ap_id, in cfga_list_ext() 1566 sizeof ((*ap_id_list)->ap_phys_id)); in cfga_list_ext() 1570 (*ap_id_list)->ap_r_state = CFGA_STAT_EMPTY; in cfga_list_ext() 1573 (*ap_id_list)->ap_r_state = CFGA_STAT_DISCONNECTED; in cfga_list_ext() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 184 cfga_list_data_t **ap_id_list, in cfga_list_ext() argument 201 if (ap_id_list == NULL || nlistp == NULL) { in cfga_list_ext() 205 *ap_id_list = NULL; in cfga_list_ext() 260 if (list_ext_postprocess(&llp, nelem, ap_id_list, nlistp, in cfga_list_ext() 262 assert(*ap_id_list == NULL && *nlistp == 0); in cfga_list_ext() 265 assert(*ap_id_list != NULL && *nlistp == nelem); in cfga_list_ext()
|
H A D | cfga_list.c | 879 cfga_list_data_t **ap_id_list, in list_ext_postprocess() argument 887 *ap_id_list = NULL; in list_ext_postprocess() 917 *ap_id_list = ldatap; in list_ext_postprocess()
|
H A D | cfga_scsi.h | 389 cfga_list_data_t **ap_id_list, int *nlistp, char **errstring);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.c | 203 cfga_list_data_t **ap_id_list, in cfga_list_ext() argument 229 if (ap_id_list == NULL || nlistp == NULL) { in cfga_list_ext() 233 *ap_id_list = NULL; in cfga_list_ext() 322 if (list_ext_postprocess(&ldatalistp, nelem, ap_id_list, nlistp, in cfga_list_ext() 324 assert(*ap_id_list == NULL && *nlistp == 0); in cfga_list_ext() 327 assert(*ap_id_list != NULL && *nlistp == nelem); in cfga_list_ext()
|
H A D | cfga_fp.h | 475 cfga_list_data_t **ap_id_list, int *nlistp, char **errstring);
|
H A D | cfga_list.c | 3427 cfga_list_data_t **ap_id_list, in list_ext_postprocess() argument 3435 *ap_id_list = NULL; in list_ext_postprocess() 3465 *ap_id_list = ldatap; in list_ext_postprocess()
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 272 static cfga_err_t realloc_data(cfga_stat_data_t **ap_id_list, 274 static cfga_err_t realloc_data_ext(cfga_list_data_t **ap_id_list, 617 struct cfga_stat_data **ap_id_list, in config_list() argument 641 *ap_id_list = NULL; in config_list() 650 retval = realloc_data(ap_id_list, nlistp, &lstat); in config_list() 653 assert((ap_id_list != NULL && *nlistp != 0) || in config_list() 654 (ap_id_list == NULL && *nlistp == 0)); in config_list() 671 struct cfga_list_data **ap_id_list, in config_list_ext() argument 685 *ap_id_list = NULL; in config_list_ext() 739 rc = realloc_data_ext(ap_id_list, nlistp, &lstat); in config_list_ext() [all …]
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 1141 if (lparam->ap_id_list != NULL) { in rdr_cleanup_params() 1142 if (*lparam->ap_id_list != NULL) { in rdr_cleanup_params() 1143 free((void *)*lparam->ap_id_list); in rdr_cleanup_params() 1145 free((void *)lparam->ap_id_list); in rdr_cleanup_params() 1146 lparam->ap_id_list = NULL; in rdr_cleanup_params() 1148 if (lparam->ap_id_list != NULL) { in rdr_cleanup_params() 1149 free((void *)lparam->ap_id_list); in rdr_cleanup_params() 1150 lparam->ap_id_list = NULL; in rdr_cleanup_params() 3008 params->ap_id_list = (rdr_list_t **)malloc(sizeof (rdr_list_t *)); in unpack_list_ext_request() 3009 if (params->ap_id_list == NULL) { in unpack_list_ext_request() [all …]
|
H A D | rdr_param_types.h | 133 rdr_list_t **ap_id_list; member
|
H A D | dcs.c | 1351 if (op_data->ap_id_list == NULL) { in dcs_list_ext() 1399 *op_data->ap_id_list = generate_sort_order(ap_ids, in dcs_list_ext() 1402 if (*op_data->ap_id_list == NULL) { in dcs_list_ext()
|
H A D | ri_init.c | 329 dyn_ap_ids(char *ap_id, cfga_list_data_t **ap_id_list, int *nlist) in dyn_ap_ids() argument 336 cfga_err = config_list_ext(1, &ap_id, ap_id_list, nlist, in dyn_ap_ids()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1640 cfga_list_ext(const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, in cfga_list_ext() argument 1662 if (ap_id_list == NULL || nlistp == NULL) { in cfga_list_ext() 1735 if ((*ap_id_list = (cfga_list_data_t *)calloc(*nlistp, in cfga_list_ext() 1748 clp = &(*ap_id_list[0]); in cfga_list_ext() 1752 S_FREE(*ap_id_list); in cfga_list_ext() 1774 S_FREE(*ap_id_list); in cfga_list_ext() 1782 S_FREE(*ap_id_list); in cfga_list_ext() 1821 clp = (show_dynamic != 0) ? &(*ap_id_list[0]) : in cfga_list_ext() 1822 &(ap_id_list[0][index]); in cfga_list_ext() 1868 S_FREE(*ap_id_list); in cfga_list_ext()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 174 cfga_list_data_t **ap_id_list, in cfga_list_ext() argument 257 *ap_id_list = aplist; in cfga_list_ext()
|
/illumos-gate/usr/src/head/ |
H A D | config_admin.h | 196 struct cfga_list_data **ap_id_list, int *nlist, const char *options,
|