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

Function domainset_copy

freebsd/kern/kern_cpuset.c:436–443  ·  view source on GitHub ↗

Copy a domainset preserving mask and policy. */

Source from the content-addressed store, hash-verified

434
435/* Copy a domainset preserving mask and policy. */
436static void
437domainset_copy(const struct domainset *from, struct domainset *to)
438{
439
440 DOMAINSET_COPY(&from->ds_mask, &to->ds_mask);
441 to->ds_policy = from->ds_policy;
442 to->ds_prefer = from->ds_prefer;
443}
444
445/* Return 1 if mask and policy are equal, otherwise 0. */
446static int

Callers 9

domainset_createFunction · 0.85
domainset_shadowFunction · 0.85
cpuset_testupdate_domainFunction · 0.85
cpuset_modify_domainFunction · 0.85
cpuset_setproc_newbaseFunction · 0.85
domainset_zeroFunction · 0.85
kern_cpuset_getdomainFunction · 0.85
kern_cpuset_setdomainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected