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

Function cpuset_setproc_test_setthread

freebsd/kern/kern_cpuset.c:1105–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105static int
1106cpuset_setproc_test_setthread(struct cpuset *tdset, struct cpuset *set)
1107{
1108 struct domainset domain;
1109 cpuset_t mask;
1110
1111 if (tdset->cs_id != CPUSET_INVALID)
1112 return (0);
1113 return cpuset_setproc_setthread_mask(tdset, set, &mask, &domain);
1114}
1115
1116static int
1117cpuset_setproc_setthread(struct cpuset *tdset, struct cpuset *set,

Callers 1

cpuset_setprocFunction · 0.85

Calls 1

Tested by

no test coverage detected