Home
last modified time | relevance | path

Searched refs:pending_io (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dscrub.c131 atomic_t pending_io; member
262 atomic_set(&stripe->pending_io, 0); in init_scrub_stripe()
287 wait_event(stripe->io_wait, atomic_read(&stripe->pending_io) == 0); in wait_scrub_stripe_io()
808 if (atomic_dec_and_test(&stripe->pending_io)) in scrub_repair_read_endio()
827 ASSERT(atomic_read(&stripe->pending_io) == 0); in scrub_stripe_submit_repair_read()
841 atomic_inc(&stripe->pending_io); in scrub_stripe_submit_repair_read()
860 atomic_inc(&stripe->pending_io); in scrub_stripe_submit_repair_read()
1120 if (atomic_dec_and_test(&stripe->pending_io)) { in scrub_read_endio()
1149 if (atomic_dec_and_test(&stripe->pending_io)) in scrub_write_endio()
1163 atomic_inc(&stripe->pending_io); in scrub_submit_write_bio()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-core.h82 unsigned long __percpu *pending_io; member
H A Ddm.c591 this_cpu_inc(*md->pending_io); in alloc_io()
953 this_cpu_dec(*md->pending_io); in __dm_io_complete()
2014 if (md->pending_io) { in cleanup_mapped_device()
2015 free_percpu(md->pending_io); in cleanup_mapped_device()
2016 md->pending_io = NULL; in cleanup_mapped_device()
2121 md->pending_io = alloc_percpu(unsigned long); in alloc_dev()
2122 if (!md->pending_io) in alloc_dev()
2522 sum += *per_cpu_ptr(md->pending_io, cpu); in dm_in_flight_bios()