| 371 | } |
| 372 | |
| 373 | static void |
| 374 | cpuset_freelist_add(struct setlist *list, int count) |
| 375 | { |
| 376 | struct cpuset *set; |
| 377 | int i; |
| 378 | |
| 379 | for (i = 0; i < count; i++) { |
| 380 | set = uma_zalloc(cpuset_zone, M_ZERO | M_WAITOK); |
| 381 | LIST_INSERT_HEAD(list, set, cs_link); |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | static void |
| 386 | cpuset_freelist_init(struct setlist *list, int count) |
no test coverage detected