| 3836 | } |
| 3837 | |
| 3838 | static void |
| 3839 | vm_map_entry_deallocate(vm_map_entry_t entry, boolean_t system_map) |
| 3840 | { |
| 3841 | |
| 3842 | if ((entry->eflags & MAP_ENTRY_IS_SUB_MAP) == 0) |
| 3843 | vm_object_deallocate(entry->object.vm_object); |
| 3844 | uma_zfree(system_map ? kmapentzone : mapentzone, entry); |
| 3845 | } |
| 3846 | |
| 3847 | /* |
| 3848 | * vm_map_entry_delete: [ internal use only ] |
no test coverage detected