Searched defs:ap_id (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c59 const char *ap_id,
86 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
110 const char *ap_id,
137 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
163 const char *ap_id,
183 const char *ap_id,
218 if (GET_DYN(ap_id) == NULL) {
240 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
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
H A Dcfga_utils.c87 {ERR_APID_INVAL, 0, 1, "invalid SCSI ap_id"},
142 {MSG_HELP_USAGE, 0, 0, "\t-x insert_device ap_id [ap_id... ]\n"
143 "\t-x remove_device ap_id [ap_id... ]\n"
144 "\t-x replace_device ap_id [ap_id... ]\n"
145 "\t-x locator[=on|off] ap_id [ap_id... ]\n"
147 "ap_id [ap_i
331 apidt_create(const char *ap_id, apid_t *apidp, char **errstring) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c43 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 Dap.c117 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 Dap_sbd.c238 * 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...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c42 const char *ap_id,
74 if ((ret = apidt_create(ap_id, &apidt, errstring)) != FPCFGA_OK) {
159 const char *ap_id,
181 const char *ap_id,
202 const char *ap_id,
269 if (GET_DYN(ap_id) == NULL) {
295 ret = do_list_FCP_dev(ap_id, fp_flags, cmd, &ldatalistp, &nelem,
302 if ((ret = apidt_create(ap_id, &apidt, errstring))
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
H A Dcfga_utils.c102 {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...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c105 char *ap_id; local
127 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) {
146 (void) update_devices(ap_id, DEV_ADD);
148 (void) update_devices(ap_id, DEV_REMOVE);
/illumos-gate/usr/src/cmd/acpihpd/
H A Dnotify.c194 event_process(char *ap_id, char *req, char *acpi_event_type) argument
202 "Event is not supported (ap_id = %s, req = %s)",
203 ap_id, req);
207 apids[0] = ap_id;
218 "board '%s' has been assigned successfully", ap_id);
227 "board '%s' has been powered on successfully", ap_id);
236 "board '%s' has been connected successfully", ap_id);
245 "board '%s' has been configured successfully", ap_id);
251 "board '%s' has been added into system successfully", ap_id);
259 syslog(LOG_ERR, "failed to add board '%s' into system", ap_id);
270 char *ap_id, *req, *acpi_event_type; local
[all...]
/illumos-gate/usr/src/cmd/oplhpd/
H A Dscf_notify.c66 * Note the size of the ap_id must be SCFDATA_APID for proper data alignment
71 char ap_id[SCFDATA_APID]; member in struct:__anon1035
83 * pci_name is an ap_id phys path for the hot pluggable pci device.
99 void scf_get_slotinfo(char *ap_id, cfga_stat_t *o_state,
112 const char *ap_id)
122 syslog(LOG_DEBUG, "%s: %s (%s), ap_id = %s\n",
123 func_name, ep, errstr, ap_id);
125 syslog(LOG_DEBUG, "%s: %s , ap_id = %s\n",
126 func_name, ep, ap_id);
196 char *ap_lid_ptr; /* logical ap_id pointe
111 config_error(cfga_err_t err, const char *func_name, const char *errstr, const char *ap_id) argument
372 char *ap_id = NULL; /* attachment point */ local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpicl_slm.c250 char *ap_id = NULL; local
257 if (nvlist_lookup_string(nvlist, DR_AP_ID, &ap_id) != 0 ||
258 ap_id == NULL) {
263 if (nvlist_add_string(nvl, PICLEVENTARG_AP_ID, ap_id)) {
280 (dr_req ? dr_req : "Investigate"), ap_id);
/illumos-gate/usr/src/cmd/sf880drd/
H A Dsf880drd.c184 pushbutton_event(char *ap_id) argument
192 rv = config_list_ext(1, &ap_id, &stat, &nlist,
219 rv = config_change_state(cmd, 1, &ap_id, NULL, NULL, NULL, &errstr, 0);
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.h79 char ap_id[32]; /* Attachment point name */ member in struct:cardbus_dev
/illumos-gate/usr/src/uts/common/os/
H A Dddi_hp_impl.c424 char *cn_path, *ap_id; local
452 ap_id = kmem_zalloc(ap_id_len, kmflag);
453 if (ap_id == NULL) {
463 (void) strcpy(ap_id, cn_path);
464 (void) strcat(ap_id, ":");
465 (void) strcat(ap_id, hdlp->cn_info.cn_name);
475 kmem_free(ap_id, ap_id_len);
551 err = nvlist_add_string(ev_attr_list, DR_AP_ID, ap_id);
574 kmem_free(ap_id, ap_id_len);
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c44 static int create_ap_instance(char *ap_id, char *wwn_string,
282 create_ap_instance(char *ap_id, char *wwn_string, argument
313 if ((bus_handle = devctl_bus_acquire(ap_id, 0)) == NULL) {
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c607 sysevent_process_dr(gchar *ap_id, gchar *hint_val) argument
615 if ((ap_id == NULL) || (hint_val == NULL))
617 HAL_DEBUG (("sysevent_process_dr: %s", ap_id));
619 cfgerr = config_list_ext (1, (char *const *)&ap_id, &cfg_stat, &nlist,
624 ap_id, errstr));
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Dschpc.h87 char ap_id[MAXNAMELEN]; /* Attachment point name */ member in struct:__anon10038
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c231 * caller should allocate memory for ap_id
234 find_scsi_controller(char *devfs_path, plist_t *list, char *ap_id) argument
241 if (devfs_path == NULL || ap_id == NULL) {
257 (void) strncpy(ap_id, tmp->data->ap_log_id,
258 sizeof (ap_id));
337 char addr[BUF_SIZE], ap_id[BUF_SIZE]; local
340 (void) strncpy(ap_id, scsi_loc, sizeof (ap_id));
341 ap = strrchr(ap_id, ':');
343 ap = ap_idp = ap_id;
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c473 disk_match_by_ap_id(diskmon_t *disklistp, const char *ap_id) argument
477 dm_assert(ap_id != NULL);
480 if (strncmp(ap_id, DEVICES_PREFIX, 8 /* strlen("/devices") */) == 0)
481 ap_id += 8;
489 if (strcmp(disk_ap_id, ap_id) == 0)
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c1206 char *ap_id; local
1218 ap_id = kmem_zalloc(ap_id_len, kmflag);
1219 if (ap_id == NULL) {
1228 (void) strcpy(ap_id, cn_path);
1229 (void) strcat(ap_id, ":");
1230 (void) strcat(ap_id, slot_name);
1239 kmem_free(ap_id, ap_id_len);
1274 err = nvlist_add_string(ev_attr_list, DR_AP_ID, ap_id);
1299 kmem_free(ap_id, ap_id_len);
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c61 " cfgadm -c [configure|unconfigure|disconnect|connect] ap_id "
62 "[ap_id...]\n",
63 " cfgadm -x sata_reset_port ap_id [ap_id...]\n",
64 " cfgadm -x sata_reset_device ap_id [ap_id...]\n",
65 " cfgadm -x sata_reset_all ap_id\n",
66 " cfgadm -x sata_port_deactivate ap_id [ap_id...]\n",
67 " cfgadm -x sata_port_activate ap_id [ap_i
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
1235 sata_make_dyncomp(const char *ap_id, char **dyncomp, const char *type) 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
1785 verify_valid_apid(const char *ap_id) argument
1814 verify_params( const char *ap_id, const char *options, char **errstring) argument
1854 get_port_num(const char *ap_id, uint32_t *port) argument
1898 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
1990 do_control_ioctl(const char *ap_id, sata_cfga_apctl_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
2102 sata_get_devicepath(const char *ap_id) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c62 " cfgadm -c [configure|unconfigure|disconnect] ap_id [ap_id...]\n",
63 " cfgadm -x usb_reset ap_id [ap_id...]\n",
64 " cfgadm -x usb_config -o config=<index of desired configuration> ap_id\n",
321 * Some messages may display ap_id or errno, which is why they are passed
325 usb_err_msg(char **errstring, cfga_usb_ret_t rv, const char *ap_id, int l_errno) argument
366 /* These messages also print ap_id. */
368 "ap_id: ", ap_id, "", NUL
415 verify_valid_apid(const char *ap_id) argument
444 verify_params( const char *ap_id, const char *options, char **errstring) argument
478 get_port_num(const char *ap_id, uint_t *port) argument
515 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
623 do_control_ioctl(const char *ap_id, uint_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
735 set_configuration(const char *ap_id, uint_t config, char *driver, usb_dev_descr_t *descrp, char **errstring) argument
828 get_config(const char *ap_id, uint_t *config) argument
887 fill_in_ap_info(const char *ap_id, char *info_buf, size_t info_size) 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
1723 usb_get_devicepath(const char *ap_id) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c180 * IBNEX_HCA_LIST_SZ "-x list" option size for the HCA ap_id
181 * IBNEX_HCA_LIST_INFO "-x list" option info for the HCA ap_id
293 ioc.ap_id = (caddr_t)(uintptr_t)ioc32.ap_id;
311 * figure out ap_id name as passed from user-land
312 * NOTE: We don't need to figure out ap_id for these
322 if (ddi_copyin((void *)ioc.ap_id, apid_n,
1683 * Fills the "devctl_ap_state_t" for a given ap_id
1717 * Fills the "devctl_ap_state_t" for a IB static ap_id
1734 * Reads in the ap_id passe
1739 char *ap_id; local
1772 char *ap_id; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c34 * 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
2112 ib_get_devicepath(const char *ap_id) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c160 static cfga_err_t fix_ap_name(char *ap_log_id, const char *ap_id,
171 "ap_id [ap_id...]",
172 "\t-x enable_slot ap_id [ap_id...]",
173 "\t-x disable_slot ap_id [ap_id...]",
174 "\t-x enable_autoconfig ap_id [ap_id...]",
175 "\t-x disable_autoconfig ap_id [ap_i
616 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
787 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument
880 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
1005 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1213 check_devlinks(char *ap_log_id, const char *ap_id) argument
1243 fix_ap_name(char *ap_log_id, const char *ap_id, char *slot_name, char **errstring) argument
1374 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...]

Completed in 4780 milliseconds

12