Home
last modified time | relevance | path

Searched refs:cpusetbuf (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.bin/procstat/
H A Dprocstat_cs.c49 struct sbuf *cpusetbuf; in procstat_cs() local
87 cpusetbuf = sbuf_new_auto(); in procstat_cs()
91 sbuf_printf(cpusetbuf, "%d", in procstat_cs()
97 sbuf_printf(cpusetbuf, "-%d,%d", in procstat_cs()
101 sbuf_printf(cpusetbuf, ",%d", in procstat_cs()
107 sbuf_printf(cpusetbuf, "-%d", lastcpu); in procstat_cs()
108 if (sbuf_finish(cpusetbuf) != 0) in procstat_cs()
110 xo_emit("{:cpu_set/%s}", sbuf_data(cpusetbuf)); in procstat_cs()
111 sbuf_delete(cpusetbuf); in procstat_cs()
/freebsd/sys/kern/
H A Dsubr_smp.c236 char cpusetbuf[CPUSETBUFSIZ]; in generic_stop_cpus() local
253 cpusetobj_strprint(cpusetbuf, &map), type); in generic_stop_cpus()
349 char cpusetbuf[CPUSETBUFSIZ]; in generic_restart_cpus() local
360 CTR1(KTR_SMP, "restart_cpus(%s)", cpusetobj_strprint(cpusetbuf, &map)); in generic_restart_cpus()
404 CTR1(KTR_SMP, "restart_cpus(%s)", cpusetobj_strprint(cpusetbuf, &map)); in generic_restart_cpus()
643 char cpusetbuf[CPUSETBUFSIZ], cpusetbuf2[CPUSETBUFSIZ]; in smp_topo() local
699 top, cpusetobj_strprint(cpusetbuf, &top->cg_mask), in smp_topo()
751 char cpusetbuf[CPUSETBUFSIZ], cpusetbuf2[CPUSETBUFSIZ]; in smp_topo_addleaf() local
770 cpusetobj_strprint(cpusetbuf, &parent->cg_mask), in smp_topo_addleaf()
H A Dsched_ule.c3211 char cpusetbuf[CPUSETBUFSIZ]; in sysctl_kern_sched_topology_spec_internal()
3217 cg->cg_count, cpusetobj_strprint(cpusetbuf, &cg->cg_mask)); in sysctl_kern_sched_topology_spec_internal()
3214 char cpusetbuf[CPUSETBUFSIZ]; sysctl_kern_sched_topology_spec_internal() local