bcache 34 kernel/bio.c } bcache; bcache 41 kernel/bio.c initlock(&bcache.lock, "bcache"); bcache 44 kernel/bio.c bcache.head.prev = &bcache.head; bcache 45 kernel/bio.c bcache.head.next = &bcache.head; bcache 46 kernel/bio.c for(b = bcache.buf; b < bcache.buf+NBUF; b++){ bcache 47 kernel/bio.c b->next = bcache.head.next; bcache 48 kernel/bio.c b->prev = &bcache.head; bcache 50 kernel/bio.c bcache.head.next->prev = b; bcache 51 kernel/bio.c bcache.head.next = b; bcache 63 kernel/bio.c acquire(&bcache.lock); bcache 66 kernel/bio.c for(b = bcache.head.next; b != &bcache.head; b = b->next){ bcache 69 kernel/bio.c release(&bcache.lock); bcache 77 kernel/bio.c for(b = bcache.head.prev; b != &bcache.head; b = b->prev){ bcache 83 kernel/bio.c release(&bcache.lock); bcache 124 kernel/bio.c acquire(&bcache.lock); bcache 130 kernel/bio.c b->next = bcache.head.next; bcache 131 kernel/bio.c b->prev = &bcache.head; bcache 132 kernel/bio.c bcache.head.next->prev = b; bcache 133 kernel/bio.c bcache.head.next = b; bcache 136 kernel/bio.c release(&bcache.lock); bcache 141 kernel/bio.c acquire(&bcache.lock); bcache 143 kernel/bio.c release(&bcache.lock); bcache 148 kernel/bio.c acquire(&bcache.lock); bcache 150 kernel/bio.c release(&bcache.lock);