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

Function contigfree

freebsd/kern/kern_malloc.c:491–497  ·  view source on GitHub ↗

* contigfree: * * Free a block of memory allocated by contigmalloc. * * This routine may not block. */

Source from the content-addressed store, hash-verified

489 * This routine may not block.
490 */
491void
492contigfree(void *addr, unsigned long size, struct malloc_type *type)
493{
494
495 kmem_free((vm_offset_t)addr, size);
496 malloc_type_freed(type, round_page(size));
497}
498
499#ifdef MALLOC_DEBUG
500static int

Callers 11

xlp_free_cmd_paramsFunction · 0.85
svm_cleanupFunction · 0.85
gicv3_its_conftable_initFunction · 0.85
its_device_releaseFunction · 0.85
smmu_init_strtab_2lvlFunction · 0.85
smmu_deinit_l1_entryFunction · 0.85
smmu_domain_freeFunction · 0.85
isa_dma_initFunction · 0.85
contigmem_loadFunction · 0.85
contigmem_unloadFunction · 0.85

Calls 2

malloc_type_freedFunction · 0.85
kmem_freeFunction · 0.50

Tested by

no test coverage detected