Home
last modified time | relevance | path

Searched refs:mlock (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore2/src/crypto/
Dzvec.rs16 use nix::sys::mman::{mlock, munlock};
38 unsafe { mlock(b.as_ptr() as *const std::ffi::c_void, b.len()) }?; in new()
115 unsafe { mlock(b.as_ptr() as *const std::ffi::c_void, b.len()) }?; in try_from()
/system/apex/apexd/
Dapexd_loop.cpp312 static std::mutex mlock; in CreateLoopDevice() local
313 std::lock_guard lock(mlock); in CreateLoopDevice()
/system/core/init/
Dsnapuserd_transition.cpp174 if (mlock(start, len) < 0) { in LockAllSystemPages()
/system/iorap/src/prefetcher/
Dsession.cc257 if (need_mlock && mlock(entry_mapping.address, length) < 0) { in ReadAhead()