Home
last modified time | relevance | path

Searched refs:new_address (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mremap/
Dmremap05.c52 char *new_address; member
141 t->new_address); in test_mremap()
165 t->new_address = get_test_area(t->new_size * pagesize, 1); in setup0()
171 t->new_address = get_test_area((t->new_size + 1) * pagesize, 1) + 1; in setup1()
177 t->new_address = t->old_address; in setup2()
183 t->new_address = get_test_area(t->new_size * pagesize, 1); in setup3()
184 t->exp_ret = t->new_address; in setup3()
191 t->new_address = get_test_area(t->new_size * pagesize, 0); in setup4()
192 t->exp_ret = t->new_address; in setup4()
194 *(t->new_address) = 0x2; in setup4()
[all …]
/third_party/node/deps/v8/src/base/
Dpage-allocator.cc81 void* new_address) const override { in RemapTo()
82 if (allocator_->RemapShared(ptr_, new_address, size_)) { in RemapTo()
83 return std::make_unique<SharedMemoryMapping>(allocator_, new_address, in RemapTo()
125 void* PageAllocator::RemapShared(void* old_address, void* new_address, in RemapShared() argument
128 return base::OS::RemapShared(old_address, new_address, size); in RemapShared()
Dpage-allocator.h55 void* RemapShared(void* old_address, void* new_address, size_t size); in NON_EXPORTED_BASE()
/third_party/node/deps/v8/src/base/platform/
Dplatform-macos.cc91 bool OS::RemapPages(const void* address, size_t size, void* new_address, in RemapPages() argument
95 IsAligned(reinterpret_cast<uintptr_t>(new_address), AllocatePageSize())); in RemapPages()
103 mach_vm_address_t target = reinterpret_cast<mach_vm_address_t>(new_address); in RemapPages()
112 CHECK_EQ(new_address, reinterpret_cast<void*>(target)); in RemapPages()
Dplatform-linux.cc147 void* OS::RemapShared(void* old_address, void* new_address, size_t size) { in RemapShared() argument
149 mremap(old_address, 0, size, MREMAP_FIXED | MREMAP_MAYMOVE, new_address); in RemapShared()
154 DCHECK(result == new_address); in RemapShared()
Dplatform.h336 void* new_address,
365 void* new_address,
/third_party/node/deps/v8/src/heap/
Dread-only-spaces.cc148 Address new_address = isolate_root + offset; in CreateReadOnlySpace() local
154 reinterpret_cast<void*>(new_address), page->size()); in CreateReadOnlySpace()
156 auto shared_memory = RemapPageTo(i, new_address, new_page); in CreateReadOnlySpace()
191 Address new_address = isolate_root + CompressTagged(original_address); in GetReadOnlyHeapForIsolate() local
192 Object new_object = Object(new_address); in GetReadOnlyHeapForIsolate()
200 PointerCompressedReadOnlyArtifacts::RemapPageTo(size_t i, Address new_address, in RemapPageTo() argument
203 shared_memory_[i]->RemapTo(reinterpret_cast<void*>(new_address)); in RemapPageTo()
205 new_page = static_cast<ReadOnlyPage*>(reinterpret_cast<void*>(new_address)); in RemapPageTo()
Dread-only-spaces.h162 size_t i, Address new_address, ReadOnlyPage*& new_page);
Dmemory-allocator.cc578 ::v8::PageAllocator::SharedMemory* shared_memory, Address new_address) { in RemapSharedPage() argument
579 return shared_memory->RemapTo(reinterpret_cast<void*>(new_address)); in RemapSharedPage()
Dmemory-allocator.h197 ::v8::PageAllocator::SharedMemory* shared_memory, Address new_address);
/third_party/rust/crates/rustix/src/mm/
Dmmap.rs137 new_address: *mut c_void, in mremap_fixed()
139 backend::mm::syscalls::mremap_fixed(old_address, old_size, new_size, flags, new_address) in mremap_fixed()
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
Dsyscalls.rs168 new_address: *mut c::c_void, in mremap_fixed()
176 new_address in mremap_fixed()
/third_party/rust/crates/rustix/src/backend/libc/mm/
Dsyscalls.rs159 new_address: *mut c::c_void, in mremap_fixed()
166 new_address, in mremap_fixed()
/third_party/rust/crates/nix/src/sys/
Dmman.rs454 new_address: Option<*mut c_void>, in mremap()
462 new_address.unwrap_or(std::ptr::null_mut()), in mremap()
468 new_address.unwrap_or(std::ptr::null_mut()), in mremap()
/third_party/node/deps/v8/include/
Dv8-platform.h472 void* new_address) const = 0;
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp105 nir_ssa_def *new_address = nir_ishr(b, address, nir_imm_int(b, 4 * align)); in r600_nir_lower_scratch_address_impl() local
108 nir_src_for_ssa(new_address)); in r600_nir_lower_scratch_address_impl()