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

Function cpuset_refbase

freebsd/kern/kern_cpuset.c:195–200  ·  view source on GitHub ↗

* Find the first non-anonymous set starting from 'set'. Returns this set * referenced. May return the passed in set with an extra ref if it is * not anonymous. */

Source from the content-addressed store, hash-verified

193 * not anonymous.
194 */
195static struct cpuset *
196cpuset_refbase(struct cpuset *set)
197{
198
199 return (cpuset_ref(cpuset_getbase(set)));
200}
201
202/*
203 * Release a reference in a context where it is safe to allocate.

Callers 6

cpuset_whichFunction · 0.85
kern_cpuset_getidFunction · 0.85
kern_cpuset_getaffinityFunction · 0.85
kern_cpuset_setaffinityFunction · 0.85
kern_cpuset_getdomainFunction · 0.85
kern_cpuset_setdomainFunction · 0.85

Calls 2

cpuset_refFunction · 0.85
cpuset_getbaseFunction · 0.85

Tested by

no test coverage detected