* Find the first non-anonymous set starting from 'set'. */
| 145 | * Find the first non-anonymous set starting from 'set'. |
| 146 | */ |
| 147 | static struct cpuset * |
| 148 | cpuset_getbase(struct cpuset *set) |
| 149 | { |
| 150 | |
| 151 | if (set->cs_id == CPUSET_INVALID) |
| 152 | set = set->cs_parent; |
| 153 | return (set); |
| 154 | } |
| 155 | |
| 156 | /* |
| 157 | * Walks up the tree from 'set' to find the root. |
no outgoing calls
no test coverage detected