/titanic_50/usr/src/uts/common/sys/ |
H A D | lgrp_user.h | 95 lgrp_id_t lgrp; /* lgroup */ 148 lgrp_id_t info_lgrpid; /* lgroup ID */ 247 lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp); 249 int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, 252 int lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, 253 lgrp_id_t *children, uint_t count); 257 int lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, 262 int lgrp_latency(lgrp_id_t from, lgrp_id_t to); 264 int lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, 265 lgrp_id_t to, lgrp_lat_between_t between); [all …]
|
H A D | lgrp.h | 228 lgrp_id_t lgrp_id; /* which lgroup */ 259 lgrp_id_t lpl_lgrpid; /* which group this lpl part of */ 364 lgrp_id_t mem_lgrpid; /* lgroup id */ 451 lgrp_id_t lgrpid; \ 462 lgrp_id_t lgrpid; \ 550 void lgrp_stat_add(lgrp_id_t, lgrp_stat_t, int64_t); 551 int64_t lgrp_stat_read(lgrp_id_t, lgrp_stat_t); 557 pgcnt_t lgrp_mem_size(lgrp_id_t, lgrp_mem_query_t); 576 int lgrp_query_cpu(processorid_t, lgrp_id_t *); 582 lpl_t *lgrp_affinity_best(kthread_t *, struct cpupart *, lgrp_id_t, [all …]
|
H A D | cpupart.h | 91 lgrp_id_t cp_lgrp_hint; /* last home lgroup chosen */
|
H A D | proc.h | 232 volatile lgrp_id_t p_t1_lgrpid; /* main's thread lgroup id */ 233 volatile lgrp_id_t p_tr_lgrpid; /* text replica's lgroup id */
|
H A D | types.h | 312 typedef id_t lgrp_id_t; /* lgroup ID */ typedef
|
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.xs | 113 lgrp_id_t *lgrps; \ 123 } else if (New(0, lgrps, nr, lgrp_id_t) == NULL) { \ 139 _lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, in _lgrp_latency_cookie() 224 lgrp_id_t lgrp; 232 lgrp_id_t lgrp; 251 lgrp_id_t 259 lgrp_latency(lgrp_id_t from,lgrp_id_t to) 266 lgrp_id_t lgrp 278 lgrp_id_t 292 lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, int between = 0) [all …]
|
H A D | typemap | 35 lgrp_id_t T_IV
|
/titanic_50/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 133 lgrp_id_t *lgrps; /* lgroups */ 161 static lgrp_id_t root = LGRP_NONE; 264 arg->nelements * sizeof (lgrp_id_t)); in lgrps_add_lgrp() 292 lgrps_bitmap_init(lgrp_cookie_t cookie, lgrp_id_t lgrpid, char **bitmap_array, in lgrps_bitmap_init() 295 lgrp_id_t *children; in lgrps_bitmap_init() 335 children = malloc(nchildren * sizeof (lgrp_id_t)); in lgrps_bitmap_init() 405 lgrp_id_t i; in parse_lgrps() 423 lgrp_id_t first; in parse_lgrps() 424 lgrp_id_t last; in parse_lgrps() 489 print_lgrps(lgrp_id_t *lgrps, int nlgrps) in print_lgrps() [all …]
|
/titanic_50/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 48 extern lgrp_id_t _lgrp_home_fast(void); 55 static int lgrp_cpus_hier(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, 85 lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp) in lgrp_affinity_get() 100 lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, in lgrp_affinity_set() 116 lgrp_id_t 213 prune_child(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp) in prune_child() 243 prune_cpus(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t *cpus, in prune_cpus() 591 lgrp_id_t 611 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, in lgrp_parents() 688 lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, in lgrp_children() [all …]
|
/titanic_50/usr/src/cmd/pools/poold/libjlgrp/ |
H A D | jlgrp.c | 141 lgrp_id_t *native_child; in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children() 154 nchild0 = (jsize)lgrp_children(cookie, (lgrp_id_t)id, NULL, 0); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children() 156 if ((native_child = calloc(nchild0, sizeof (lgrp_id_t))) == NULL) { in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children() 161 nchild = lgrp_children(cookie, (lgrp_id_t)id, native_child, nchild0); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children() 211 ncpus0 = (jsize)lgrp_cpus((lgrp_cookie_t)cookie, (lgrp_id_t)id, in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus() 219 ncpus = (jsize)lgrp_cpus((lgrp_cookie_t)cookie, (lgrp_id_t)id, in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus() 249 return ((jint) lgrp_latency((lgrp_id_t)from, (lgrp_id_t)to)); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1latency()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 339 lgrp_affinity_get_thread(proc_t *p, id_t lwpid, lgrp_id_t lgrp) in lgrp_affinity_get_thread() 393 lgrp_id_t lgrp; in lgrp_affinity_get() 480 lgrp_affinity_best(kthread_t *t, struct cpupart *cpupart, lgrp_id_t start, in lgrp_affinity_best() 486 lgrp_id_t finish; in lgrp_affinity_best() 487 lgrp_id_t home; in lgrp_affinity_best() 488 lgrp_id_t lgrpid; in lgrp_affinity_best() 586 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff, in lgrp_affinity_set_thread() 590 lgrp_id_t best; in lgrp_affinity_set_thread() 592 lgrp_id_t home; in lgrp_affinity_set_thread() 652 lgrp_affinity_set_proc(proc_t *p, lgrp_id_t lgrp, lgrp_affinity_t aff, in lgrp_affinity_set_proc() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | lgrp.c | 120 static void lgrp_kstat_reset(lgrp_id_t); 212 static void lgrp_cpu_fini(struct cpu *, lgrp_id_t); 225 static void lgrp_part_add_cpu(struct cpu *, lgrp_id_t); 300 lgrp_id_t id; in lgrp_root_init() 439 lgrp_id_t lgrpid; in lgrp_main_init() 563 lgrp_id_t id; in lgrp_config() 622 lgrp_part_add_cpu((cpu_t *)resource, (lgrp_id_t)where); in lgrp_config() 720 lgrp_id_t lgrpid; in lgrp_cpu_init() 843 lgrp_id_t lgrpid; in lgrp_create() 988 lgrp_id_t lgrpid; in lgrp_kstat_create() [all …]
|
H A D | lgrp_topo.c | 119 lgrp_rsets_delete(lgrp_t *lgrp, lgrp_id_t lgrpid, int follow_parent) in lgrp_rsets_delete() 169 lgrp_rsets_member(klgrpset_t *rset, lgrp_id_t lgrpid) in lgrp_rsets_member() 185 lgrp_rsets_member_all(klgrpset_t *rset, lgrp_id_t lgrpid) in lgrp_rsets_member_all() 237 lgrp_rsets_set(klgrpset_t *to, lgrp_id_t lgrpid) in lgrp_rsets_set() 260 lgrp_id_t lgrpid; in lgrp_ancestor_delete()
|
/titanic_50/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 79 lgrp_id_t pd_lgrp; /* lgroup of memory backing the page */ 125 uintptr_t, size_t, lgrp_id_t *); 127 static lgrp_id_t addr_to_lgrp(memory_chunk_t *, uintptr_t, size_t *); 128 static char *lgrp2str(lgrp_id_t); 692 lgrp_id_t lgrp; in look_map() 830 lgrp_id_t lgrp; in look_smap() 1276 lgrp2str(lgrp_id_t lgrp) in lgrp2str() 1537 pdp->pd_lgrp = (lgrp_id_t)*outptr; in mem_chunk_get() 1566 uintptr_t maxaddr, size_t pagesize, lgrp_id_t *ret_lgrp) in get_contiguous_region() 1569 lgrp_id_t lgrp; /* Lgroup of the region start */ in get_contiguous_region() [all …]
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | sched.d | 35 lgrp_id_t cpu_lgrp; /* locality group identifer */ 79 inline lgrp_id_t lgrp = curcpu->cpu_lgrp;
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | lgrp.c | 563 static lgrp_id_t 566 lgrp_id_t id; in lgrp_set_get_first() 599 lgrp_id_t id; in lgrp_set_walk_init() 663 lgrp_id_t id = 0; in lgrp_set_walk_step()
|
/titanic_50/usr/src/uts/sun4/os/ |
H A D | lgrpplat.c | 344 lgrp_plat_alloc(lgrp_id_t lgrpid) in lgrp_plat_alloc()
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gcore.h | 193 lgrp_id_t lpl_lgrpid;
|
/titanic_50/usr/src/uts/common/disp/ |
H A D | cpupart.c | 268 lgrp_id_t i; in cpupart_initialize_default() 326 lgrp_id_t lgrpid; in cpupart_move_cpu()
|
H A D | disp.c | 1925 lgrp_id_t local_id; in disp_getwork()
|
/titanic_50/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 1180 lgrp_id_t lgrpid = LGRP_NONE; in sfmmu_tsb_segkmem_alloc()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | lgrpplat.c | 423 lgrp_t *lgrp_plat_alloc(lgrp_id_t lgrpid); 741 lgrp_plat_alloc(lgrp_id_t lgrpid) in lgrp_plat_alloc()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | seg_vn.c | 9744 lgrp_id_t lgrp_id; in segvn_textrepl() 9745 lgrp_id_t olid; in segvn_textrepl() 9874 lgrp_id_t i; in segvn_textrepl() 9924 lgrp_id_t nlid = (olid == LGRP_NONE) ? lgrp_id : NLGRPS_MAX; in segvn_textrepl() 10027 lgrp_id_t lgrp_id = svd->tr_policy_info.mem_lgrpid; in segvn_textunrepl() 10028 lgrp_id_t i; in segvn_textunrepl() 10215 lgrp_id_t lgrp_id; in segvn_trupdate_seg()
|
H A D | vm_page.c | 2134 lgrp_id_t *lgrpid = (lgrp_id_t *)arg; in page_create_va_large()
|
/titanic_50/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 12804 lgrp_id_t lgrpid = LGRP_NONE; in sfmmu_init_tsbinfo()
|