MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_mlock

Function sys_mlock

freebsd/vm/vm_mmap.c:1050–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048};
1049#endif
1050int
1051sys_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
1058int
1059kern_mlock(struct proc *proc, struct ucred *cred, uintptr_t addr0, size_t len)

Callers

nothing calls this directly

Calls 1

kern_mlockFunction · 0.85

Tested by

no test coverage detected