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

Function bt_remseg

freebsd/kern/subr_vmem.c:500–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498/* ---- boundary tag list */
499
500static void
501bt_remseg(vmem_t *vm, bt_t *bt)
502{
503
504 MPASS(bt->bt_type != BT_TYPE_CURSOR);
505 TAILQ_REMOVE(&vm->vm_seglist, bt, bt_seglist);
506 bt_free(vm, bt);
507}
508
509static void
510bt_insseg(vmem_t *vm, bt_t *bt, bt_t *prev)

Callers 4

vmem_destroy1Function · 0.85
vmem_try_releaseFunction · 0.85
vmem_xalloc_nextfitFunction · 0.85
vmem_xfreeFunction · 0.85

Calls 1

bt_freeFunction · 0.85

Tested by

no test coverage detected