Lines Matching refs:rw

70 static int hptraidspan_make_request (request_queue_t *q, int rw, struct buffer_head * bh);
71 static int hptraid0_make_request (request_queue_t *q, int rw, struct buffer_head * bh);
72 static int hptraid1_make_request (request_queue_t *q, int rw, struct buffer_head * bh);
73 static int hptraid01_make_request (request_queue_t *q, int rw, struct buffer_head * bh);
230 static int hptraidspan_make_request (request_queue_t *q, int rw, struct buffer_head * bh) in hptraidspan_make_request() argument
278 int rw, struct buffer_head * bh) in hptraid0_compute_request() argument
362 static int hptraid0_make_request (request_queue_t *q, int rw, struct buffer_head * bh) in hptraid0_make_request() argument
381 if( hptraid0_compute_request(raid+device, q, rw, bh) != 1 ) { in hptraid0_make_request()
390 static int hptraid1_read_request (request_queue_t *q, int rw, struct buffer_head * bh) in hptraid1_read_request() argument
443 static int hptraid1_write_request(request_queue_t *q, int rw, struct buffer_head * bh) in hptraid1_write_request() argument
484 q, rw, bh1) != 1 ) { in hptraid1_write_request()
499 generic_make_request(rw,bh1); in hptraid1_write_request()
504 static int hptraid1_make_request (request_queue_t *q, int rw, struct buffer_head * bh) { in hptraid1_make_request() argument
509 if (rw==READA) in hptraid1_make_request()
510 rw = READ; in hptraid1_make_request()
512 if (rw==READ) in hptraid1_make_request()
513 return hptraid1_read_request(q,rw,bh); in hptraid1_make_request()
515 return hptraid1_write_request(q,rw,bh); in hptraid1_make_request()
518 static int hptraid01_read_request (request_queue_t *q, int rw, struct buffer_head * bh) in hptraid01_read_request() argument
524 hptraid1_read_request(q, rw, bh); in hptraid01_read_request()
530 q, rw, bh) != 1 ) { in hptraid01_read_request()
542 static int hptraid01_make_request (request_queue_t *q, int rw, struct buffer_head * bh) { in hptraid01_make_request() argument
547 if (rw==READA) in hptraid01_make_request()
548 rw = READ; in hptraid01_make_request()
550 if (rw==READ) in hptraid01_make_request()
551 return hptraid01_read_request(q,rw,bh); in hptraid01_make_request()
553 return hptraid1_write_request(q,rw,bh); in hptraid01_make_request()