bcache             36 bio.c          } bcache;
bcache             43 bio.c            initlock(&bcache.lock, "bcache");
bcache             47 bio.c            bcache.head.prev = &bcache.head;
bcache             48 bio.c            bcache.head.next = &bcache.head;
bcache             49 bio.c            for(b = bcache.buf; b < bcache.buf+NBUF; b++){
bcache             50 bio.c              b->next = bcache.head.next;
bcache             51 bio.c              b->prev = &bcache.head;
bcache             53 bio.c              bcache.head.next->prev = b;
bcache             54 bio.c              bcache.head.next = b;
bcache             66 bio.c            acquire(&bcache.lock);
bcache             69 bio.c            for(b = bcache.head.next; b != &bcache.head; b = b->next){
bcache             72 bio.c                release(&bcache.lock);
bcache             81 bio.c            for(b = bcache.head.prev; b != &bcache.head; b = b->prev){
bcache             87 bio.c                release(&bcache.lock);
bcache            128 bio.c            acquire(&bcache.lock);
bcache            134 bio.c              b->next = bcache.head.next;
bcache            135 bio.c              b->prev = &bcache.head;
bcache            136 bio.c              bcache.head.next->prev = b;
bcache            137 bio.c              bcache.head.next = b;
bcache            140 bio.c            release(&bcache.lock);