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

Function domainset_equal

freebsd/kern/kern_cpuset.c:446–453  ·  view source on GitHub ↗

Return 1 if mask and policy are equal, otherwise 0. */

Source from the content-addressed store, hash-verified

444
445/* Return 1 if mask and policy are equal, otherwise 0. */
446static int
447domainset_equal(const struct domainset *one, const struct domainset *two)
448{
449
450 return (DOMAINSET_CMP(&one->ds_mask, &two->ds_mask) == 0 &&
451 one->ds_policy == two->ds_policy &&
452 one->ds_prefer == two->ds_prefer);
453}
454
455/* Return 1 if child is a valid subset of parent. */
456static int

Callers 2

_domainset_createFunction · 0.85
cpuset_testupdate_domainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected