Searched refs:lgrp (Results 1 - 25 of 86) sorted by relevance

1234

/opensolaris-onvv-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl244 # Walk through each requested lgrp and print whatever is requested.
245 foreach my $lgrp (@lgrp_list) {
246 my $is_leaf = $l->isleaf($lgrp);
249 my $prefix = ($lgrp == $root) ?
251 printf gettext("lgroup %d (%s):"), $lgrp, $prefix;
254 # Get children of this lgrp.
255 my @children = $l->children($lgrp);
259 # Are there any parents for this lgrp?
260 my @parents = $l->parents($lgrp);
267 $cpus = lgrp_showcpus($lgrp, LGRP_CONTENT_HIERARCH
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c30 #include <sys/lgrp.h>
119 lgrp_rsets_delete(lgrp_t *lgrp, lgrp_id_t lgrpid, int follow_parent) argument
123 while (lgrp != NULL) {
125 klgrpset_del(lgrp->lgrp_set[i], lgrpid);
128 lgrp = lgrp->lgrp_parent;
203 lgrp_rsets_replace(klgrpset_t *rset, int latency, lgrp_t *lgrp, int shift) argument
211 cur = lgrp;
306 " lgrp %d at 0x%p\n",
386 "lgrp
482 lgrp_t *lgrp; local
718 lgrp_t *lgrp; local
807 lgrp_topo_height(lgrp_t *lgrp) argument
1196 lgrp_t *lgrp; local
1253 lgrp_t *lgrp; local
1345 lgrp_t *lgrp; local
1464 lgrp_t *lgrp; local
1538 lgrp_print(lgrp_t *lgrp) argument
1581 lgrp_t *lgrp; local
[all...]
H A Dlgrp.c69 #include <sys/lgrp.h>
111 extern struct lgrp_stats lgrp_stats[]; /* table of per-lgrp stats */
138 * During system bootstrap cp_default does not contain the list of lgrp load
147 * The lpl_bootstrap_list is maintained by the code in lgrp.c. Every other
152 * lgrp will use lpl_bootstrap as a default lpl. This is necessary because
164 * an lgrp. lgrp_mem_choose() uses this macro to detect the case where
165 * a thread is trying to allocate memory close to a CPU that has no lgrp.
422 * true when lgrp initialization has been completed.
427 * True when lgrp topology is constructed.
474 * Notify the PG subsystem that the CPU's lgrp
539 lgrp_t *lgrp; local
801 lgrp_t *lgrp; local
915 lgrp_destroy(lgrp_t *lgrp) argument
1080 lgrp_t *lgrp; local
1107 lgrp_t *lgrp; local
1334 lgrp_t *lgrp; local
1422 lgrp_t *lgrp = lgrp_table[i]; local
1492 lgrp_t *lgrp; local
1514 lgrp_t *lgrp; local
1541 lgrp_t *lgrp; local
1565 lgrp_id_t lgrp; local
1596 lgrp_t *lgrp; local
1616 lgrp_t *lgrp; local
1649 lgrp_sum_loadavgs(lgrp_t *lgrp) argument
1733 lgrp_t *lgrp; local
2022 lpl_init(lpl_t *lpl, lpl_t *lpl_leaf, lgrp_t *lgrp) argument
2076 lgrp_t *lgrp; local
3630 lgrp_t *lgrp; local
3880 lgrp_t *lgrp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.xs90 #define LGRP_RESOURCES(c, lgrp, type) \
101 #define LGRP_RESOURCES(c, lgrp, type) { \
106 nr = lgrp_resources(c, lgrp, NULL, 0, type); \
117 nr = lgrp_resources(c, lgrp, lgrps, nr, type); \
211 lgrp_affinity_get(idtype, id, lgrp)
214 lgrp_id_t lgrp;
219 lgrp_affinity_set(idtype, id, lgrp, affinity)
222 lgrp_id_t lgrp;
254 lgrp_mem_size(cookie, lgrp, type, content)
256 lgrp_id_t lgrp
[all...]
/opensolaris-onvv-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c55 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) argument
91 args.lgrp = lgrp;
100 lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, argument
107 args.lgrp = lgrp;
213 prune_child(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp) argument
219 if (snap == NULL || lgrp < 0 || lgrp > sna
243 prune_cpus(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t *cpus, int ncpus) argument
611 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, uint_t count) argument
688 lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, uint_t count) argument
762 lgrp_cpus_hier(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t **cpuids, uint_t *count) argument
834 lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, processorid_t *cpuids, uint_t count, lgrp_content_t content) argument
911 lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_mem_size_flag_t type, lgrp_content_t content) argument
1021 lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlgrp.c29 #include "lgrp.h"
33 #include <sys/lgrp.h>
104 lgrp_t lgrp; local
108 if (mdb_vread(&lgrp, sizeof (struct lgrp), wsp->walk_addr) == -1) {
109 mdb_warn("couldn't read 'lgrp' at %p", wsp->walk_addr);
113 lcw->lcw_firstcpu = (uintptr_t)lgrp.lgrp_cpu;
114 lcw->lcw_cpusleft = lgrp.lgrp_cpucnt;
176 * each lgrp by processor set.
225 lgrp(uintptr_ function
227 lgrp_t lgrp; local
481 lgrp_t lgrp; local
540 lgrp_t lgrp; local
690 lgrp_t lgrp; local
[all...]
H A Dlgrp.h51 extern int lgrp(uintptr_t, uint_t, int, const mdb_arg_t *);
H A DMakefile.files54 lgrp.c \
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h42 #include <sys/lgrp.h>
95 lgrp_id_t lgrp; /* lgroup */ member in struct:lgrp_affinity_args
249 lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
251 int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp,
254 int lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp,
259 int lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp,
273 lgrp_mem_size_t lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp,
278 int lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp,
281 int lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp,
H A Dlgrp.h56 typedef uintptr_t lgrp_handle_t; /* lgrp handle */
135 * Define all of the statistics that are kept for lgrp kstats,
140 LGRP_NUM_MIGR, /* # migrations away from this lgrp */
141 LGRP_NUM_ALLOC_FAIL, /* # times alloc fails for chosen lgrp */
142 LGRP_PM_SRC_PGS, /* # pages migrated from this lgrp */
143 LGRP_PM_DEST_PGS, /* # pages migrated to this lgrp */
144 LGRP_PM_FAIL_ALLOC_PGS, /* # pages failed to migrate to this lgrp */
145 LGRP_PM_FAIL_LOCK_PGS, /* # pages failed to migrate from this lgrp */
146 LGRP_PMM_PGS, /* # pages marked to migrate from this lgrp */
147 LGRP_PMM_FAIL_PGS, /* # pages marked to migrate from this lgrp */
226 typedef struct lgrp { struct
[all...]
H A Dcmt.h40 #include <sys/lgrp.h>
H A Dcpupart.h33 #include <sys/lgrp.h>
86 /* partition, indexed by lgrp ID */
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod51 lgrp_affinity_set(P_PID, $pid, $lgrp,
53 $l->affinity_set(P_PID, $pid, $lgrp,
56 my $affinity = lgrp_affinity_get(P_PID, $pid, $lgrp);
57 $affinity = $l->affinity_get(P_PID, $pid, $lgrp);
68 my @children = lgrp_children($cookie, $lgrp);
69 @children = l->children($lgrp);
71 my @parents = lgrp_parents($cookie, $lgrp);
72 @parents = l->parents($lgrp);
77 @lgrps = lgrp_lgrps($cookie, $lgrp);
78 @lgrps = l->lgrps($lgrp);
[all...]
/opensolaris-onvv-gate/usr/src/lib/liblgrp/
H A DMakefile.com31 OBJECTS= lgrp.o
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sam.c311 smb_group_t lgrp; local
318 while (smb_lgrp_iterate(&gi, &lgrp) == SMB_LGRP_SUCCESS) {
319 if (smb_lgrp_is_member(&lgrp, user_sid))
321 smb_lgrp_free(&lgrp);
337 while (smb_lgrp_iterate(&gi, &lgrp) == SMB_LGRP_SUCCESS) {
339 smb_lgrp_free(&lgrp);
342 if (smb_lgrp_is_member(&lgrp, user_sid)) {
343 ids->i_sid = smb_sid_dup(lgrp.sg_id.gs_sid);
345 smb_lgrp_free(&lgrp);
348 ids->i_attrs = lgrp
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/disp/
H A Dcmt.c39 #include <sys/lgrp.h>
87 static cmt_lgrp_t *cpu0_lgrp = NULL; /* boot CPU's initial lgrp */
509 cmt_lgrp_t *lgrp; local
619 * Find the lgrp that encapsulates this CPU's CMT hierarchy
622 if ((lgrp = pg_cmt_find_lgrp(lgrp_handle)) == NULL)
623 lgrp = pg_cmt_lgrp_create(lgrp_handle);
699 ASSERT(pg->cmt_siblings == &lgrp->cl_pgs ||
708 pg->cmt_siblings = &lgrp->cl_pgs;
709 children = ++lgrp->cl_npgs;
710 if (cmt_root != lgrp)
775 cmt_lgrp_t *lgrp; local
1216 cmt_lgrp_t *lgrp; local
1235 cmt_lgrp_t *lgrp; local
1741 lgrp_handle_t lgrp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dlgrpsys.c39 #include <sys/lgrp.h>
62 lgrp_t *lgrp; local
162 lgrp = lgrp_pfn_to_lgrp(pfn);
163 if (lgrp) {
164 out_array[i] = lgrp->lgrp_id;
207 lgrp = lgrp_pfn_to_lgrp(pfn);
208 if (lgrp) {
210 lgrp->lgrp_id;
321 lgrp_affinity_get_thread(proc_t *p, id_t lwpid, lgrp_id_t lgrp) argument
352 aff = t->t_lgrp_affinity[lgrp];
375 lgrp_id_t lgrp; local
568 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff, lgrp_affinity_t **aff_buf) argument
634 lgrp_affinity_set_proc(proc_t *p, lgrp_id_t lgrp, lgrp_affinity_t aff, lgrp_affinity_t **aff_buf_array) argument
691 lgrp_id_t lgrp; local
1413 lgrp_t *lgrp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/sys/
H A Dmemnode.h35 #include <sys/lgrp.h>
/opensolaris-onvv-gate/usr/src/uts/sun4/os/
H A Dlgrpplat.c28 #include <sys/lgrp.h>
60 * Allocate lgrp and lgrp stat arrays statically.
346 lgrp_t *lgrp; local
348 lgrp = &lgrp_space[nlgrps_alloc++];
351 return (lgrp);
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/
H A Dsched.d79 inline lgrp_id_t lgrp = curcpu->cpu_lgrp;
80 #pragma D attributes Stable/Stable/Common lgrp
81 #pragma D binding "1.0" lgrp
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t114 # Each lgrp other than root should have a single parent and
138 # lgrp_affinity-set should change home lgrp.
142 my $leaf = $leaves[0]; # Pickup any non-root lgrp.
145 # Pickup any lgrp not equal to the current one.
146 my $lgrp = ($home == $root ? $leaf : $root);
147 # Set affinity to the new lgrp.
148 $c->affinity_set(P_PID, P_MYID, $lgrp, LGRP_AFF_STRONG) or
150 # Our home should change to a new lgrp.
152 is($home, $lgrp, 'Home lgrp shoul
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4/sys/
H A Dmemnode.h35 #include <sys/lgrp.h>
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/
H A Dmpo.h34 #include <sys/lgrp.h>
/opensolaris-onvv-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c692 lgrp_id_t lgrp; local
761 segment_end, pmp->pr_pagesize, &lgrp);
768 lgrp2str(lgrp), lname);
830 lgrp_id_t lgrp; local
906 segment_end, pmp->pr_pagesize, &lgrp);
911 lgrp2str(lgrp), lname);
1276 lgrp2str(lgrp_id_t lgrp) argument
1281 (void) sprintf(str, lgrp == LGRP_NONE ? " -" : "%4d", lgrp);
1569 lgrp_id_t lgrp; /* Lgrou local
1614 lgrp_id_t lgrp = LGRP_NONE; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/vm/
H A Dseg_spt.h39 #include <sys/lgrp.h>

Completed in 237 milliseconds

1234