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

Function vm_radix_node_load

freebsd/vm/vm_radix.c:200–213  ·  view source on GitHub ↗

* Fetch a node pointer from a slot in another node. */

Source from the content-addressed store, hash-verified

198 * Fetch a node pointer from a slot in another node.
199 */
200static __inline struct vm_radix_node *
201vm_radix_node_load(smrnode_t *p, enum vm_radix_access access)
202{
203
204 switch (access) {
205 case UNSERIALIZED:
206 return (smr_unserialized_load(p, true));
207 case LOCKED:
208 return (smr_serialized_load(p, true));
209 case SMR:
210 return (smr_entered_load(p, vm_radix_smr));
211 }
212 __assert_unreachable();
213}
214
215static __inline void
216vm_radix_node_store(smrnode_t *p, struct vm_radix_node *v,

Callers 9

vm_radix_root_loadFunction · 0.85
vm_radix_insertFunction · 0.85
_vm_radix_lookupFunction · 0.85
vm_radix_lookup_geFunction · 0.85
vm_radix_lookup_leFunction · 0.85
vm_radix_removeFunction · 0.85
vm_radix_replaceFunction · 0.85
vm_radix.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected