Home
last modified time | relevance | path

Searched refs:psetid_t (Results 1 – 25 of 29) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/
H A Dpset.h41 typedef int psetid_t; typedef
57 extern int pset_create(psetid_t *);
58 extern int pset_destroy(psetid_t);
59 extern int pset_assign(psetid_t, processorid_t, psetid_t *);
60 extern int pset_info(psetid_t, int *, uint_t *, processorid_t *);
61 extern int pset_bind(psetid_t, idtype_t, id_t, psetid_t *);
62 extern int pset_bind_lwp(psetid_t, id_t, pid_t, psetid_t *);
63 extern int pset_getloadavg(psetid_t, double [], int);
64 extern int pset_list(psetid_t *, uint_t *);
65 extern int pset_setattr(psetid_t, uint_t);
[all …]
H A Dpool_pset.h49 psetid_t pset_id; /* pset ID */
62 extern int pool_pset_create(psetid_t *);
63 extern int pool_pset_destroy(psetid_t);
64 extern int pool_pset_assoc(poolid_t, psetid_t);
65 extern void pool_pset_bind(proc_t *, psetid_t, void *, void *);
67 extern int pool_pset_proprm(psetid_t, char *);
68 extern int pool_pset_propput(psetid_t, nvpair_t *);
69 extern int pool_pset_propget(psetid_t, char *, nvlist_t *);
81 extern void pool_pset_visibility_add(psetid_t, struct zone *);
82 extern void pool_pset_visibility_remove(psetid_t, struct zone *);
H A Dcpupart.h137 extern cpupart_t *cpupart_find(psetid_t);
138 extern int cpupart_create(psetid_t *);
139 extern int cpupart_destroy(psetid_t);
140 extern psetid_t cpupart_query_cpu(cpu_t *);
141 extern int cpupart_attach_cpu(psetid_t, cpu_t *, int);
142 extern int cpupart_get_cpus(psetid_t *, processorid_t *, uint_t *);
143 extern int cpupart_bind_thread(kthread_id_t, psetid_t, int, void *,
146 extern int cpupart_get_loadavg(psetid_t, int *, int);
147 extern uint_t cpupart_list(psetid_t *, uint_t, int);
148 extern int cpupart_setattr(psetid_t, uint_t);
[all …]
H A Dzone.h516 psetid_t zone_psetid; /* pset the zone is bound to */
810 extern psetid_t zone_pset_get(zone_t *);
811 extern void zone_pset_set(zone_t *, psetid_t);
H A Dlgrp_user.h186 psetid_t ss_pset; /* caller's pset ID */
H A Dprocfs.h265 psetid_t pr_bindpset; /* processor set to which lwp is bound */
671 psetid_t pr_bindpset; /* processor set to which lwp is bound */
/titanic_50/usr/src/lib/libc/port/sys/
H A Dpsetsys.c40 pset_create(psetid_t *npset) in pset_create()
46 pset_destroy(psetid_t pset) in pset_destroy()
52 pset_assign(psetid_t pset, processorid_t cpu, psetid_t *opset) in pset_assign()
58 pset_assign_forced(psetid_t pset, processorid_t cpu, psetid_t *opset) in pset_assign_forced()
64 pset_info(psetid_t pset, int *type, uint_t *numcpus, processorid_t *cpulist) in pset_info()
70 pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset) in pset_bind()
76 pset_bind_lwp(psetid_t pset, id_t id, pid_t pid, psetid_t *opset) in pset_bind_lwp()
85 pset_getloadavg(psetid_t pset, double loadavg[], int nelem) in pset_getloadavg()
102 pset_list(psetid_t *psetlist, uint_t *numpsets) in pset_list()
108 pset_setattr(psetid_t pset, uint_t attr) in pset_setattr()
[all …]
/titanic_50/usr/src/uts/common/syscall/
H A Dpset.c89 pset_create(psetid_t *psetp) in pset_create()
91 psetid_t newpset; in pset_create()
107 if (copyout(&newpset, psetp, sizeof (psetid_t)) != 0) { in pset_create()
117 pset_destroy(psetid_t pset) in pset_destroy()
138 pset_assign(psetid_t pset, processorid_t cpuid, psetid_t *opset, int forced) in pset_assign()
140 psetid_t oldpset; in pset_assign()
171 if (copyout(&oldpset, opset, sizeof (psetid_t)) != 0) in pset_assign()
178 pset_info(psetid_t pset, int *typep, uint_t *numcpusp, in pset_info()
241 pset_bind_thread(kthread_t *tp, psetid_t pset, psetid_t *oldpset, void *projbuf, in pset_bind_thread()
298 pset_bind_process(proc_t *pp, psetid_t pset, psetid_t *oldpset, void *projbuf, in pset_bind_process()
[all …]
/titanic_50/usr/src/cmd/psrset/
H A Dpsrset.c79 extern int pset_assign_forced(psetid_t, processorid_t, psetid_t *);
137 bind_err(psetid_t pset, const char *zname, id_t pid, id_t lwpid, int err) in bind_err()
166 create_out(psetid_t pset) in create_out()
175 assign_out(processorid_t cpu, psetid_t old, psetid_t new) in assign_out()
198 query_out(id_t pid, id_t lwpid, psetid_t pset) in query_out()
222 info_out(psetid_t pset, int type, uint_t numcpus, processorid_t *cpus) in info_out()
244 print_out(processorid_t cpu, psetid_t pset) in print_out()
256 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) in bind_out()
287 bind_lwp(id_t pid, id_t lwpid, psetid_t pset) in bind_lwp()
289 psetid_t old_pset; in bind_lwp()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Dpool_pset.c89 pool_lookup_pset_by_id(psetid_t psetid) in pool_lookup_pset_by_id()
104 psetid_t psetid;
209 psetid_t psetid = (psetid_t)(uintptr_t)arg; in pool_pset_zone_pset_set()
337 pool_pset_create(psetid_t *id) in pool_pset_create()
341 psetid_t psetid; in pool_pset_create()
365 pool_pset_destroy(psetid_t psetid) in pool_pset_destroy()
392 pool_pset_visibility_change(psetid_t psetid, zone_t *zone, boolean_t add) in pool_pset_visibility_change()
428 pool_pset_visibility_add(psetid_t psetid, zone_t *zone) in pool_pset_visibility_add()
439 pool_pset_visibility_remove(psetid_t psetid, zone_t *zone) in pool_pset_visibility_remove()
458 psetid_t newpsetid;
[all …]
H A Dpool.c386 psetid_t psetid = (psetid_t)id; in pool_lookup_pool_by_pset()
503 ret = pool_pset_create((psetid_t *)id); in pool_create()
536 ret = pool_pset_destroy((psetid_t)id); in pool_destroy()
597 ret = pool_pset_assoc(poolid, (psetid_t)id); in pool_assoc()
650 psetid_t psetid = (psetid_t)id; in pool_lookup_id_by_pset()
675 ret = pool_pset_xtransfer((psetid_t)src_pset, in pool_xtransfer()
676 (psetid_t)dst_pset, size, ids); in pool_xtransfer()
1049 ret = pool_pset_propput((psetid_t)id, pair); in pool_propput()
1091 ret = pool_pset_proprm((psetid_t)id, name); in pool_proprm()
1135 ret = pool_pset_propget((psetid_t)id, name, nvl); in pool_propget()
[all …]
/titanic_50/usr/src/uts/common/disp/
H A Dcpupart.c97 #define CPTOPS(cpid) ((psetid_t)((cpid) == CP_DEFAULT ? PS_NONE : (cpid)))
105 cpupart_find_all(psetid_t psid) in cpupart_find_all()
133 cpupart_find(psetid_t psid) in cpupart_find()
790 cpupart_bind_thread(kthread_id_t tp, psetid_t psid, int ignore, void *projbuf, in cpupart_bind_thread()
817 cpupart_create(psetid_t *psid) in cpupart_create()
890 psetid_t psid = pp->cp_id; in cpupart_unbind_threads()
953 cpupart_destroy(psetid_t psid) in cpupart_destroy()
1043 psetid_t
1056 cpupart_attach_cpu(psetid_t psid, cpu_t *cp, int forced) in cpupart_attach_cpu()
1084 cpupart_get_cpus(psetid_t *psid, processorid_t *cpulist, uint_t *numcpus) in cpupart_get_cpus()
[all …]
/titanic_50/usr/src/lib/libdtrace/common/
H A Dsched.d33 psetid_t cpu_pset; /* processor set identifier */
71 inline psetid_t pset = curcpu->cpu_pset;
/titanic_50/usr/src/cmd/stat/common/
H A Dstatcommon.h96 psetid_t cs_pset_id;
106 psetid_t ps_id;
H A Dacquire.c120 psetid_t *pids = NULL; in acquire_psets()
135 if ((pids = calloc(pids_nr, sizeof (psetid_t))) == NULL) in acquire_psets()
/titanic_50/usr/src/cmd/intrstat/
H A Dintrstat.c61 static psetid_t g_pset = PS_NONE;
270 select_pset(psetid_t pset) in select_pset()
457 psetid_t pset = strtoul(optarg, &end, 0); in main()
/titanic_50/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.c61 psetid_t opset; /* old pset sysid */
62 psetid_t npset; /* new pset sysid */
/titanic_50/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c178 psetid_t zsp_id;
220 psetid_t zsc_psetid;
221 psetid_t zsc_psetid_prev;
264 psetid_t zsz_psetid;
322 psetid_t zspr_psetid;
424 psetid_t *zsctl_pset_cache;
1295 zsd_mark_cpu_found(zsd_cpu_t *cpu, zsd_pset_t *pset, psetid_t psetid) in zsd_mark_cpu_found()
1376 zsd_lookup_pset_byid(zsd_ctl_t *ctl, psetid_t psetid) in zsd_lookup_pset_byid()
1389 zsd_lookup_pset(zsd_ctl_t *ctl, char *psetname, psetid_t psetid) in zsd_lookup_pset()
1405 zsd_allocate_pset(zsd_ctl_t *ctl, char *psetname, psetid_t psetid) in zsd_allocate_pset()
[all …]
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c122 psetid_t psetid; in pool_check_pset()
143 psetid = (psetid_t)tmp; in pool_check_pset()
/titanic_50/usr/src/lib/libc/port/
H A Dllib-lc1384 int pset_create(psetid_t *npset);
1385 int pset_destroy(psetid_t pset);
1386 int pset_assign(psetid_t pset, processorid_t cpu, psetid_t *opset);
1387 int pset_assign_forced(psetid_t pset, processorid_t cpu, psetid_t *opset);
1388 int pset_info(psetid_t pset, int *type, u_int *numcpus, processorid_t *cpulist);
1389 int pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset);
1390 int pset_bind_lwp(psetid_t pset, id_t id, pid_t, psetid_t *opset);
/titanic_50/usr/src/lib/libzonestat/common/
H A Dzonestat_impl.h209 psetid_t zsp_id;
/titanic_50/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c69 static psetid_t g_pset = PS_NONE;
438 select_pset(psetid_t pset) in select_pset()
1192 psetid_t pset = strtoul(optarg, &end, 0); in main()
/titanic_50/usr/src/lib/liblgrp/common/
H A Dlgrp.c472 psetid_t pset; in lgrp_init()
518 psetid_t pset; in lgrp_cookie_stale()
/titanic_50/usr/src/cmd/cpc/common/
H A Dcpustat.c613 psetid_t mypset, cpupset; in cpustat()
/titanic_50/usr/src/cmd/prstat/
H A Dprstat.c218 if (pset_getloadavg((psetid_t)psetid, psetloadavg, 3) != -1) { in psetloadavg()
1340 psetid_t id; in fill_set_table()

12