| 1048 | }; |
| 1049 | #endif |
| 1050 | int |
| 1051 | sys_mlock(struct thread *td, struct mlock_args *uap) |
| 1052 | { |
| 1053 | |
| 1054 | return (kern_mlock(td->td_proc, td->td_ucred, |
| 1055 | __DECONST(uintptr_t, uap->addr), uap->len)); |
| 1056 | } |
| 1057 | |
| 1058 | int |
| 1059 | kern_mlock(struct proc *proc, struct ucred *cred, uintptr_t addr0, size_t len) |
nothing calls this directly
no test coverage detected