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

Function vm_radix_node_store

freebsd/vm/vm_radix.c:215–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static __inline void
216vm_radix_node_store(smrnode_t *p, struct vm_radix_node *v,
217 enum vm_radix_access access)
218{
219
220 switch (access) {
221 case UNSERIALIZED:
222 smr_unserialized_store(p, v, true);
223 break;
224 case LOCKED:
225 smr_serialized_store(p, v, true);
226 break;
227 case SMR:
228 panic("vm_radix_node_store: Not supported in smr section.");
229 }
230}
231
232/*
233 * Get the root node for a radix tree.

Callers 7

vm_radix_node_getFunction · 0.85
vm_radix_root_storeFunction · 0.85
vm_radix_addpageFunction · 0.85
vm_radix_insertFunction · 0.85
vm_radix_removeFunction · 0.85
vm_radix_replaceFunction · 0.85

Calls 1

panicFunction · 0.50

Tested by

no test coverage detected