| /freebsd-14.2/sys/arm/arm/ |
| H A D | machdep.c | 309 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 311 td->td_md.md_spinlock_count = 1; in spinlock_enter() 315 td->td_md.md_spinlock_count++; in spinlock_enter() 326 td->td_md.md_spinlock_count--; in spinlock_exit() 327 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 148 td2->td_md.md_spinlock_count = 1; in cpu_fork() 222 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| H A D | syscall.c | 161 if (td->td_md.md_spinlock_count == 0) { in swi_handler()
|
| H A D | trap-v6.c | 409 if (td->td_md.md_spinlock_count == 0) { in abort_handler()
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | machdep.c | 243 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 245 td->td_md.md_spinlock_count = 1; in spinlock_enter() 249 td->td_md.md_spinlock_count++; in spinlock_enter() 260 td->td_md.md_spinlock_count--; in spinlock_exit() 261 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 104 td2->td_md.md_spinlock_count = 1; in cpu_fork() 174 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| /freebsd-14.2/sys/powerpc/powerpc/ |
| H A D | machdep.c | 732 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 735 td->td_md.md_spinlock_count = 1; in spinlock_enter() 739 td->td_md.md_spinlock_count++; in spinlock_enter() 750 td->td_md.md_spinlock_count--; in spinlock_exit() 751 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 173 td2->td_md.md_spinlock_count = 1; in cpu_fork()
|
| /freebsd-14.2/sys/riscv/include/ |
| H A D | proc.h | 37 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/powerpc/include/ |
| H A D | proc.h | 43 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/arm/include/ |
| H A D | proc.h | 43 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/arm64/include/ |
| H A D | proc.h | 46 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/i386/include/ |
| H A D | proc.h | 53 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | machdep.c | 327 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 329 td->td_md.md_spinlock_count = 1; in spinlock_enter() 333 td->td_md.md_spinlock_count++; in spinlock_enter() 344 td->td_md.md_spinlock_count--; in spinlock_exit() 345 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 114 td2->td_md.md_spinlock_count = 1; in cpu_fork() 193 td->td_md.md_spinlock_count = 1; in cpu_copy_thread()
|
| H A D | trap.c | 333 if (td->td_md.md_spinlock_count != 0) { in data_abort() 338 td->td_md.md_spinlock_count); in data_abort()
|
| /freebsd-14.2/sys/amd64/include/ |
| H A D | proc.h | 73 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | machdep.c | 1778 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1780 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1784 td->td_md.md_spinlock_count++; in spinlock_enter() 1795 td->td_md.md_spinlock_count--; in spinlock_exit() 1796 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 198 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| H A D | trap.c | 321 if (trap_enable_intr(type) && td->td_md.md_spinlock_count == 0 && in trap()
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | machdep.c | 1700 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1702 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1706 td->td_md.md_spinlock_count++; in spinlock_enter() 1717 td->td_md.md_spinlock_count--; in spinlock_exit() 1718 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| H A D | vm_machdep.c | 193 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| H A D | trap.c | 299 if (td->td_md.md_spinlock_count == 0) in trap()
|
| /freebsd-14.2/sys/kern/ |
| H A D | sched_ule.c | 2301 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_switch() 2302 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_switch() 3090 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_throw_grab() 3091 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_throw_grab() 3161 KASSERT(curthread->td_md.md_spinlock_count == 1, in sched_fork_exit() 3162 ("invalid count %d", curthread->td_md.md_spinlock_count)); in sched_fork_exit()
|
| H A D | subr_smp.c | 578 MPASS(curthread->td_md.md_spinlock_count == 0); in smp_rendezvous_cpus()
|