MCPcopy Index your code
hub / github.com/FDOS/kernel / DosMemAlloc

Function DosMemAlloc

kernel/memmgr.c:113–255  ·  view source on GitHub ↗

Allocate a new memory area. *para is assigned to the segment of the MCB rather then the segment of the data portion */ If mode == LARGEST, asize MUST be != NULL and will always recieve the largest available block, which is allocated. If mode != LARGEST, asize maybe NULL, but if not, it is assigned to the size of the largest available block only on failure. size is the minimum s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

int21_serviceFunction · 0.85
ChildEnvFunction · 0.85
ExecMemAllocFunction · 0.85
SetJFTSizeFunction · 0.85
DosMemLargestFunction · 0.85

Calls 1

joinMCBsFunction · 0.85

Tested by

no test coverage detected