|
|
1.1 ! root 1: bbrreelleeaassee() -- Block-Device Routine ! 2: ! 3: #iinncclluuddee <ssyyss/bbuuff.hh> ! 4: vvooiidd ! 5: bbrreelleeaassee(_b_p) ! 6: BBUUFF *_b_p; ! 7: ! 8: bbrreelleeaassee() unlocks and releases the buffer pointed to by _b_p. ! 9: ! 10: A device driver should always call bbrreelleeaassee() when it no longer needs a ! 11: buffer obtained via a bbrreeaadd(). If a driver needs to read and modify a ! 12: block, the recommended sequence is for it to call bbrreeaadd(), modify the ! 13: block, set the BFMOD bit in the field bb_ffllaagg field, then call bbrreelleeaassee(). ! 14: ! 15: _S_e_e _A_l_s_o ! 16: bblloocckk-ddeevviiccee rroouuttiinneess
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.