Home
last modified time | relevance | path

Searched refs:ap_type (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c1598 (void) strlcpy(clp->ap_type, IB_HCA_TYPE, in ib_fill_static_apids()
1895 (void) snprintf(clp->ap_type, in cfga_list_ext()
1896 sizeof (clp->ap_type), "%s", in cfga_list_ext()
1899 (void) snprintf(clp->ap_type, in cfga_list_ext()
1900 sizeof (clp->ap_type), "%s", in cfga_list_ext()
1904 (void) snprintf(clp->ap_type, in cfga_list_ext()
1905 sizeof (clp->ap_type), "%s", in cfga_list_ext()
1908 (void) snprintf(clp->ap_type, in cfga_list_ext()
1909 sizeof (clp->ap_type), "%s", in cfga_list_ext()
1913 (void) snprintf(clp->ap_type, in cfga_list_ext()
[all …]
/illumos-gate/usr/src/head/
H A Dconfig_admin.h126 cfga_type_t ap_type; /* Occupant type */ member
141 cfga_type_t ap_type; /* Occupant type */ member
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c140 {"type", "Type", SZ_EL(ap_type), compare_type, print_type, set_type_flt},
1174 if (strlen(val) > sizeof (p->ap_type) - 1) in set_type_flt()
1177 (void) strcpy(p->ap_type, val); in set_type_flt()
1479 return (strncmp(p1->ap_type, p2->ap_type, strlen(p1->ap_type))); in compare_type()
1483 return (strncmp(p1->ap_type, p2->ap_type, in compare_type()
1484 sizeof (p2->ap_type))); in compare_type()
1497 (void) sprintf(lp, "%-*.*s", width, sizeof (p->ap_type), p->ap_type); in print_type()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c657 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), in do_stat_bus()
665 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), in do_stat_bus()
783 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s", S_STR(cp)); in get_hw_info()
/illumos-gate/usr/src/lib/cfgadm_plugins/ccid/common/
H A Dcfga_ccid.c392 if (strlcpy(cld->ap_type, "icc", sizeof (cld->ap_type)) >= in cfga_list_ext()
393 sizeof (cld->ap_type)) { in cfga_list_ext()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c1529 (void) strncpy(clp->ap_type, lap->xport_type, sizeof (clp->ap_type)); in do_stat_fca_xport()
3007 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), in init_ldata_for_accessible_dev()
3015 snprintf(clp->ap_type, sizeof (clp->ap_type), "%s", in init_ldata_for_accessible_dev()
3018 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), in init_ldata_for_accessible_dev()
3138 (void) strncpy(clp->ap_type, dtype, strlen(dtype)); in init_ldata_for_accessible_FCP_dev()
3322 if (clp->ap_type != NULL) { in get_hw_info()
3332 if (strncmp((char *)clp->ap_type, (char *)device_list[i].name, in get_hw_info()
3333 sizeof (clp->ap_type)) == 0) { in get_hw_info()
3342 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s", in get_hw_info()
3350 (void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s", in get_hw_info()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c1639 (void) strcpy((*ap_id_list)->ap_type, "usb-"); in cfga_list_ext()
1640 str_len = strlen((*ap_id_list)->ap_type); in cfga_list_ext()
1650 (void) strlcpy((*ap_id_list)->ap_type + str_len, str_p, in cfga_list_ext()
1651 sizeof ((*ap_id_list)->ap_type) - str_len); in cfga_list_ext()
1653 (void) strlcpy((*ap_id_list)->ap_type + str_len, "kbd", in cfga_list_ext()
1654 sizeof ((*ap_id_list)->ap_type) - str_len); in cfga_list_ext()
1659 (void) strcpy((*ap_id_list)->ap_type, in cfga_list_ext()
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c1660 (void) strlcpy((*ap_id_list)->ap_type, str_p, in cfga_list_ext()
1661 sizeof ((*ap_id_list)->ap_type)); in cfga_list_ext()
1669 if (strncmp((*ap_id_list)->ap_type, "sata-pmult", in cfga_list_ext()
1683 (*ap_id_list)->ap_type); in cfga_list_ext()
1703 (void) strlcpy((*ap_id_list)->ap_type, "pmult-port", in cfga_list_ext()
1704 sizeof ((*ap_id_list)->ap_type)); in cfga_list_ext()
1706 (void) strlcpy((*ap_id_list)->ap_type, "sata-port", in cfga_list_ext()
1707 sizeof ((*ap_id_list)->ap_type)); in cfga_list_ext()
/illumos-gate/usr/src/cmd/oplhpd/
H A Dscf_notify.c172 sizeof (stat->ap_type), stat->ap_type); in scf_get_slotinfo()
/illumos-gate/usr/src/uts/common/sys/
H A Dsad.h198 #define ap_type ap_common.apc_cmd macro
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c285 cm_info_func(cfga_ldata->ap_type)) != NULL) { in ri_init()
624 cm_rcm_qpass_func(cfga_ldata->ap_type)) != NULL && in rcm_query_init()
819 (*cm_rcm_qpass_func(cfga_type_t ap_type))(cfga_list_data_t *, rcmd_t *) in cm_rcm_qpass_func() argument
824 if (strcmp(cm_ctl[i].type, ap_type) == 0) { in cm_rcm_qpass_func()
923 (*cm_info_func(cfga_type_t ap_type))(ri_ap_t *, cfga_list_data_t *, in cm_info_func() argument
929 if (strcmp(cm_ctl[i].type, ap_type) == 0) { in cm_info_func()
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c407 parsable_strncpy(ap->ap_type, st->s_type, sizeof (ap->ap_type)); in ap_init()
1004 (void) strncpy(ap->ap_type, type, sizeof (ap->ap_type)); in ap_cm_init()
/illumos-gate/usr/src/uts/common/io/
H A Dsad.c508 if ((ap->ap_type == SAP_RANGE) && in apush_iocdata()
519 if ((ap->ap_type == SAP_ALL) && in apush_iocdata()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c631 HAL_DEBUG ((" Ap-Type: %s, State: %d", cfg_stat->ap_type, in sysevent_process_dr()
633 if (strcmp (cfg_stat->ap_type, "CPU") == 0) { in sysevent_process_dr()
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_cfga.c190 dprint(lvl, "%sAP type = %s\n", prestr, datap->ap_type); in pcidr_print_cfga()
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c3167 (void) snprintf(lp->ap_type, sizeof (lp->ap_type), "%s", in stat_to_list()
3168 statp->ap_type); in stat_to_list()
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c1335 (void) strcpy(cs->ap_type, type_str(sc->type)); in sysc_cvt()
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1546 get_type(boardtype, cardtype, (*cs)->ap_type); in cfga_list_ext()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c16211 const char *ap_type; in sata_ioctl_get_ap_type() local
16224 ap_type = "port"; in sata_ioctl_get_ap_type()
16229 ap_type = "disk"; in sata_ioctl_get_ap_type()
16233 ap_type = "cd/dvd"; in sata_ioctl_get_ap_type()
16237 ap_type = "tape"; in sata_ioctl_get_ap_type()
16241 ap_type = "processor"; in sata_ioctl_get_ap_type()
16245 ap_type = "sata-pmult"; in sata_ioctl_get_ap_type()
16249 ap_type = "unknown"; in sata_ioctl_get_ap_type()
16253 ap_type = "unsupported"; in sata_ioctl_get_ap_type()
16258 type_len = strlen(ap_type) + 1; in sata_ioctl_get_ap_type()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c1364 (void) strcpy(cs->ap_type, "memory"); in mema_cvt()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c735 log_printf("%-11s ", dat.ap_type, 0); in serengeti_display_board_info()
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1692 get_type(boardtype, cardinfo, (*cs)->ap_type); in cfga_list_ext()