* Returns TRUE if the specified radix tree contains a single leaf and FALSE * otherwise. */
| 460 | * otherwise. |
| 461 | */ |
| 462 | boolean_t |
| 463 | vm_radix_is_singleton(struct vm_radix *rtree) |
| 464 | { |
| 465 | struct vm_radix_node *rnode; |
| 466 | |
| 467 | rnode = vm_radix_root_load(rtree, LOCKED); |
| 468 | if (rnode == NULL) |
| 469 | return (FALSE); |
| 470 | return (vm_radix_isleaf(rnode)); |
| 471 | } |
| 472 | |
| 473 | /* |
| 474 | * Returns the value stored at the index. If the index is not present, |
nothing calls this directly
no test coverage detected