|
|
1.1 ! root 1: bbrreeaadd() -- Block-Device Routine ! 2: ! 3: #iinncclluuddee <ssyyss/bbuuff.hh> ! 4: BBUUFF * ! 5: bbrreeaadd(_d_e_v_i_c_e, _b_n_o, _f_l_a_g) ! 6: ddeevv_tt _d_e_v; ! 7: ddaaddddrr_tt _b_n_o; ! 8: ! 9: bbrreeaadd() reads the block _b_n_o into the buffer cache. If _f_l_a_g is set, the ! 10: read is synchronous (that is, bbrreeaadd() will wait for I/O to complete), and ! 11: bbrreeaadd() will return a pointer to the buffer. Otherwise, the read is ! 12: asynchronous (that it, it returns immediately), and bbrreeaadd() returns NULL. ! 13: If the BFERR bit is set in the buffer's field bb_ffllaagg, a read error ! 14: occurred. ! 15: ! 16: _S_e_e _A_l_s_o ! 17: bblloocckk-ddeevviiccee rroouuttiinneess
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.