Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_radix.c
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | vm_radix_node_load(smrnode_t *p, enum vm_radix_access access) | ||||
switch (access) { | switch (access) { | ||||
case UNSERIALIZED: | case UNSERIALIZED: | ||||
return (smr_unserialized_load(p, true)); | return (smr_unserialized_load(p, true)); | ||||
case LOCKED: | case LOCKED: | ||||
return (smr_serialized_load(p, true)); | return (smr_serialized_load(p, true)); | ||||
case SMR: | case SMR: | ||||
return (smr_entered_load(p, vm_radix_smr)); | return (smr_entered_load(p, vm_radix_smr)); | ||||
} | } | ||||
__unreachable(); | __assert_unreachable(); | ||||
} | } | ||||
static __inline void | static __inline void | ||||
vm_radix_node_store(smrnode_t *p, struct vm_radix_node *v, | vm_radix_node_store(smrnode_t *p, struct vm_radix_node *v, | ||||
enum vm_radix_access access) | enum vm_radix_access access) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 691 Lines • Show Last 20 Lines |