Home
last modified time | relevance | path

Searched refs:apid (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c53 char *str, *apid; in PCIDR_PLUGIN_PROTO() local
105 apid = cfga_listp[0].ap_phys_id; in PCIDR_PLUGIN_PROTO()
109 dprint(DINFO, "%s: disconnecting ...\n", fn, apid); in PCIDR_PLUGIN_PROTO()
123 dprint(DINFO, "%s: configuring ...\n", fn, apid); in PCIDR_PLUGIN_PROTO()
H A Dpcidr_cfga.c233 char *cmdnm, *cfga_errstr, *apid, *str; in pcidr_cfga_do_cmd() local
245 apid = cfga_listp->ap_phys_id; in pcidr_cfga_do_cmd()
301 rv = config_change_state(cmd, 1, &apid, NULL, &cfga_confirm, in pcidr_cfga_do_cmd()
305 fn, cmdnm, apid); in pcidr_cfga_do_cmd()
326 fn, cmdnm, apid); in pcidr_cfga_do_cmd()
/titanic_41/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c1490 char apid[IBTL_IBNEX_APID_LEN]; in ibnex_fill_nodeinfo() local
1501 (void) snprintf(apid, IBTL_IBNEX_APID_LEN, "%llX,0,%s", in ibnex_fill_nodeinfo()
1506 if (nvlist_add_string(*nvlpp, IBNEX_NODE_APID_NVL, apid)) { in ibnex_fill_nodeinfo()
1521 IBNEX_NODE_INFO_NVL, apid, IBNEX_NODE_APID_NVL, svcname); in ibnex_fill_nodeinfo()
1526 (void) snprintf(apid, IBTL_IBNEX_APID_LEN, "%llX,%x,%s", in ibnex_fill_nodeinfo()
1531 if (nvlist_add_string(*nvlpp, IBNEX_NODE_APID_NVL, apid)) { in ibnex_fill_nodeinfo()
1546 IBNEX_NODE_APID_NVL, apid, IBNEX_NODE_INFO_NVL, svcname); in ibnex_fill_nodeinfo()
1551 (void) snprintf(apid, IBTL_IBNEX_APID_LEN, "%llX,0,%s", in ibnex_fill_nodeinfo()
1556 if (nvlist_add_string(*nvlpp, IBNEX_NODE_APID_NVL, apid)) { in ibnex_fill_nodeinfo()
1571 IBNEX_NODE_INFO_NVL, apid, IBNEX_NODE_APID_NVL, svcname); in ibnex_fill_nodeinfo()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c128 adjust_dynamic_ap(const char *apid, char *adjusted) in adjust_dynamic_ap() argument
138 dm_assert((strlen(apid) + 8 /* strlen("/devices") */) < MAXPATHLEN); in adjust_dynamic_ap()
141 (void) strcpy(adjusted, apid); in adjust_dynamic_ap()
144 dyn = strstr(apid, "::"); in adjust_dynamic_ap()
145 if ((dyn == NULL) || (dyn == apid) || in adjust_dynamic_ap()
154 (void) strcpy(phys, apid); in adjust_dynamic_ap()
/titanic_41/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c42 ap_symid(apd_t *a, char *apid, char *symid, size_t bufsize) in ap_symid() argument
78 if (strcmp(cp, apid) == 0) { in ap_symid()
90 ap_logid(apd_t *a, char *apid) in ap_logid() argument
102 if (ap_symid(a, apid, buf, MAXPATHLEN) == 0) in ap_logid()
136 a->apid = ap_id; in ap_parse()
H A Dap.h109 const char *apid; member
H A Dap_msg.c251 check_tgt((char *)a->apid, target); in ap_err()
/titanic_41/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c830 char *bufptr, *bufptr2, *pci, *apid; in get_logical_name() local
834 if ((apid = malloc(MAXPATHLEN)) == NULL) { in get_logical_name()
839 (void) memset(apid, 0, MAXPATHLEN); in get_logical_name()
840 (void) strncpy(apid, ap_id, strlen(ap_id)); in get_logical_name()
843 bufptr = strrchr(apid, '/'); in get_logical_name()
845 bufptr2 = strrchr(apid, ':'); in get_logical_name()
863 free(apid); in get_logical_name()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c384 static char *ps_apid_to_nodename(char *apid);
2823 ps_apid_to_nodename(char *apid) in ps_apid_to_nodename() argument
2828 return (apid); in ps_apid_to_nodename()
2830 if (strcmp(apid, PS0_NAME) == 0) in ps_apid_to_nodename()
2832 else if (strcmp(apid, PS1_NAME) == 0) in ps_apid_to_nodename()
2834 else if (strcmp(apid, PS2_NAME) == 0) in ps_apid_to_nodename()
2836 else if (strcmp(apid, PS3_NAME) == 0) in ps_apid_to_nodename()
2839 nodename = apid; in ps_apid_to_nodename()
/titanic_41/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c619 char *apid = (use_static_ap_id == B_TRUE) ? IB_STATIC_APID : ap_id; in ib_setup_for_devctl_cmd() local
622 if ((*devctl_hdl = devctl_ap_acquire(apid, NULL)) == NULL) { in ib_setup_for_devctl_cmd()