spinlock           27 kernel/bio.c     struct spinlock lock;
spinlock           45 kernel/console.c   struct spinlock lock;
spinlock            7 kernel/defs.h  struct spinlock;
spinlock          101 kernel/defs.h  void            sleep(void*, struct spinlock*);
spinlock          114 kernel/defs.h  void            acquire(struct spinlock*);
spinlock          115 kernel/defs.h  int             holding(struct spinlock*);
spinlock          116 kernel/defs.h  void            initlock(struct spinlock*, char*);
spinlock          117 kernel/defs.h  void            release(struct spinlock*);
spinlock          148 kernel/defs.h  extern struct spinlock tickslock;
spinlock           18 kernel/file.c    struct spinlock lock;
spinlock          177 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           22 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          548 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  struct spinlock uart_tx_lock;
spinlock           57 kernel/virtio_disk.c   struct spinlock vdisk_lock;