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

Function cpuset_freelist_add

freebsd/kern/kern_cpuset.c:373–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373static void
374cpuset_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
385static void
386cpuset_freelist_init(struct setlist *list, int count)

Callers 2

cpuset_freelist_initFunction · 0.85
cpuset_setprocFunction · 0.85

Calls 1

uma_zallocFunction · 0.50

Tested by

no test coverage detected