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

Function _vm_map_unlock_read

freebsd/vm/vm_map.c:720–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720void
721_vm_map_unlock_read(vm_map_t map, const char *file, int line)
722{
723
724 if (map->system_map) {
725 KASSERT((map->flags & MAP_REPLENISH) == 0,
726 ("%s: MAP_REPLENISH leaked", __func__));
727 mtx_unlock_flags_(&map->system_mtx, 0, file, line);
728 } else {
729 sx_sunlock_(&map->lock, file, line);
730 vm_map_process_deferred();
731 }
732}
733
734int
735_vm_map_trylock(vm_map_t map, const char *file, int line)

Callers

nothing calls this directly

Calls 1

vm_map_process_deferredFunction · 0.85

Tested by

no test coverage detected