/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.c | 45 const char *ap_id, 77 if ((ret = apidt_create(ap_id, &apidt, errstring)) != CFGA_OK) { 161 const char *ap_id, 183 const char *ap_id, 204 const char *ap_id, 270 if (GET_DYN(ap_id) == NULL) { 296 ret = do_list_FCP_dev(ap_id, fp_flags, cmd, &ldatalistp, &nelem, 303 if ((ret = apidt_create(ap_id, &apidt, errstring)) 43 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 159 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 182 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 203 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
|
H A D | cfga_utils.c | 102 {ERR_APID_INVAL, 0, 1, "invalid FP ap_id"}, 197 "\t-c configure -o force_update ap_id [ap_id..]\n" 198 "\t-c configure -o no_update ap_id [ap_id...]\n" 199 "\t-c unconfigure -o force_update ap_id [ap_id... ]\n" 200 "\t-c unconfigure -o no_update ap_id [ap_id... ]\n"}, 408 apidt_create(const char *ap_id, apid_ argument [all...] |
H A D | cfga_list.c | 191 /* Create the hba logid (also base component of logical ap_id) */ 479 const char *ap_id, 511 if ((xport_phys = pathdup(ap_id, &l_errno)) == NULL) { 541 /* Create the hba logid (also base component of logical ap_id) */ 1862 /* Create logical and physical ap_id */ 2258 /* Create logical and physical ap_id */ 2370 /* Create logical and physical ap_id */ 2716 /* Create logical and physical ap_id */ 2917 /* Create logical and physical ap_id */ 2991 /* Create logical and physical ap_id */ 478 do_list_FCP_dev( const char *ap_id, uint_t flags, fpcfga_cmd_t cmd, ldata_list_t **llpp, int *nelemp, char **errstring) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 43 const char *ap_id, 60 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) 102 const char *ap_id, 113 DBG("cfga_private_func(%s)\n", ap_id); 117 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL) 137 const char *ap_id, 148 DBG("cfga_test(%s)\n", ap_id); 159 if ((a = apd_alloc(ap_id, flags, errstring, msgp, NULL)) == NULL) 173 const char *ap_id, 194 DBG("cfga_list_ext(%s %x)\n", ap_id, flag 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 [all...] |
H A D | ap.c | 117 ap_parse(apd_t *a, const char *ap_id) argument 136 a->apid = ap_id; 139 if (!str_valid(ap_id)) { 144 if ((a->path = strdup(ap_id)) == NULL) { 150 * For a physical ap_id, look only at the base part. 151 * For a logical/symbolic one, use the entire ap_id. 168 * ap_id, it must have a minor separtor ':' which must 170 * For a symbolic ap_id, skip looking for driver/minor 236 * minus the dynamic part, for a physical ap_id. In 237 * the case of a logical ap_id, th [all...] |
H A D | ap_sbd.c | 238 * as extracted from the ap_id. If this check is not desirable, 345 apd_alloc(const char *ap_id, cfga_flags_t flags, char **errstring, argument 369 if (ap_id == NULL || ap_parse(a, ap_id) == 0) 680 * cfgadm -o err=plugin-err,cmd=name,code=ecode -x errtest ap_id. 734 "\tcfgadm [-o parsable] -l ap_id\n", 735 "\tcfgadm [-o unassign|nopoweroff] -c disconnect ap_id\n", 736 "\tcfgadm -t ap_id\n", 737 "\tcfgadm -x assign ap_id\n", 738 "\tcfgadm -x unassign ap_id\ [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 58 const char *ap_id, 85 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) { 109 const char *ap_id, 136 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) { 167 const char *ap_id, 187 const char *ap_id, 222 if (GET_DYN(ap_id) == NULL) { 244 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) { 56 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 107 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 166 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 186 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
|
H A D | cfga_utils.c | 86 {ERR_APID_INVAL, 0, 1, "invalid SCSI ap_id"}, 141 {MSG_HELP_USAGE, 0, 0, "\t-x insert_device ap_id [ap_id... ]\n" 142 "\t-x remove_device ap_id [ap_id... ]\n" 143 "\t-x replace_device ap_id [ap_id... ]\n" 144 "\t-x locator[=on|off] ap_id [ap_id... ]\n" 146 "ap_id [ap_i 330 apidt_create(const char *ap_id, apid_t *apidp, char **errstring) argument [all...] |
/osnet-11/usr/src/cmd/hal/hald/solaris/ |
H A D | sysevent.c | 642 sysevent_process_dr(gchar *ap_id, gchar *hint_val) argument 650 if ((ap_id == NULL) || (hint_val == NULL)) 652 HAL_DEBUG (("sysevent_process_dr: %s", ap_id)); 654 cfgerr = config_list_ext (1, (char *const *)&ap_id, &cfg_stat, &nlist, 659 ap_id, errstr));
|
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 34 * the HCA static ap_id, and the IB static ap_id. 38 * packed nvlist data structure to hold ap_id related information. 99 "ap_id [ap_id...]\n", 148 "Invalid ap_id supplied " }, 251 * node_path - Physical path of the ap_id node 253 * logpp - Logical path to the ap_id node 259 * Given a physical path to an ap_id ensure that it exists 379 * ap_id 399 ib_err_msg(char **errstring, cfga_ib_ret_t rv, const char *ap_id, int l_errno) argument 493 ib_verify_valid_apid(const char *ap_id) argument 544 ib_verify_params(const char *ap_id, const char *options, char **errstring) argument 616 ib_setup_for_devctl_cmd(char *ap_id, boolean_t use_static_ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) argument 751 ib_do_control_ioctl(char *ap_id, uint_t sub_cmd1, uint_t sub_cmd2, uint_t misc_arg, void **descrp, size_t *sizep) argument 860 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 1048 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 1529 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1553 ib_fill_static_apids(char *ap_id, cfga_list_data_t *clp) argument 1639 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 2113 ib_get_devicepath(const char *ap_id) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 60 " cfgadm -c [configure|unconfigure|disconnect|connect] ap_id " 61 "[ap_id...]\n", 62 " cfgadm -x sata_reset_port ap_id [ap_id...]\n", 63 " cfgadm -x sata_reset_device ap_id [ap_id...]\n", 64 " cfgadm -x sata_reset_all ap_id\n", 65 " cfgadm -x sata_port_deactivate ap_id [ap_id...]\n", 66 " cfgadm -x sata_port_activate ap_id [ap_i 456 sata_err_msg( char **errstring, cfga_sata_ret_t rv, const char *ap_id, int l_errno) argument 562 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 927 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 1138 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1247 sata_make_dyncomp(const char *ap_id, char **dyncomp, const char *type) argument 1423 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 1797 verify_valid_apid(const char *ap_id) argument 1826 verify_params( const char *ap_id, const char *options, char **errstring) argument 1866 get_port_num(const char *ap_id, uint32_t *port) argument 1910 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument 2002 do_control_ioctl(const char *ap_id, sata_cfga_apctl_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument 2114 sata_get_devicepath(const char *ap_id) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 60 " cfgadm -c [configure|unconfigure|disconnect] ap_id [ap_id...]\n", 61 " cfgadm -x usb_reset ap_id [ap_id...]\n", 62 " cfgadm -x usb_config -o config=<index of desired configuration> ap_id\n", 319 * Some messages may display ap_id or errno, which is why they are passed 323 usb_err_msg(char **errstring, cfga_usb_ret_t rv, const char *ap_id, int l_errno) argument 364 /* These messages also print ap_id. */ 366 "ap_id: ", ap_id, "", NUL 413 verify_valid_apid(const char *ap_id) argument 442 verify_params( const char *ap_id, const char *options, char **errstring) argument 476 get_port_num(const char *ap_id, uint_t *port) argument 513 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument 621 do_control_ioctl(const char *ap_id, uint_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument 733 set_configuration(const char *ap_id, uint_t config, char *driver, usb_dev_descr_t *descrp, char **errstring) argument 826 get_config(const char *ap_id, uint_t *config) argument 885 fill_in_ap_info(const char *ap_id, char *info_buf, size_t info_size) argument 999 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 1212 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 1441 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1455 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 1721 usb_get_devicepath(const char *ap_id) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 194 "\t-o {quick, normal, extended},[max_errors=#] -t ap_id [ap_id...]\n"; 195 static const char private_funcs[] = "\t-x relocate-test ap_id [ap_id...]\n"; 418 ap_bk_idx(const char *ap_id) argument 424 DBG("ap_bk_idx(%s)\n", ap_id); 426 if ((s = strstr(ap_id, bank)) == NULL) 724 const char *ap_id, 741 rc = mema_add(ap_id, options, errstring, force); 745 rc = mema_delete(ap_id, option 722 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 758 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 1087 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1379 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument 1411 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 159 static cfga_err_t fix_ap_name(char *ap_log_id, const char *ap_id, 172 "ap_id [ap_id...]", 173 "\t-x enable_slot ap_id [ap_id...]", 174 "\t-x disable_slot ap_id [ap_id...]", 175 "\t-x enable_autoconfig ap_id [ap_id...]", 176 "\t-x disable_autoconfig ap_id [ap_i 272 get_occupants(const char *ap_id, hpc_occupant_info_t *occupant) argument 510 check_rcm(const char *ap_id, hpc_occupant_info_t *occupant, rcm_handle_t **rhandlep, char **errstring, cfga_flags_t flags) argument 579 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 828 get_logical_name(const char *ap_id, char *buf, dev_t rdev) argument 867 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument 1003 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 1139 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1367 check_devlinks(char *ap_log_id, const char *ap_id) argument 1397 fix_ap_name(char *ap_log_id, const char *ap_id, char *slot_name, char **errstring) argument 1499 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 156 static cfga_err_t fix_ap_name(char *ap_log_id, const char *ap_id, 167 "ap_id [ap_id...]", 168 "\t-x led[=[fault|power|active|attn],mode=[on|off|blink]] ap_id [ap_id...]", 274 * Return the corresponding hp node for a given ap_id, it is the caller's 608 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, argument 625 DBG(1, ("cfga_change_state:(%s)\n", ap_id)); 627 rv = physpath2node(ap_id, errstring, &node); 783 prt_led_mode(const char *ap_id, in argument 875 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 1000 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1206 check_devlinks(char *ap_log_id, const char *ap_id) argument 1236 fix_ap_name(char *ap_log_id, const char *ap_id, char *slot_name, char **errstring) argument 1368 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 191 /* n */ "\t-x quiesce-test ap_id [ap_id...]", 192 /* n */ "\t-x insert-test ap_id [ap_id...]", 193 /* n */ "\t-x remove-test ap_id [ap_id...]", 536 sysc_stat(const char *ap_id, int *fdp) argument 542 if ((fd = open(ap_id, O_RDWR, 0)) == -1) 568 sim_sysc_stat(const char *ap_id, int *fdp) argument 592 } else if ((fd = open(ap_id, O_RDW 826 ap_idx(const char *ap_id) argument 868 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 1057 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 1149 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1347 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument 1388 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument [all...] |
/osnet-11/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 123 char *lc_ap_physical; /* physical ap_id */ 124 char *lc_ap_logical; /* logical ap_id */ 275 static cfga_ap_types_t find_arg_type(const char *ap_id); 284 static cfga_err_t split_apid(char *ap_id, char **dyncompp, char **errstring); 363 char *const *ap_id, 406 if (check_apids(num_ap_ids, ap_id, errstring) != CFGA_OK) { 411 * operate on each ap_id 415 if ((retval = config_get_lib(ap_id[i], &libloc, errstring)) != 491 * operate on each ap_id 542 * operate on each ap_id 360 config_change_state( cfga_cmd_t state_change_cmd, int num_ap_ids, char *const *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1331 config_get_lib( const char *ap_id, lib_loc_t *lib_loc_p, char **errstring) argument 2942 find_arg_type(const char *ap_id) argument 3206 split_apid(char *ap_id, char **dyncompp, char **errstring) argument [all...] |