Home
last modified time | relevance | path

Searched refs:io_ref (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsb-members.h23 return !percpu_ref_is_zero(&ca->io_ref); in bch2_dev_is_online()
151 percpu_ref_put(&ca->io_ref); in bch2_get_next_online_dev()
155 !percpu_ref_tryget(&ca->io_ref))) in bch2_get_next_online_dev()
276 if (ca && !percpu_ref_tryget(&ca->io_ref)) in bch2_dev_get_ioref()
286 percpu_ref_put(&ca->io_ref); in bch2_dev_get_ioref()
Dbtree_node_scan.c247 percpu_ref_get(&ca->io_ref); in read_btree_nodes_worker()
269 percpu_ref_put(&ca->io_ref); in read_btree_nodes()
274 percpu_ref_get(&ca->io_ref); in read_btree_nodes()
283 percpu_ref_put(&ca->io_ref); in read_btree_nodes()
Dsuper-io.c235 percpu_ref_put(&ca->io_ref); in bch2_sb_field_resize_id()
886 percpu_ref_put(&ca->io_ref); in write_super_endio()
903 percpu_ref_get(&ca->io_ref); in read_back_super()
929 percpu_ref_get(&ca->io_ref); in write_one_super()
957 percpu_ref_put(&ca->io_ref); in bch2_write_super()
960 percpu_ref_get(&ca->io_ref); in bch2_write_super()
1119 percpu_ref_put(&(*ca)->io_ref); in bch2_write_super()
Dsuper.c1206 percpu_ref_exit(&ca->io_ref); in bch2_dev_free()
1218 if (percpu_ref_is_zero(&ca->io_ref)) in __bch2_dev_offline()
1224 percpu_ref_kill(&ca->io_ref); in __bch2_dev_offline()
1244 struct bch_dev *ca = container_of(ref, struct bch_dev, io_ref); in bch2_dev_io_ref_complete()
1338 if (percpu_ref_init(&ca->io_ref, bch2_dev_io_ref_complete, in __bch2_dev_alloc()
1404 BUG_ON(!percpu_ref_is_zero(&ca->io_ref)); in __bch2_dev_attach_bdev()
1416 percpu_ref_reinit(&ca->io_ref); in __bch2_dev_attach_bdev()
1709 !percpu_ref_is_zero(&ca->io_ref)) in bch2_dev_remove()
Ddisk_groups.c558 if (ca && percpu_ref_tryget(&ca->io_ref)) { in bch2_target_to_text()
560 percpu_ref_put(&ca->io_ref); in bch2_target_to_text()
Dalloc_background.c1898 percpu_ref_put(&ca->io_ref); in bch2_do_discards_work()
1915 percpu_ref_put(&ca->io_ref); in bch2_dev_do_discards()
1992 percpu_ref_put(&ca->io_ref); in bch2_do_discards_fast_work()
2012 percpu_ref_put(&ca->io_ref); in bch2_discard_one_bucket_fast()
2157 percpu_ref_put(&ca->io_ref); in bch2_do_invalidates_work()
2174 percpu_ref_put(&ca->io_ref); in bch2_dev_do_invalidates()
Dio_read.c712 percpu_ref_put(&ca->io_ref); in bch2_read_endio()
898 percpu_ref_put(&ca->io_ref); in __bch2_read_extent()
915 percpu_ref_put(&ca->io_ref); in __bch2_read_extent()
Djournal_io.c1176 percpu_ref_put(&ca->io_ref); in CLOSURE_CALLBACK()
1211 percpu_ref_tryget(&ca->io_ref)) in bch2_journal_read()
1708 percpu_ref_put(&ca->io_ref); in journal_write_endio()
1774 percpu_ref_get(&ca->io_ref); in CLOSURE_CALLBACK()
Ddebug.c58 percpu_ref_put(&ca->io_ref); in bch2_btree_verify_replica()
298 percpu_ref_put(&ca->io_ref); in bch2_btree_node_ondisk_to_text()
Dfs-io.c51 percpu_ref_put(&bio->ca->io_ref); in nocow_flush_endio()
74 if (ca && !percpu_ref_tryget(&ca->io_ref)) in bch2_inode_flush_nocow_writes_async()
Dec.c749 percpu_ref_put(&ca->io_ref); in ec_block_endio()
808 percpu_ref_get(&ca->io_ref); in ec_block_io()
815 percpu_ref_put(&ca->io_ref); in ec_block_io()
1445 percpu_ref_put(&ca->io_ref); in zero_out_rest_of_ec_bucket()
Dio_write.c673 percpu_ref_put(&ca->io_ref); in bch2_write_endio()
1372 percpu_ref_put(&bch2_dev_have_ref(c, i->b.inode)->io_ref); in bch2_nocow_write()
Dbcachefs.h515 struct percpu_ref io_ref; member
Dchardev.c722 percpu_ref_put(&ca->io_ref); in bch2_ioctl_disk_get_idx()
Dbackpointers.c520 percpu_ref_put(&ca->io_ref); in check_extent_checksum()
Dbtree_io.c1313 percpu_ref_put(&ca->io_ref); in btree_node_read_work()
1916 percpu_ref_put(&ca->io_ref); in btree_node_write_endio()
Dbuckets.c1145 percpu_ref_put(&ca->io_ref); in bch2_trans_mark_dev_sbs_flags()
Djournal.c1148 percpu_ref_put(&ca->io_ref); in bch2_fs_journal_alloc()
Dfs.c2220 percpu_ref_put(&ca->io_ref); in bch2_fs_get_tree()