MCPcopy Create free account
hub / github.com/SmallPond/MIT6.828_OS / kalloc

Function kalloc

xv6-public/kalloc.c:82–95  ·  view source on GitHub ↗

Allocate one 4096-byte page of physical memory. Returns a pointer that the kernel can use. Returns 0 if the memory cannot be allocated.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

pipeallocFunction · 0.85
walkpgdirFunction · 0.85
setupkvmFunction · 0.85
inituvmFunction · 0.85
allocuvmFunction · 0.85
copyuvmFunction · 0.85
trapFunction · 0.85
allocprocFunction · 0.85
startothersFunction · 0.85
trapFunction · 0.85
allocprocFunction · 0.85

Calls 2

acquireFunction · 0.85
releaseFunction · 0.85

Tested by

no test coverage detected