|
|
1.1 root 1: bbwwrriittee() -- Block-Device Routine
2:
3: #iinncclluuddee <ssyyss/bbuuff.hh>
4: vvooiidd
5: bbwwrriittee(_b_p, _f_l_a_g)
6: BBUUFF *_b_p;
7:
8: bbwwrriittee writes out the buffer pointed to by _b_p. If _f_l_a_g is set, the write is
9: synchronous, and bbwwrriittee() will not return until the I/O has completed;
10: otherwise, it is asynchronous and bbwwrriittee() returns immediately.
11:
12: A device driver must first lock the buffer gate before it calls bbwwrriittee();
13: otherwise, the buffer may be modified while it is being written.
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.