spinlock           26 kernel/bio.c     struct spinlock lock;
spinlock           48 kernel/console.c   struct spinlock lock;
spinlock            8 kernel/defs.h  struct spinlock;
spinlock          111 kernel/defs.h  void            acquire(struct spinlock*);
spinlock          112 kernel/defs.h  int             holding(struct spinlock*);
spinlock          113 kernel/defs.h  void            initlock(struct spinlock*, char*);
spinlock          114 kernel/defs.h  void            release(struct spinlock*);
spinlock          145 kernel/defs.h  extern struct spinlock tickslock;
spinlock           18 kernel/file.c    struct spinlock lock;
spinlock          179 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/printk.c   struct spinlock lock;
spinlock           16 kernel/proc.c  struct spinlock pid_lock;
spinlock           27 kernel/proc.c  struct spinlock wait_lock;
spinlock           83 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           46 kernel/spinlock.c release(struct spinlock *lk)
spinlock           81 kernel/spinlock.c holding(struct spinlock *lk)
spinlock            9 kernel/trap.c  struct spinlock tickslock;
spinlock           57 kernel/virtio_disk.c   struct spinlock vdisk_lock;