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

Function bt_insbusy

freebsd/kern/subr_vmem.c:484–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static void
485bt_insbusy(vmem_t *vm, bt_t *bt)
486{
487 struct vmem_hashlist *list;
488
489 VMEM_ASSERT_LOCKED(vm);
490 MPASS(bt->bt_type == BT_TYPE_BUSY);
491
492 list = bt_hashhead(vm, bt->bt_start);
493 LIST_INSERT_HEAD(list, bt, bt_hashlist);
494 vm->vm_nbusytag++;
495 vm->vm_inuse += bt->bt_size;
496}
497
498/* ---- boundary tag list */
499

Callers 2

vmem_rehashFunction · 0.85
vmem_clipFunction · 0.85

Calls 1

bt_hashheadFunction · 0.85

Tested by

no test coverage detected