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.c219 mtx_lock_spin(&dt_lock); in cpu_fork()
229 mtx_unlock_spin(&dt_lock); in cpu_fork()
276 mtx_lock_spin(&dt_lock); in cpu_fork()
287 mtx_unlock_spin(&dt_lock); in cpu_fork()
335 mtx_lock_spin(&dt_lock); in cpu_exit()
341 mtx_unlock_spin(&dt_lock); in cpu_exit()
H A Dmachdep.c341 struct mtx dt_lock; /* lock for GDT and LDT */ variable
1456 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.c511 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_alloc()
515 mtx_unlock(&dt_lock); in user_ldt_alloc()
530 mtx_lock(&dt_lock); in user_ldt_alloc()
561 mtx_lock(&dt_lock); in user_ldt_free()
563 mtx_unlock(&dt_lock); in user_ldt_free()
596 mtx_assert(&dt_lock, MA_OWNED); in user_ldt_deref()
598 mtx_unlock(&dt_lock); in user_ldt_deref()
630 mtx_lock(&dt_lock); in amd64_get_ldt()
633 mtx_unlock(&dt_lock); in amd64_get_ldt()
676 mtx_lock(&dt_lock); in amd64_set_ldt()
[all …]
H A Dvm_machdep.c232 mtx_lock(&dt_lock); in cpu_fork()
237 mtx_unlock(&dt_lock); in cpu_fork()
271 mtx_lock(&dt_lock); in cpu_fork()
289 mtx_unlock(&dt_lock); in cpu_fork()
H A Dmachdep.c214 struct mtx dt_lock; /* lock for GDT and LDT */ variable
1412 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;