/illumos-gate/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 fro [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 | types.h | 311 typedef id_t lgrp_id_t; /* lgroup ID */ typedef
|
H A D | proc.h | 233 volatile lgrp_id_t p_t1_lgrpid; /* main's thread lgroup id */ 234 volatile lgrp_id_t p_tr_lgrpid; /* text replica's lgroup id */
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.xs | 103 lgrp_id_t *lgrps; \ 113 } else if (New(0, lgrps, nr, lgrp_id_t) == NULL) { \ 129 _lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, 214 lgrp_id_t lgrp; 222 lgrp_id_t lgrp; 241 lgrp_id_t 249 lgrp_latency(lgrp_id_t from,lgrp_id_t to) 256 lgrp_id_t lgr [all...] |
/illumos-gate/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) 100 lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, 116 lgrp_id_t 213 prune_child(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp) 243 prune_cpus(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t *cpus, 591 lgrp_id_t 611 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parent [all...] |
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/ |
H A D | jlgrp.c | 141 lgrp_id_t *native_child; 154 nchild0 = (jsize)lgrp_children(cookie, (lgrp_id_t)id, NULL, 0); 156 if ((native_child = calloc(nchild0, sizeof (lgrp_id_t))) == NULL) { 161 nchild = lgrp_children(cookie, (lgrp_id_t)id, native_child, nchild0); 211 ncpus0 = (jsize)lgrp_cpus((lgrp_cookie_t)cookie, (lgrp_id_t)id, 219 ncpus = (jsize)lgrp_cpus((lgrp_cookie_t)cookie, (lgrp_id_t)id, 249 return ((jint) lgrp_latency((lgrp_id_t)from, (lgrp_id_t)to));
|
/illumos-gate/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)); 292 lgrps_bitmap_init(lgrp_cookie_t cookie, lgrp_id_t lgrpid, char **bitmap_array, 295 lgrp_id_t *children; 335 children = malloc(nchildren * sizeof (lgrp_id_t)); 405 lgrp_id_t i; 423 lgrp_id_t first; 424 lgrp_id_t last; 489 print_lgrps(lgrp_id_t *lgrp [all...] |
/illumos-gate/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;
|
/illumos-gate/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; 439 lgrp_id_t lgrpid; 563 lgrp_id_t id; 622 lgrp_part_add_cpu((cpu_t *)resource, (lgrp_id_t)where); 720 lgrp_id_t lgrpid; 843 lgrp_id_t lgrpid; 988 lgrp_id_t lgrpi [all...] |
H A D | lgrp_topo.c | 119 lgrp_rsets_delete(lgrp_t *lgrp, lgrp_id_t lgrpid, int follow_parent) 169 lgrp_rsets_member(klgrpset_t *rset, lgrp_id_t lgrpid) 185 lgrp_rsets_member_all(klgrpset_t *rset, lgrp_id_t lgrpid) 237 lgrp_rsets_set(klgrpset_t *to, lgrp_id_t lgrpid) 260 lgrp_id_t lgrpid;
|
/illumos-gate/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) 393 lgrp_id_t lgrp; 480 lgrp_affinity_best(kthread_t *t, struct cpupart *cpupart, lgrp_id_t start, 486 lgrp_id_t finish; 487 lgrp_id_t home; 488 lgrp_id_t lgrpid; 586 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff, 590 lgrp_id_t best; 592 lgrp_id_t home; 652 lgrp_affinity_set_proc(proc_t *p, lgrp_id_t lgr [all...] |
/illumos-gate/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; 830 lgrp_id_t lgrp; 1276 lgrp2str(lgrp_id_t lgrp) 1537 pdp->pd_lgrp = (lgrp_id_t)*outptr; 1566 uintptr_t maxaddr, size_t pagesize, lgrp_id_t *ret_lgrp) 1569 lgrp_id_t lgr [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | lgrp.c | 563 static lgrp_id_t 566 lgrp_id_t id; 599 lgrp_id_t id; 663 lgrp_id_t id = 0;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | lgrpplat.c | 344 lgrp_plat_alloc(lgrp_id_t lgrpid)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gcore.h | 193 lgrp_id_t lpl_lgrpid;
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 268 lgrp_id_t i; 326 lgrp_id_t lgrpid;
|
H A D | disp.c | 1909 lgrp_id_t local_id;
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 1180 lgrp_id_t lgrpid = LGRP_NONE;
|
/illumos-gate/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)
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.c | 9744 lgrp_id_t lgrp_id; 9745 lgrp_id_t olid; 9874 lgrp_id_t i; 9924 lgrp_id_t nlid = (olid == LGRP_NONE) ? lgrp_id : NLGRPS_MAX; 10027 lgrp_id_t lgrp_id = svd->tr_policy_info.mem_lgrpid; 10028 lgrp_id_t i; 10215 lgrp_id_t lgrp_id;
|
H A D | vm_page.c | 2134 lgrp_id_t *lgrpid = (lgrp_id_t *)arg;
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 12812 lgrp_id_t lgrpid = LGRP_NONE;
|