File:  [MW Coherent from dump] / coherent / f / usr / man / KERNEL / bread
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

bbrreeaadd() -- Block-Device Routine

#iinncclluuddee <ssyyss/bbuuff.hh>
BBUUFF *
bbrreeaadd(_d_e_v_i_c_e, _b_n_o, _f_l_a_g)
ddeevv_tt _d_e_v;
ddaaddddrr_tt _b_n_o;

bbrreeaadd() reads  the block _b_n_o  into the buffer  cache.  If _f_l_a_g  is set, the
read is synchronous  (that is, bbrreeaadd() will wait for  I/O to complete), and
bbrreeaadd()  will return  a  pointer to  the  buffer.  Otherwise,  the read  is
asynchronous (that  it, it returns immediately),  and bbrreeaadd() returns NULL.
If  the  BFERR bit  is  set in  the  buffer's field  bb_ffllaagg,  a read  error
occurred.

_S_e_e _A_l_s_o
bblloocckk-ddeevviiccee rroouuttiinneess

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.