Lines Matching refs:Errno
4 use crate::errno::Errno;
283 Errno::result(libc::mlock(addr, length)).map(drop) in mlock()
294 Errno::result(libc::munlock(addr, length)).map(drop) in munlock()
306 unsafe { Errno::result(libc::mlockall(flags.bits())) }.map(drop) in mlockall()
311 unsafe { Errno::result(libc::munlockall()) }.map(drop) in munlockall()
323 Err(Error::Sys(Errno::last())) in mmap()
347 Err(Error::Sys(Errno::last())) in mremap()
360 Errno::result(libc::munmap(addr, len)).map(drop) in munmap()
370 Errno::result(libc::madvise(addr, length, advise as i32)).map(drop) in madvise()
399 Errno::result(libc::mprotect(addr, length, prot.bits())).map(drop) in mprotect()
409 Errno::result(libc::msync(addr, length, flags.bits())).map(drop) in msync()
425 Errno::result(ret) in shm_open()
434 Errno::result(ret).map(drop) in shm_unlink()