MCPcopy Create free account
hub / github.com/Singular/Singular / block_ptr

Method block_ptr

kernel/oswrapper/vspace.h:237–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235struct VSeg {
236 unsigned char *base;
237 inline Block *block_ptr(segaddr_t addr) {
238 return (Block *) (base + addr);
239 }
240 bool is_free(segaddr_t addr) {
241 Block *block = block_ptr(addr);
242 return block->is_free();

Callers 3

vmem_freeFunction · 0.45
vmem_allocFunction · 0.45
block_ptrFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected