cpu                95 kernel/defs.h  struct cpu*     mycpu(void);
cpu                96 kernel/defs.h  struct cpu*     getmycpu(void);
cpu                 9 kernel/proc.c  struct cpu cpus[NCPU];
cpu                73 kernel/proc.c  struct cpu*
cpu                77 kernel/proc.c    struct cpu *c = &cpus[id];
cpu                86 kernel/proc.c    struct cpu *c = mycpu();
cpu               448 kernel/proc.c    struct cpu *c = mycpu();
cpu                29 kernel/proc.h  extern struct cpu cpus[NCPU];
cpu                16 kernel/spinlock.c   lk->cpu = 0;
cpu                42 kernel/spinlock.c   lk->cpu = mycpu();
cpu                52 kernel/spinlock.c   lk->cpu = 0;
cpu                80 kernel/spinlock.c   r = (lk->locked && lk->cpu == mycpu());
cpu               102 kernel/spinlock.c   struct cpu *c = mycpu();
cpu                 7 kernel/spinlock.h   struct cpu *cpu;   // The cpu holding the lock.