Home
last modified time | relevance | path

Searched refs:topo_df (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c2474 amdzen_topo_df_t topo_df; in amdzen_topo_ioctl_df() local
2487 bzero(&topo_df, sizeof (topo_df)); in amdzen_topo_ioctl_df()
2488 topo_df.atd_dfno = topo_df32.atd_dfno; in amdzen_topo_ioctl_df()
2489 topo_df.atd_df_buf_nents = topo_df32.atd_df_buf_nents; in amdzen_topo_ioctl_df()
2490 topo_df.atd_df_ents = (void *)(uintptr_t)topo_df32.atd_df_ents; in amdzen_topo_ioctl_df()
2494 if (ddi_copyin((void *)(uintptr_t)arg, &topo_df, in amdzen_topo_ioctl_df()
2495 sizeof (topo_df), mode & FKIOCTL) != 0) { in amdzen_topo_ioctl_df()
2504 if (topo_df.atd_dfno >= azn->azn_ndfs) { in amdzen_topo_ioctl_df()
2509 df = &azn->azn_dfs[topo_df.atd_dfno]; in amdzen_topo_ioctl_df()
2510 topo_df.atd_nodeid = df->adf_nodeid; in amdzen_topo_ioctl_df()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen.c812 amdzen_topo_df_t *topo_df = &zen->zt_dfs[i]; in topo_zen_init() local
814 topo_df->atd_df_ents = topo_mod_zalloc(mod, in topo_zen_init()
816 if (topo_df->atd_df_ents == NULL) { in topo_zen_init()
822 topo_df->atd_df_buf_nents = zen->zt_base.atb_maxdfent; in topo_zen_init()
823 topo_df->atd_dfno = i; in topo_zen_init()
825 if (ioctl(zen->zt_fd, AMDZEN_TOPO_IOCTL_DF, topo_df) != 0) { in topo_zen_init()