ap_type
if (strlen(val) > sizeof (p->ap_type) - 1)
(void) strcpy(p->ap_type, val);
{"type", "Type", SZ_EL(ap_type), compare_type, print_type, set_type_flt},
return (strncmp(p1->ap_type, p2->ap_type, strlen(p1->ap_type)));
return (strncmp(p1->ap_type, p2->ap_type,
sizeof (p2->ap_type)));
(void) sprintf(lp, "%-*.*s", width, sizeof (p->ap_type), p->ap_type);
cm_info_func(cfga_ldata->ap_type)) != NULL) {
cm_rcm_qpass_func(cfga_ldata->ap_type)) != NULL &&
(*cm_rcm_qpass_func(cfga_type_t ap_type))(cfga_list_data_t *, rcmd_t *)
if (strcmp(cm_ctl[i].type, ap_type) == 0) {
(*cm_info_func(cfga_type_t ap_type))(ri_ap_t *, cfga_list_data_t *,
if (strcmp(cm_ctl[i].type, ap_type) == 0) {
HAL_DEBUG ((" Ap-Type: %s, State: %d", cfg_stat->ap_type,
if (strcmp (cfg_stat->ap_type, "CPU") == 0) {
sizeof (stat->ap_type), stat->ap_type);
dprint(lvl, "%sAP type = %s\n", prestr, datap->ap_type);
cfga_type_t ap_type; /* Occupant type */
cfga_type_t ap_type; /* Occupant type */
(void) strcpy(cs->ap_type, "memory");
if (strlcpy(cld->ap_type, "icc", sizeof (cld->ap_type)) >=
sizeof (cld->ap_type)) {
(void) strncpy(clp->ap_type, lap->xport_type, sizeof (clp->ap_type));
(void) snprintf(clp->ap_type, sizeof (clp->ap_type),
snprintf(clp->ap_type, sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type, sizeof (clp->ap_type),
(void) strncpy(clp->ap_type, dtype, strlen(dtype));
if (clp->ap_type != NULL) {
if (strncmp((char *)clp->ap_type, (char *)device_list[i].name,
sizeof (clp->ap_type)) == 0) {
(void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s",
(void) strlcpy(clp->ap_type, IB_FABRIC_TYPE,
sizeof (clp->ap_type)); /* Fill in type */
(void) strlcpy(clp->ap_type, IB_HCA_TYPE,
sizeof (clp->ap_type)); /* Fill in type */
(void) snprintf(clp->ap_type,
sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type,
sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type,
sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type,
sizeof (clp->ap_type), "%s",
(void) snprintf(clp->ap_type,
sizeof (clp->ap_type), "%s",
get_type(boardtype, cardinfo, (*cs)->ap_type);
(void) strlcpy((*ap_id_list)->ap_type, str_p,
sizeof ((*ap_id_list)->ap_type));
if (strncmp((*ap_id_list)->ap_type, "sata-pmult",
(*ap_id_list)->ap_type);
(void) strlcpy((*ap_id_list)->ap_type, "pmult-port",
sizeof ((*ap_id_list)->ap_type));
(void) strlcpy((*ap_id_list)->ap_type, "sata-port",
sizeof ((*ap_id_list)->ap_type));
(void) strncpy(ap->ap_type, type, sizeof (ap->ap_type));
parsable_strncpy(ap->ap_type, st->s_type, sizeof (ap->ap_type));
(void) snprintf(clp->ap_type, sizeof (clp->ap_type),
(void) snprintf(clp->ap_type, sizeof (clp->ap_type),
(void) snprintf(clp->ap_type, sizeof (clp->ap_type), "%s", S_STR(cp));
get_type(boardtype, cardtype, (*cs)->ap_type);
(void) strcpy(cs->ap_type, type_str(sc->type));
(void) strcpy((*ap_id_list)->ap_type, "usb-");
str_len = strlen((*ap_id_list)->ap_type);
(void) strlcpy((*ap_id_list)->ap_type + str_len, str_p,
sizeof ((*ap_id_list)->ap_type) - str_len);
(void) strlcpy((*ap_id_list)->ap_type + str_len, "kbd",
sizeof ((*ap_id_list)->ap_type) - str_len);
(void) strcpy((*ap_id_list)->ap_type,
(void) snprintf(lp->ap_type, sizeof (lp->ap_type), "%s",
statp->ap_type);
log_printf("%-11s ", dat.ap_type, 0);
if ((ap->ap_type == SAP_RANGE) &&
if ((ap->ap_type == SAP_ALL) &&
const char *ap_type;
ap_type = "port";
ap_type = "disk";
ap_type = "cd/dvd";
ap_type = "tape";
ap_type = "processor";
ap_type = "sata-pmult";
ap_type = "unknown";
ap_type = "unsupported";
type_len = strlen(ap_type) + 1;
if (ddi_copyout((void *)ap_type, ioc->buf,