Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dcompression.c118 if (!refcount_dec_and_test(&cb->pending_bios)) in end_compressed_bio_read()
244 if (!refcount_dec_and_test(&cb->pending_bios)) in end_compressed_bio_write()
313 refcount_set(&cb->pending_bios, 0); in btrfs_submit_compressed_write()
330 refcount_set(&cb->pending_bios, 1); in btrfs_submit_compressed_write()
351 refcount_inc(&cb->pending_bios); in btrfs_submit_compressed_write()
565 refcount_set(&cb->pending_bios, 0); in btrfs_submit_compressed_read()
612 refcount_set(&cb->pending_bios, 1); in btrfs_submit_compressed_read()
638 refcount_inc(&cb->pending_bios); in btrfs_submit_compressed_read()
Dcompression.h30 refcount_t pending_bios; member
Dvolumes.c419 static void requeue_list(struct btrfs_pending_bios *pending_bios, in requeue_list() argument
425 old_head = pending_bios->head; in requeue_list()
426 pending_bios->head = head; in requeue_list()
427 if (pending_bios->tail) in requeue_list()
430 pending_bios->tail = tail; in requeue_list()
449 struct btrfs_pending_bios *pending_bios; in run_scheduled_bios() local
482 pending_bios = &device->pending_sync_bios; in run_scheduled_bios()
485 pending_bios = &device->pending_bios; in run_scheduled_bios()
489 pending = pending_bios->head; in run_scheduled_bios()
490 tail = pending_bios->tail; in run_scheduled_bios()
[all …]
Dbtrfs_inode.h300 atomic_t pending_bios; member
Dvolumes.h58 struct btrfs_pending_bios pending_bios; member
Dinode.c8169 if (!atomic_dec_and_test(&dip->pending_bios)) in btrfs_end_dio_bio()
8296 atomic_inc(&dip->pending_bios); in btrfs_submit_direct_hook()
8321 atomic_inc(&dip->pending_bios); in btrfs_submit_direct_hook()
8327 atomic_dec(&dip->pending_bios); in btrfs_submit_direct_hook()
8356 if (atomic_dec_and_test(&dip->pending_bios)) in btrfs_submit_direct_hook()
8388 atomic_set(&dip->pending_bios, 0); in btrfs_submit_direct()
/Linux-v4.19/include/linux/
Dpktcdvd.h57 atomic_t pending_bios; member
/Linux-v4.19/drivers/staging/erofs/
Dunzip_vle.h126 atomic_t pending_bios; member
Dunzip_vle.c727 if (atomic_add_return(bios, &io->pending_bios)) in z_erofs_vle_unzip_kickoff()
1048 atomic_set(&io->pending_bios, 0); in prepare_io_handler()
1297 !atomic_read(&io[__FSIO_1].pending_bios));
/Linux-v4.19/drivers/block/
Dpktcdvd.c511 BUG_ON(atomic_read(&pd->cdrw.pending_bios) <= 0); in pkt_bio_finished()
512 if (atomic_dec_and_test(&pd->cdrw.pending_bios)) { in pkt_bio_finished()
869 if (atomic_read(&pd->cdrw.pending_bios) > 0) { in pkt_iosched_process_queue()
878 if (atomic_read(&pd->cdrw.pending_bios) > 0) { in pkt_iosched_process_queue()
915 atomic_inc(&pd->cdrw.pending_bios); in pkt_iosched_process_queue()
2553 seq_printf(m, "\tbios pending:\t\t%d\n", atomic_read(&pd->cdrw.pending_bios)); in pkt_seq_show()
2612 atomic_set(&pd->cdrw.pending_bios, 0); in pkt_new_dev()
/Linux-v4.19/drivers/md/
Draid5.c989 struct bio_list pending_bios = BIO_EMPTY_LIST; in ops_run_io() local
1157 bio_list_add(&pending_bios, bi); in ops_run_io()
1207 bio_list_add(&pending_bios, rbi); in ops_run_io()
1228 if (should_defer && !bio_list_empty(&pending_bios)) in ops_run_io()
1229 defer_issue_bios(conf, head_sh->sector, &pending_bios); in ops_run_io()
/Linux-v4.19/drivers/block/drbd/
Ddrbd_int.h411 atomic_t pending_bios; member
Ddrbd_worker.c200 if (atomic_dec_and_test(&peer_req->pending_bios)) { in drbd_peer_request_endio()
Ddrbd_receiver.c423 D_ASSERT(device, atomic_read(&peer_req->pending_bios) == 0); in __drbd_free_peer_req()
1613 atomic_set(&peer_req->pending_bios, n_bios); in drbd_submit_peer_request()