Lines Matching refs:dst

230 	sbd_dev_stat_t *dst;
279 for (dst = st->s_stat, i = 0; i < st->s_nstat; i++, dst++) {
282 dst->ds_name, dst->ds_unit, dst->ds_type);
284 if (dst->ds_unit != a->cnum)
293 dn = dst->ds_name;
297 a->tgt = ap_cm_tgt(dst->ds_type);
298 a->cmstat = (void *)dst;
458 sbd_dev_stat_t *dst;
471 dst = ((sbd_stat_t *)a->stat)->s_stat;
477 for (i = 0; i < a->ncm; i++, dst++)
478 if (SBD_CHECK_SUSPEND(ioc, dst->ds_suspend))
481 dst = (sbd_dev_stat_t *)a->cmstat;
482 if (SBD_CHECK_SUSPEND(ioc, dst->ds_suspend))
769 ap_dev_type(sbd_dev_stat_t *dst)
773 switch (dst->ds_type) {
791 DBG("ap_dev_type(%d)=%s\n", dst->ds_type, type);
814 sbd_io_stat_t *dst;
824 dst = (sbd_io_stat_t *)a->cmstat;
828 dst = (sbd_io_stat_t *)st->s_stat + seq;
831 if (dst->is_type != SBD_COMP_IO)
834 path = dst->is_pathname;
856 sbd_dev_stat_t *dst;
858 dst = ap_cm_stat(a, seq);
860 unit = dst->ds_unit;
861 name = dst->ds_name;
883 sbd_dev_stat_t *dst;
885 dst = ap_cm_stat(a, seq);
887 switch (dst->ds_type) {
911 sbd_dev_stat_t *dst;
914 dst = ap_cm_stat(a, seq);
916 switch (dst->ds_type) {
923 ncap = ((sbd_cmp_stat_t *)dst)->ps_ncores;
937 sbd_dev_stat_t *dst;
943 dst = ap_cm_stat(a, seq);
944 os = (cfga_stat_t)dst->ds_ostate;
952 switch (dst->ds_type) {
954 sbd_cpu_stat_t *cpu = (sbd_cpu_stat_t *)dst;
959 sbd_mem_stat_t *mem = (sbd_mem_stat_t *)dst;
964 sbd_cmp_stat_t *cmp = (sbd_cmp_stat_t *)dst;
993 sbd_dev_stat_t *dst;
996 dst = st->s_stat + seq;
997 type = ap_dev_type(dst);
999 a->cmstat = (void *)dst;
1002 a->bnum, st->s_rstate, dst->ds_ostate, type, seq);
1006 ap->ap_o_state = (cfga_stat_t)dst->ds_ostate;
1007 ap->ap_cond = (cfga_cond_t)dst->ds_cond;
1008 ap->ap_busy = (cfga_busy_t)dst->ds_busy;
1009 ap->ap_status_time = dst->ds_time;
1010 ap_info(a, ap->ap_info, ap_cm_tgt(dst->ds_type));
1017 sbd_dev_stat_t *dst;
1020 dst = (sbd_dev_stat_t *)a->cmstat;
1035 *os = (cfga_stat_t)dst->ds_ostate;
1107 sbd_cpu_stat_t *dst;
1112 dst = (sbd_cpu_stat_t *)a->cmstat;
1119 info += snprintf(info, end - info, p[CI_CPUID], dst->cs_cpuid);
1120 info += snprintf(info, end - info, p[CI_SPEED], dst->cs_speed);
1121 info += snprintf(info, end - info, p[CI_ECACHE], dst->cs_ecache);
1189 sbd_mem_stat_t *dst;
1195 dst = (sbd_mem_stat_t *)a->cmstat;
1203 pages_to_bytes(dst->ms_basepfn));
1205 pages_to_kbytes(dst->ms_totpages));
1207 if (dst->ms_noreloc_pages)
1209 pages_to_kbytes(dst->ms_noreloc_pages));
1210 if (!dst->ms_cage_enabled)
1212 if (dst->ms_interleave)
1220 if (str_valid(dst->ms_peer_ap_id)) {
1227 DEVDIR, dst->ms_peer_ap_id);
1244 if (dst->ms_peer_is_target) {
1256 (dst->ms_detpages != 0 && dst->ms_detpages != dst->ms_totpages)) {
1258 pages_to_kbytes(dst->ms_detpages));
1260 pages_to_kbytes(dst->ms_totpages -
1261 dst->ms_detpages));
1284 sbd_io_stat_t *dst;
1287 dst = (sbd_io_stat_t *)a->cmstat;
1294 info += snprintf(info, end - info, p[II_DEVICE], dst->is_pathname);
1295 if (dst->is_referenced)
1332 sbd_cmp_stat_t *dst;
1337 dst = (sbd_cmp_stat_t *)a->cmstat;
1345 info += snprintf(info, end - info, p[PI_CPUID], dst->ps_cpuid[0]);
1352 for (i = 1; i < (dst->ps_ncores - 1); i++) {
1354 dst->ps_cpuid[i]);
1358 if (dst->ps_ncores > 1) {
1359 last = (dst->ps_ncores == 2) ? PI_CPUID_PAIR : PI_CPUID_LAST;
1361 dgettext(TEXT_DOMAIN, p[last]), dst->ps_cpuid[i]);
1364 info += snprintf(info, end - info, p[PI_SPEED], dst->ps_speed);
1365 info += snprintf(info, end - info, p[PI_ECACHE], dst->ps_ecache);