Home
last modified time | relevance | path

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

/freebsd-14-stable/usr.bin/procstat/
HDprocstat_cs.c50 struct sbuf *cpusetbuf; in procstat_cs() local
88 cpusetbuf = sbuf_new_auto(); in procstat_cs()
92 sbuf_printf(cpusetbuf, "%d", in procstat_cs()
98 sbuf_printf(cpusetbuf, "-%d,%d", in procstat_cs()
102 sbuf_printf(cpusetbuf, ",%d", in procstat_cs()
108 sbuf_printf(cpusetbuf, "-%d", lastcpu); in procstat_cs()
109 if (sbuf_finish(cpusetbuf) != 0) in procstat_cs()
111 xo_emit("{:cpu_set/%s}", sbuf_data(cpusetbuf)); in procstat_cs()
112 sbuf_delete(cpusetbuf); in procstat_cs()
/freebsd-14-stable/sys/kern/
HDsubr_smp.c245 char cpusetbuf[CPUSETBUFSIZ]; in generic_stop_cpus() local
262 cpusetobj_strprint(cpusetbuf, &map), type); in generic_stop_cpus()
358 char cpusetbuf[CPUSETBUFSIZ]; in generic_restart_cpus() local
369 CTR1(KTR_SMP, "restart_cpus(%s)", cpusetobj_strprint(cpusetbuf, &map)); in generic_restart_cpus()
413 CTR1(KTR_SMP, "restart_cpus(%s)", cpusetobj_strprint(cpusetbuf, &map)); in generic_restart_cpus()
652 char cpusetbuf[CPUSETBUFSIZ], cpusetbuf2[CPUSETBUFSIZ]; in smp_topo() local
708 top, cpusetobj_strprint(cpusetbuf, &top->cg_mask), in smp_topo()
760 char cpusetbuf[CPUSETBUFSIZ], cpusetbuf2[CPUSETBUFSIZ]; in smp_topo_addleaf() local
779 cpusetobj_strprint(cpusetbuf, &parent->cg_mask), in smp_topo_addleaf()
HDsched_ule.c3214 char cpusetbuf[CPUSETBUFSIZ]; in sysctl_kern_sched_topology_spec_internal() local
3220 cg->cg_count, cpusetobj_strprint(cpusetbuf, &cg->cg_mask)); in sysctl_kern_sched_topology_spec_internal()