* 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. */
| 193 | * not anonymous. |
| 194 | */ |
| 195 | static struct cpuset * |
| 196 | cpuset_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. |
no test coverage detected