| 213 | } |
| 214 | |
| 215 | static __inline void |
| 216 | vm_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. |
no test coverage detected