Defined in 9 files as a prototype:
Defined in 1 files as a macro:
Defined in 18 files as a function:
- common/lib/libc/arch/arm/atomic/atomic_simplelock.c, line 60 (as a function)
- sys/arch/acorn32/include/lock.h, line 62 (as a function)
- sys/arch/alpha/include/lock.h, line 81 (as a function)
- sys/arch/amd64/amd64/lock_stubs.S, line 328 (as a function)
- sys/arch/arm/include/lock.h, line 174 (as a function)
- sys/arch/hppa/include/lock.h, line 95 (as a function)
- sys/arch/i386/i386/lock_stubs.S, line 387 (as a function)
- sys/arch/ia64/include/lock.h, line 103 (as a function)
- sys/arch/m68k/include/lock.h, line 72 (as a function)
- sys/arch/mips/include/lock.h, line 174 (as a function)
- sys/arch/or1k/include/lock.h, line 81 (as a function)
- sys/arch/powerpc/include/lock.h, line 71 (as a function)
- sys/arch/sh3/include/lock.h, line 80 (as a function)
- sys/arch/sparc/include/lock.h, line 107 (as a function)
- sys/arch/usermode/include/lock.h, line 48 (as a function)
- sys/arch/vax/include/lock.h, line 105 (as a function)
- sys/arch/x86/include/lock.h, line 108 (as a function)
- sys/sys/common_lock.h, line 83 (as a function)
Referenced in 20 files:
- common/lib/libc/arch/arm/atomic/atomic_simplelock.c, line 45
- common/lib/libc/atomic/atomic_init_testset.c
- common/lib/libc/gmon/mcount.c, line 171
- sys/arch/amd64/amd64/db_interface.c
- sys/arch/amd64/amd64/lock_stubs.S, line 343
- sys/arch/i386/i386/db_interface.c
- sys/arch/i386/i386/lock_stubs.S, line 403
- sys/arch/sparc/sparc/db_interface.c
- sys/arch/sparc/sparc/kgdb_machdep.c
- sys/arch/sparc/sparc/locore.s, line 5957
- sys/arch/sparc/sparc/openfirm.c, line 548
- sys/arch/sparc/sparc/timer.c, line 131
- sys/arch/sparc64/sparc64/kgdb_machdep.c
- sys/arch/x86/isa/clock.c
- sys/arch/x86/x86/ioapic.c, line 126
- sys/arch/xen/xen/xpci_xenbus.c, line 413
- sys/kern/subr_debug.c
- sys/kern/subr_lockdebug.c
- sys/rump/librump/rumpkern/atomic_cas_generic.c, line 57
- tests/kernel/t_lock.c