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

Function tidbatch_process

freebsd/kern/kern_thread.c:317–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317static void
318tidbatch_process(struct tidbatch *tb)
319{
320
321 KASSERT(tb->n <= nitems(tb->tab),
322 ("%s: count too high %d", __func__, tb->n));
323 if (tb->n == nitems(tb->tab)) {
324 tid_free_batch(tb->tab, tb->n);
325 tb->n = 0;
326 }
327}
328
329static void
330tidbatch_final(struct tidbatch *tb)

Callers 1

thread_reap_domainFunction · 0.85

Calls 1

tid_free_batchFunction · 0.85

Tested by

no test coverage detected