Searched refs:pg_t (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/uts/common/sys/ |
H A D | pg.h | 80 } pg_t; typedef 126 pg_t *pg; 136 (itr).pg = ((pg_t *)pgrp); \ 143 (GROUP_SIZE(&((pg_t *)pgrp)->pg_cpus) > 0 ? \ 144 GROUP_ACCESS(&((pg_t *)pgrp)->pg_cpus, 0) : NULL) 180 pg_t *pg_create(pg_cid_t); 181 void pg_destroy(pg_t *); 182 void pg_cpu_add(pg_t *, cpu_t *, cpu_pg_t *); 183 void pg_cpu_delete(pg_t *, cpu_t *, cpu_pg_t *); 184 pg_t *pg_cpu_find_pg(cpu_t *, group_t *); [all …]
|
H A D | pghw.h | 115 pg_t pghw_pg; /* processor group */
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | cmt.c | 134 #define IS_CMT_PG(pg) (((pg_t *)(pg))->pg_class->pgc_id == pg_cmt_class_id) 138 static pg_t *pg_cmt_alloc(); 139 static void pg_cmt_free(pg_t *); 146 static char *pg_cmt_policy_name(pg_t *); 149 static int pg_cmt_cpu_belongs(pg_t *, cpu_t *); 153 static void cmt_ev_thread_swtch(pg_t *, cpu_t *, hrtime_t, 155 static void cmt_ev_thread_swtch_pwr(pg_t *, cpu_t *, hrtime_t, 157 static void cmt_ev_thread_remain_pwr(pg_t *, cpu_t *, kthread_t *); 218 static pg_t * 228 pg_cmt_free(pg_t *pg) in pg_cmt_free() [all …]
|
H A D | cmt_policy.c | 180 ((pg_t *)pg_tmp)->pg_id)) { in cmt_balance()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | pg.c | 98 static pg_t *pg_alloc_default(pg_class_t); 99 static void pg_free_default(pg_t *); 337 pg_t * 340 pg_t *pg; in pg_cpu_find_pg() 362 pg_t *pg = itr->pg; in pg_cpu_next() 372 pg_cpu_find(pg_t *pg, cpu_t *cp) in pg_cpu_find() 384 pg_callback_set_defaults(pg_t *pg) in pg_callback_set_defaults() 393 pg_t * 396 pg_t *pg; in pg_create() 438 pg_destroy(pg_t *pg) in pg_destroy() [all …]
|
H A D | pghw.c | 511 if ((pg->pghw_kstat = kstat_create("pg", ((pg_t *)pg)->pg_id, in pghw_kstat_create() 533 if ((pg->pghw_cu_kstat = kstat_create("pg_hw_perf", ((pg_t *)pg)->pg_id, in pghw_kstat_create() 559 pgsp->pg_id.value.ui32 = ((pg_t *)pg)->pg_id; in pghw_kstat_update() 560 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_kstat_update() 562 kstat_named_setstr(&pgsp->pg_class, ((pg_t *)pg)->pg_class->pgc_name); in pghw_kstat_update() 564 kstat_named_setstr(&pgsp->pg_policy, pg_policy_name((pg_t *)pg)); in pghw_kstat_update() 586 pgsp->pg_id.value.i32 = ((pg_t *)pg)->pg_id; in pghw_cu_kstat_update() 589 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cu_kstat_update() 622 (void) group2intlist(&(((pg_t *)pg)->pg_cpus), in pghw_cu_kstat_update() 673 uint_t ncpus = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cpulist_alloc() [all …]
|
H A D | cap_util.c | 1351 kstat->cu_pg_id.value.i32 = ((pg_t *)pg)->pg_id; in cu_cpu_kstat_update()
|
/titanic_41/usr/src/uts/intel/ia32/os/ |
H A D | cpc_subr.c | 197 pg_t *chip_pg; in kcpc_hw_cpu_hook() 216 chip_pg = (pg_t *)pghw_find_pg(cpu, PGHW_CHIP); in kcpc_hw_cpu_hook()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | pg.c | 72 pg_t pg; in pg()
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetahplus.c | 1337 pg_t *pg; in cpu_get_sibling_core() 1342 pg = (pg_t *)pghw_find_pg(cpup, PGHW_CHIP); in cpu_get_sibling_core()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 838 ilbd_destroy_pg(ilbd_scf_pg_type_t pg_t, const char *pgname) in ilbd_destroy_pg() argument 847 ilbd_name_to_scfpgname(pg_t, pgname, scfname); in ilbd_destroy_pg()
|