Home
last modified time | relevance | path

Searched refs:pending_bios (Results 1 – 5 of 5) sorted by relevance

/drivers/block/
Dpktcdvd.c481 seq_printf(m, "\tbios pending:\t\t%d\n", atomic_read(&pd->cdrw.pending_bios)); in pkt_seq_show()
535 BUG_ON(atomic_read(&pd->cdrw.pending_bios) <= 0); in pkt_bio_finished()
536 if (atomic_dec_and_test(&pd->cdrw.pending_bios)) { in pkt_bio_finished()
886 if (atomic_read(&pd->cdrw.pending_bios) > 0) { in pkt_iosched_process_queue()
895 if (atomic_read(&pd->cdrw.pending_bios) > 0) { in pkt_iosched_process_queue()
932 atomic_inc(&pd->cdrw.pending_bios); in pkt_iosched_process_queue()
2535 atomic_set(&pd->cdrw.pending_bios, 0); in pkt_new_dev()
/drivers/block/drbd/
Ddrbd_int.h327 atomic_t pending_bios; member
Ddrbd_worker.c189 if (atomic_dec_and_test(&peer_req->pending_bios)) { in drbd_peer_request_endio()
Ddrbd_receiver.c413 D_ASSERT(device, atomic_read(&peer_req->pending_bios) == 0); in __drbd_free_peer_req()
1713 atomic_set(&peer_req->pending_bios, n_bios); in drbd_submit_peer_request()
/drivers/md/
Draid5.c1143 struct bio_list pending_bios = BIO_EMPTY_LIST; in ops_run_io() local
1310 bio_list_add(&pending_bios, bi); in ops_run_io()
1357 bio_list_add(&pending_bios, rbi); in ops_run_io()
1378 if (should_defer && !bio_list_empty(&pending_bios)) in ops_run_io()
1379 defer_issue_bios(conf, head_sh->sector, &pending_bios); in ops_run_io()