| /freebsd/sys/arm/arm/ |
| H A D | machdep.c | 315 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 317 td->td_md.md_spinlock_count = 1; in spinlock_enter() 321 td->td_md.md_spinlock_count++; in spinlock_enter() 332 td->td_md.md_spinlock_count--; in spinlock_exit() 333 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 145 td2->td_md.md_spinlock_count = 1; in cpu_fork() 207 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| H A D | syscall.c | 160 if (td->td_md.md_spinlock_count == 0) { in swi_handler()
|
| H A D | trap-v6.c | 404 if (td->td_md.md_spinlock_count == 0) { in abort_handler()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | machdep.c | 246 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 248 td->td_md.md_spinlock_count = 1; in spinlock_enter() 252 td->td_md.md_spinlock_count++; in spinlock_enter() 263 td->td_md.md_spinlock_count--; in spinlock_exit() 264 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 127 td2->td_md.md_spinlock_count = 1; in cpu_fork() 187 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| /freebsd/sys/powerpc/powerpc/ |
| H A D | machdep.c | 730 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 733 td->td_md.md_spinlock_count = 1; in spinlock_enter() 737 td->td_md.md_spinlock_count++; in spinlock_enter() 748 td->td_md.md_spinlock_count--; in spinlock_exit() 749 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 171 td2->td_md.md_spinlock_count = 1; in cpu_fork()
|
| /freebsd/sys/riscv/include/ |
| H A D | proc.h | 35 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/powerpc/include/ |
| H A D | proc.h | 43 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/arm/include/ |
| H A D | proc.h | 41 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/i386/include/ |
| H A D | proc.h | 51 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/arm64/arm64/ |
| H A D | machdep.c | 385 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 387 td->td_md.md_spinlock_count = 1; in spinlock_enter() 391 td->td_md.md_spinlock_count++; in spinlock_enter() 402 td->td_md.md_spinlock_count--; in spinlock_exit() 403 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 120 td2->td_md.md_spinlock_count = 1; in cpu_fork() 194 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| H A D | trap.c | 341 if (td->td_md.md_spinlock_count == 0 && in data_abort() 348 if (td->td_md.md_spinlock_count == 0 && in data_abort() 371 if (td->td_md.md_spinlock_count != 0) { in data_abort() 376 td->td_md.md_spinlock_count); in data_abort()
|
| /freebsd/sys/arm64/include/ |
| H A D | proc.h | 45 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/amd64/include/ |
| H A D | proc.h | 71 int md_spinlock_count; /* (k) */ member
|
| /freebsd/sys/amd64/amd64/ |
| H A D | machdep.c | 1709 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1711 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1715 td->td_md.md_spinlock_count++; in spinlock_enter() 1726 td->td_md.md_spinlock_count--; in spinlock_exit() 1727 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 192 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| H A D | trap.c | 313 if (td->td_md.md_spinlock_count == 0) in trap_check_intr_kernel()
|
| /freebsd/sys/i386/i386/ |
| H A D | machdep.c | 1763 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1765 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1769 td->td_md.md_spinlock_count++; in spinlock_enter() 1780 td->td_md.md_spinlock_count--; in spinlock_exit() 1781 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 197 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| H A D | trap.c | 303 if (trap_enable_intr(type) && td->td_md.md_spinlock_count == 0 && in trap()
|
| /freebsd/sys/kern/ |
| H A D | sched_ule.c | 2421 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_ule_sswitch() 2422 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_ule_sswitch() 3197 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_throw_grab() 3198 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_throw_grab() 3276 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_ule_fork_exit() 3277 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_ule_fork_exit()
|
| H A D | subr_smp.c | 610 MPASS(curthread->td_md.md_spinlock_count == 0); in smp_rendezvous_cpus()
|