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

Function malloc_large_size

freebsd/kern/kern_malloc.c:576–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576static inline size_t
577malloc_large_size(uma_slab_t slab)
578{
579 uintptr_t va;
580
581 va = (uintptr_t)slab;
582 return (va >> 1);
583}
584
585static caddr_t __noinline
586malloc_large(size_t *size, struct malloc_type *mtp, struct domainset *policy,

Callers 4

freeFunction · 0.85
zfreeFunction · 0.85
reallocFunction · 0.85
malloc_usable_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected