sleeplock 5 buf.h struct sleeplock lock; sleeplock 9 defs.h struct sleeplock; sleeplock 137 defs.h void acquiresleep(struct sleeplock*); sleeplock 138 defs.h void releasesleep(struct sleeplock*); sleeplock 139 defs.h int holdingsleep(struct sleeplock*); sleeplock 140 defs.h void initsleeplock(struct sleeplock*, char*); sleeplock 17 file.h struct sleeplock lock; // protects everything below here sleeplock 14 sleeplock.c initsleeplock(struct sleeplock *lk, char *name) sleeplock 23 sleeplock.c acquiresleep(struct sleeplock *lk) sleeplock 35 sleeplock.c releasesleep(struct sleeplock *lk) sleeplock 45 sleeplock.c holdingsleep(struct sleeplock *lk)