MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cpusetobj_strprint

Function cpusetobj_strprint

freebsd/kern/kern_cpuset.c:1384–1391  ·  view source on GitHub ↗

* Return a string representing a valid layout for a cpuset_t object. * It expects an incoming buffer at least sized as CPUSETBUFSIZ. */

Source from the content-addressed store, hash-verified

1382 * It expects an incoming buffer at least sized as CPUSETBUFSIZ.
1383 */
1384char *
1385cpusetobj_strprint(char *buf, const cpuset_t *set)
1386{
1387
1388 bitset_strprint(buf, CPUSETBUFSIZ, (const struct bitset *)set,
1389 CPU_SETSIZE);
1390 return (buf);
1391}
1392
1393/*
1394 * Build a valid cpuset_t object from a string representation.

Callers 6

sysctl_debug_ktr_cpumaskFunction · 0.85
subr_smp.cFile · 0.85
generic_restart_cpusFunction · 0.85
smp_topoFunction · 0.85
smp_topo_addleafFunction · 0.85

Calls 1

bitset_strprintFunction · 0.85

Tested by

no test coverage detected