spinlock 30 bio.c struct spinlock lock; spinlock 23 console.c struct spinlock lock; spinlock 8 defs.h struct spinlock; spinlock 118 defs.h void sleep(void*, struct spinlock*); spinlock 128 defs.h void acquire(struct spinlock*); spinlock 130 defs.h int holding(struct spinlock*); spinlock 131 defs.h void initlock(struct spinlock*, char*); spinlock 132 defs.h void release(struct spinlock*); spinlock 166 defs.h extern struct spinlock tickslock; spinlock 15 file.c struct spinlock lock; spinlock 167 fs.c struct spinlock lock; spinlock 31 ide.c static struct spinlock idelock; spinlock 21 kalloc.c struct spinlock lock; spinlock 40 log.c struct spinlock lock; spinlock 14 pipe.c struct spinlock lock; spinlock 11 proc.c struct spinlock lock; spinlock 418 proc.c sleep(void *chan, struct spinlock *lk) spinlock 4 sleeplock.h struct spinlock lk; // spinlock protecting this sleep lock spinlock 13 spinlock.c initlock(struct spinlock *lk, char *name) spinlock 25 spinlock.c acquire(struct spinlock *lk) spinlock 47 spinlock.c release(struct spinlock *lk) spinlock 90 spinlock.c holding(struct spinlock *lock) spinlock 14 trap.c struct spinlock tickslock;