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

Function user_ldt_deref

freebsd/amd64/amd64/sys_machdep.c:597–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597static void
598user_ldt_deref(struct proc_ldt *pldt)
599{
600
601 mtx_assert(&dt_lock, MA_OWNED);
602 user_ldt_derefl(pldt);
603 mtx_unlock(&dt_lock);
604}
605
606/*
607 * Note for the authors of compat layers (linux, etc): copyout() in

Callers 1

user_ldt_freeFunction · 0.70

Calls 3

mtx_assertFunction · 0.85
user_ldt_dereflFunction · 0.85
mtx_unlockFunction · 0.50

Tested by

no test coverage detected