| /freebsd-14-stable/sys/arm/arm/ |
| HD | 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()
|
| HD | 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()
|
| HD | syscall.c | 161 if (td->td_md.md_spinlock_count == 0) { in swi_handler()
|
| HD | trap-v6.c | 409 if (td->td_md.md_spinlock_count == 0) { in abort_handler()
|
| /freebsd-14-stable/sys/riscv/riscv/ |
| HD | 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()
|
| HD | 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-stable/sys/powerpc/powerpc/ |
| HD | 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()
|
| HD | vm_machdep.c | 173 td2->td_md.md_spinlock_count = 1; in cpu_fork()
|
| /freebsd-14-stable/sys/riscv/include/ |
| HD | proc.h | 37 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/powerpc/include/ |
| HD | proc.h | 43 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/arm/include/ |
| HD | proc.h | 43 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/i386/include/ |
| HD | proc.h | 53 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/arm64/include/ |
| HD | proc.h | 46 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/arm64/arm64/ |
| HD | 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()
|
| HD | 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()
|
| HD | trap.c | 336 if (td->td_md.md_spinlock_count != 0) { in data_abort() 341 td->td_md.md_spinlock_count); in data_abort()
|
| /freebsd-14-stable/sys/amd64/include/ |
| HD | proc.h | 73 int md_spinlock_count; /* (k) */ member
|
| /freebsd-14-stable/sys/amd64/amd64/ |
| HD | machdep.c | 1701 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1703 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1707 td->td_md.md_spinlock_count++; in spinlock_enter() 1718 td->td_md.md_spinlock_count--; in spinlock_exit() 1719 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| HD | vm_machdep.c | 193 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| HD | trap.c | 310 if (td->td_md.md_spinlock_count == 0) in trap()
|
| /freebsd-14-stable/sys/i386/i386/ |
| HD | machdep.c | 1779 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter() 1781 td->td_md.md_spinlock_count = 1; in spinlock_enter() 1785 td->td_md.md_spinlock_count++; in spinlock_enter() 1796 td->td_md.md_spinlock_count--; in spinlock_exit() 1797 if (td->td_md.md_spinlock_count == 0) { in spinlock_exit()
|
| HD | vm_machdep.c | 198 td2->td_md.md_spinlock_count = 1; in copy_thread()
|
| HD | trap.c | 321 if (trap_enable_intr(type) && td->td_md.md_spinlock_count == 0 && in trap()
|
| /freebsd-14-stable/sys/kern/ |
| HD | 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()
|
| HD | subr_smp.c | 578 MPASS(curthread->td_md.md_spinlock_count == 0); in smp_rendezvous_cpus()
|