/illumos-gate/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...] |
/illumos-gate/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...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
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...] |
/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 115 static char *get_dyn(const char *ap_id); 116 static void remove_dyn(char *ap_id); 133 {"ap_id", "Ap_Id", SZ_EL(ap_log_id), compare_ap_id, print_log_id, set_log_flt}, 160 static char aptype_no_dyn[] = "%s: Invalid ap_id: %s\n"; 164 " %s [-f] [-y|-n] [-v] [-o hardware_opts ] -c function ap_id [ap_id...]\n", 165 " %s [-f] [-y|-n] [-v] [-o hardware_opts ] -x function ap_id [ap_id...]\n", 167 "\t[-l [ap_id|ap_type...]]\n", 168 " %s [-v] [-o hardware_opts ] -t ap_id [ap_i 2294 find_arg_type(const char *ap_id) argument 2378 get_dyn(const char *ap_id) argument 2391 remove_dyn(char *ap_id) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/ibnex/ |
H A D | ibnex_devctl.h | 125 caddr_t ap_id; /* Search based on this AP_ID name */ member in struct:ibnex_ioctl_data 136 caddr32_t ap_id; /* Search based on this AP_ID name */ member in struct:ibnex_ioctl_data_32
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | schpc.c | 603 schpc_p->schpc_slot[slot].ap_id); 615 schpc_p->schpc_slot[slot].ap_id); 631 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id); 643 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id); 668 schpc_p->schpc_slot[slot].ap_id); 691 schpc_p->schpc_slot[slot].ap_id); 717 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id); 746 schpc_p->schpc_slot[slot].ap_id); 759 schpc_p->schpc_slot[slot].ap_id); 772 schpc_p->schpc_slot[slot].ap_id); 3493 char ap_id[MAXNAMELEN]; local 3841 schpc_buildapid(dev_info_t *dip, int slot, char *ap_id) argument [all...] |
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 329 dyn_ap_ids(char *ap_id, cfga_list_data_t **ap_id_list, int *nlist) argument 336 cfga_err = config_list_ext(1, &ap_id, ap_id_list, nlist, 1762 ri_ap_alloc(char *ap_id, ri_hdl_t *hdl) argument 1772 nvlist_add_string(ap->conf_props, RI_AP_REQ_ID, ap_id) != 0) {
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 124 char *lc_ap_physical; /* physical ap_id */ 125 char *lc_ap_logical; /* logical ap_id */ 276 static cfga_ap_types_t find_arg_type(const char *ap_id); 285 static cfga_err_t split_apid(char *ap_id, char **dyncompp, char **errstring); 364 char *const *ap_id, 407 if (check_apids(num_ap_ids, ap_id, errstring) != CFGA_OK) { 412 * operate on each ap_id 416 if ((retval = config_get_lib(ap_id[i], &libloc, errstring)) != 492 * operate on each ap_id 543 * operate on each ap_id 361 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 1332 config_get_lib( const char *ap_id, lib_loc_t *lib_loc_p, char **errstring) argument 2943 find_arg_type(const char *ap_id) argument 3207 split_apid(char *ap_id, char **dyncompp, char **errstring) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 2156 char *ap_id; local 2180 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) { 2190 if (strncmp(ap_id, AP_ID_PREAMBLE, AP_ID_PREAMBLE_LEN) != 0) { 2198 sprintf_buf2(path, CHASSIS_LOC_PATH, &ap_id[AP_ID_PREAMBLE_LEN]); 2204 if (strcmp(&ap_id[AP_ID_PREAMBLE_LEN], "SSC1") == 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 653 char *ap_id = NULL; local 675 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id) == -1) { 686 if (!ap_id || !hint) { 687 FRUTREE_DEBUG0(EVENTS, "Empty hint/ap_id"); 693 name = strrchr(ap_id, ':'); 695 name = ap_id; 856 char *ap_id = NULL; local 873 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id) == -1) { 883 if (!ap_id || !dr_req) { 884 FRUTREE_DEBUG0(EVENTS, "Empty dr_req/ap_id"); 1759 get_cfgadm_state(cfga_list_data_t *data, char *ap_id) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 379 static int create_i2c_node(char *ap_id); 380 static void delete_i2c_node(char *ap_id); 386 static void get_fantray_path(char *ap_id, char *path, int bufsz); 1422 get_fantray_path(char *ap_id, char *path, int bufsz) argument 1426 (void) strlcpy(ft_id, ap_id, FT_ID_BUFSZ); 1430 if ((strncmp(ap_id, "FT0", 3) == 0) || 1431 (strncmp(ap_id, "FT1", 3) == 0) || 1432 (strncmp(ap_id, "FT2", 3) == 0)) { 1434 } else if ((strncmp(ap_id, "FT3", 3) == 0) || 1435 (strncmp(ap_id, "FT 1476 char *ap_id; local 2848 create_i2c_node(char *ap_id) argument 2903 delete_i2c_node(char *ap_id) argument [all...] |