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

Function malloc_domainset_exec

freebsd/kern/kern_malloc.c:744–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void *
745malloc_domainset_exec(size_t size, struct malloc_type *mtp, struct domainset *ds,
746 int flags)
747{
748#ifdef DEBUG_REDZONE
749 unsigned long osize = size;
750#endif
751#ifdef MALLOC_DEBUG
752 caddr_t va;
753#endif
754
755 flags |= M_EXEC;
756
757#ifdef MALLOC_DEBUG
758 va = NULL;
759 if (malloc_dbg(&va, &size, mtp, flags) != 0)
760 return (va);
761#endif
762
763 return (malloc_large(&size, mtp, ds, flags DEBUG_REDZONE_ARG));
764}
765
766void *
767malloc_domainset_aligned(size_t size, size_t align,

Callers 1

malloc_execFunction · 0.85

Calls 2

malloc_dbgFunction · 0.85
malloc_largeFunction · 0.85

Tested by

no test coverage detected