spinlock 27 kernel/bio.c struct spinlock lock; spinlock 45 kernel/console.c struct spinlock lock; spinlock 7 kernel/defs.h struct spinlock; spinlock 96 kernel/defs.h void sleep(void*, struct spinlock*); spinlock 109 kernel/defs.h void acquire(struct spinlock*); spinlock 110 kernel/defs.h int holding(struct spinlock*); spinlock 111 kernel/defs.h void initlock(struct spinlock*, char*); spinlock 112 kernel/defs.h void release(struct spinlock*); spinlock 143 kernel/defs.h extern struct spinlock tickslock; spinlock 18 kernel/file.c struct spinlock lock; spinlock 178 kernel/fs.c struct spinlock lock; spinlock 22 kernel/kalloc.c struct spinlock lock; spinlock 41 kernel/log.c struct spinlock lock; spinlock 14 kernel/pipe.c struct spinlock lock; spinlock 23 kernel/printf.c struct spinlock lock; spinlock 16 kernel/proc.c struct spinlock pid_lock; spinlock 27 kernel/proc.c struct spinlock wait_lock; spinlock 540 kernel/proc.c sleep(void *chan, struct spinlock *lk) spinlock 86 kernel/proc.h struct spinlock lock; spinlock 4 kernel/sleeplock.h struct spinlock lk; // spinlock protecting this sleep lock spinlock 12 kernel/spinlock.c initlock(struct spinlock *lk, char *name) spinlock 22 kernel/spinlock.c acquire(struct spinlock *lk) spinlock 47 kernel/spinlock.c release(struct spinlock *lk) spinlock 77 kernel/spinlock.c holding(struct spinlock *lk) spinlock 9 kernel/trap.c struct spinlock tickslock; spinlock 42 kernel/uart.c static struct spinlock tx_lock; spinlock 57 kernel/virtio_disk.c struct spinlock vdisk_lock;