Searched refs:cfga_listp (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/pcidr/plugins/default/ |
H A D | pcidr_plugin.c | 52 cfga_list_data_t *cfga_listp = NULL; in PCIDR_PLUGIN_PROTO() local 69 rv = config_list_ext(1, &dr.dr_ap_id, &cfga_listp, &cfga_list_len, in PCIDR_PLUGIN_PROTO() 102 pcidr_print_cfga(DINFO, &cfga_listp[0], " .. "); in PCIDR_PLUGIN_PROTO() 103 apid = cfga_listp[0].ap_phys_id; in PCIDR_PLUGIN_PROTO() 109 rv = pcidr_cfga_do_cmd(cmd, &cfga_listp[0]); in PCIDR_PLUGIN_PROTO() 123 rv = pcidr_cfga_do_cmd(cmd, &cfga_listp[0]); in PCIDR_PLUGIN_PROTO() 139 if (cfga_listp != NULL) in PCIDR_PLUGIN_PROTO() 140 free(cfga_listp); in PCIDR_PLUGIN_PROTO()
|
H A D | pcidr_cfga.c | 229 pcidr_cfga_do_cmd(cfga_cmd_t cmd, cfga_list_data_t *cfga_listp) in pcidr_cfga_do_cmd() argument 245 apid = cfga_listp->ap_phys_id; in pcidr_cfga_do_cmd() 254 if (cfga_listp->ap_busy != 0) { in pcidr_cfga_do_cmd() 256 fn, cfga_listp->ap_phys_id); in pcidr_cfga_do_cmd() 267 if (cfga_listp->ap_o_state < CFGA_STAT_CONNECTED) { in pcidr_cfga_do_cmd() 271 if (cfga_listp->ap_o_state < CFGA_STAT_CONFIGURED) { in pcidr_cfga_do_cmd() 275 if (cfga_listp->ap_o_state >= CFGA_STAT_CONFIGURED) in pcidr_cfga_do_cmd() 279 if (cfga_listp->ap_o_state >= CFGA_STAT_CONFIGURED) { in pcidr_cfga_do_cmd() 283 if (cfga_listp->ap_o_state >= CFGA_STAT_CONNECTED) { in pcidr_cfga_do_cmd() 287 if (cfga_listp->ap_r_state <= CFGA_STAT_DISCONNECTED) in pcidr_cfga_do_cmd()
|