sleeplock           6 kernel/buf.h     struct sleeplock lock;
sleeplock           8 kernel/defs.h  struct sleeplock;
sleeplock         122 kernel/defs.h  void            acquiresleep(struct sleeplock*);
sleeplock         123 kernel/defs.h  void            releasesleep(struct sleeplock*);
sleeplock         124 kernel/defs.h  int             holdingsleep(struct sleeplock*);
sleeplock         125 kernel/defs.h  void            initsleeplock(struct sleeplock*, char*);
sleeplock          21 kernel/file.h    struct sleeplock lock; // protects everything below here
sleeplock          13 kernel/sleeplock.c initsleeplock(struct sleeplock *lk, char *name)
sleeplock          22 kernel/sleeplock.c acquiresleep(struct sleeplock *lk)
sleeplock          34 kernel/sleeplock.c releasesleep(struct sleeplock *lk)
sleeplock          44 kernel/sleeplock.c holdingsleep(struct sleeplock *lk)