Lines Matching defs:writable
668 // The new total size of writable memory must have increased by
808 // Switch all memory to non-writable.
810 for (base::AddressRegion writable : writable_memory_) {
812 SplitRangeByReservationsIfNeeded(writable, owned_code_space_)) {
890 // Subroutine to make a non-writable region writable (if {switch_to_writable}
941 // Remove overlap (which is already writable) and continue.
946 // Remove overlap (which is already writable), then make the remaining
947 // region writable.
952 // Split {region}, make the split writable, and continue with the rest.
1935 // TODO(dlehmann): This allocates initially as writable and executable, and
1938 // because no {CodeSpaceWriteScope} is created), the writable permission is
1964 "WasmCodeManager::Commit: Cannot make pre-reserved region writable");
2144 void WasmCodeManager::SetThreadWritable(bool writable) {
2148 writable ? kNoRestrictions : kDisableWrite;
2150 // When switching to writable we should not already be writable. Otherwise
2153 DCHECK_IMPLIES(writable, !MemoryProtectionKeyWritable());
2155 TRACE_HEAP("Setting memory protection key %d to writable: %d.\n",
2156 memory_protection_key_, writable);
2394 // Get writable permission already here (and not inside the loop in