Searched refs:bfs (Results 1 – 1 of 1) sorted by relevance
181 static struct bf bfs[2]; variable322 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ in rw_init()324 bfs[1].counter = BF_FREE; in rw_init()326 return &bfs[0].buf.hdr; in rw_init()347 bfs[current].counter = BF_FREE; /* free old one */ in readit()350 b = &bfs[current]; /* look at new buffer */ in readit()371 b = &bfs[nextone]; /* look at "next" buffer */ in read_ahead()427 if(bfs[current].counter != BF_FREE) /* if not free */ in writeit()429 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */ in writeit()430 *dpp = &bfs[current].buf.hdr; in writeit()[all …]
Completed in 7 milliseconds