Home
last modified time | relevance | path

Searched refs:dt_lock (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/i386/i386/
H A Dsys_machdep.c409 mtx_assert(&dt_lock, MA_OWNED); in set_user_ldt_locked()
423 mtx_lock_spin(&dt_lock); in set_user_ldt()
425 mtx_unlock_spin(&dt_lock); in set_user_ldt()
448 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_alloc()
449 mtx_unlock_spin(&dt_lock); in user_ldt_alloc()
458 mtx_lock_spin(&dt_lock); in user_ldt_alloc()
483 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_free()
486 mtx_unlock_spin(&dt_lock); in user_ldt_free()
503 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_deref()
505 mtx_unlock_spin(&dt_lock); in user_ldt_deref()
[all …]
H A Dvm_machdep.c220 mtx_lock_spin(&dt_lock); in cpu_fork()
230 mtx_unlock_spin(&dt_lock); in cpu_fork()
277 mtx_lock_spin(&dt_lock); in cpu_fork()
288 mtx_unlock_spin(&dt_lock); in cpu_fork()
336 mtx_lock_spin(&dt_lock); in cpu_exit()
342 mtx_unlock_spin(&dt_lock); in cpu_exit()
H A Dmachdep.c334 struct mtx dt_lock; /* lock for GDT and LDT */ variable
1449 mtx_init(&dt_lock, "descriptor tables", NULL, MTX_SPIN); in init386()
H A Dexec_machdep.c958 mtx_lock_spin(&dt_lock); in exec_setregs()
962 mtx_unlock_spin(&dt_lock); in exec_setregs()
/freebsd/sys/amd64/amd64/
H A Dsys_machdep.c557 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_alloc()
561 mtx_unlock(&dt_lock); in user_ldt_alloc()
576 mtx_lock(&dt_lock); in user_ldt_alloc()
607 mtx_lock(&dt_lock); in user_ldt_free()
609 mtx_unlock(&dt_lock); in user_ldt_free()
642 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_deref()
644 mtx_unlock(&dt_lock); in user_ldt_deref()
676 mtx_lock(&dt_lock); in amd64_get_ldt()
679 mtx_unlock(&dt_lock); in amd64_get_ldt()
722 mtx_lock(&dt_lock); in amd64_set_ldt()
[all …]
H A Dvm_machdep.c233 mtx_lock(&dt_lock); in cpu_fork()
238 mtx_unlock(&dt_lock); in cpu_fork()
272 mtx_lock(&dt_lock); in cpu_fork()
290 mtx_unlock(&dt_lock); in cpu_fork()
H A Dmachdep.c220 struct mtx dt_lock; /* lock for GDT and LDT */ variable
1420 mtx_init(&dt_lock, "descriptor tables", NULL, MTX_DEF); in hammer_time()
/freebsd/sys/i386/include/
H A Dproc.h71 extern struct mtx dt_lock;
/freebsd/sys/amd64/include/
H A Dproc.h104 extern struct mtx dt_lock;