| [EINVAL] |
| | The addr and len parameters specify a memory range that wraps around the end of the machine address space. |
| [ENOMEM] |
| | The size of the specified address range exceeds the system limit on locked memory. |
| [ENOMEM] |
| | Locking the requested address range would cause the process to exceed its per-process locked memory limit. |
| [EFAULT] |
| | Some portion of the indicated address range is not allocated. There was an error faulting/mapping a page. |
|