Lines Matching refs:rw
299 unsigned int len, unsigned int off, int rw, in brd_do_bvec() argument
305 if (rw != READ) { in brd_do_bvec()
312 if (rw == READ) { in brd_do_bvec()
329 int rw; in brd_make_request() local
346 rw = bio_rw(bio); in brd_make_request()
347 if (rw == READA) in brd_make_request()
348 rw = READ; in brd_make_request()
355 bvec.bv_offset, rw, sector); in brd_make_request()
370 struct page *page, int rw) in brd_rw_page() argument
373 int err = brd_do_bvec(brd, page, PAGE_CACHE_SIZE, 0, rw, sector); in brd_rw_page()
374 page_endio(page, rw & WRITE, err); in brd_rw_page()