Searched refs:nr_pending (Results 1 – 17 of 17) sorted by relevance
586 atomic_inc(&info->rdev->nr_pending); in update_read_sectors()796 pending = atomic_read(&rdev->nr_pending); in choose_best_rdev()1004 !atomic_read(&conf->nr_pending[idx]) && in raise_barrier()1045 atomic_inc(&conf->nr_pending[idx]); in _wait_barrier()1078 atomic_dec(&conf->nr_pending[idx]); in _wait_barrier()1094 atomic_inc(&conf->nr_pending[idx]); in _wait_barrier()1114 atomic_inc(&conf->nr_pending[idx]); in wait_read_barrier()1121 atomic_dec(&conf->nr_pending[idx]); in wait_read_barrier()1137 atomic_inc(&conf->nr_pending[idx]); in wait_read_barrier()1154 atomic_dec(&conf->nr_pending[idx]); in _allow_barrier()[all …]
812 pending = atomic_read(&rdev->nr_pending); in read_balance()853 atomic_inc(&rdev->nr_pending); in read_balance()939 wait_event_barrier(conf, !atomic_read(&conf->nr_pending) && in raise_barrier()970 if (atomic_read(&conf->nr_pending) && bio_list && in stop_waiting_barrier()982 WARN_ON_ONCE(atomic_read(&conf->nr_pending) == 0); in stop_waiting_barrier()996 atomic_inc(&conf->nr_pending); in wait_barrier_nolock()1000 if (atomic_dec_and_test(&conf->nr_pending)) in wait_barrier_nolock()1029 atomic_inc(&conf->nr_pending); in wait_barrier()1036 if ((atomic_dec_and_test(&conf->nr_pending)) || in allow_barrier()1059 wait_event_barrier_cmd(conf, atomic_read(&conf->nr_pending) == in freeze_array()[all …]
101 atomic_t *nr_pending; member
80 atomic_t nr_pending; member
165 atomic_t nr_pending; /* number of pending requests. member920 if (atomic_dec_and_test(&rdev->nr_pending) && faulty) { in rdev_dec_pending()
1202 atomic_inc(&rdev->nr_pending); in ops_run_io()1206 atomic_inc(&rrdev->nr_pending); in ops_run_io()1234 atomic_inc(&rdev->nr_pending); in ops_run_io()3631 atomic_inc(&rdev->nr_pending); in handle_failed_stripe()4734 atomic_inc(&rdev->nr_pending); in analyse_stripe()4772 atomic_inc(&rdev2->nr_pending); in analyse_stripe()4783 atomic_inc(&rdev2->nr_pending); in analyse_stripe()4792 atomic_inc(&rdev2->nr_pending); in analyse_stripe()5479 atomic_inc(&rdev->nr_pending); in raid5_read_one_chunk()8188 atomic_read(&rdev->nr_pending)) { in raid5_remove_disk()
1895 atomic_inc(&rdev->nr_pending); in r5l_recovery_replay_one_stripe()1903 atomic_inc(&rrdev->nr_pending); in r5l_recovery_replay_one_stripe()
392 atomic_inc(&rdev->nr_pending); in next_active_rdev()
982 atomic_inc(&rdev->nr_pending); in md_super_write()3630 atomic_set(&rdev->nr_pending, 0); in md_rdev_init()9288 if (atomic_read(&rdev->nr_pending)) in rdev_removeable()
16 size_t __percpu *nr_pending; member
100 this_cpu_dec(*c->btree_key_cache.nr_pending); in __bkey_cached_free()116 this_cpu_inc(*bc->nr_pending); in bkey_cached_free()744 free_percpu(bc->nr_pending); in bch2_fs_btree_key_cache_exit()756 bc->nr_pending = alloc_percpu(size_t); in bch2_fs_btree_key_cache_init()757 if (!bc->nr_pending) in bch2_fs_btree_key_cache_init()798 prt_printf(out, "pending:\t%zu\r\n", per_cpu_sum(bc->nr_pending)); in bch2_btree_key_cache_to_text()
714 event->handle->nr_pending++; in xs_watch_msg()772 watch->nr_pending = 0; in register_xenbus_watch()823 if (watch->nr_pending) { in unregister_xenbus_watch()830 watch->nr_pending = 0; in unregister_xenbus_watch()895 event->handle->nr_pending--; in xenwatch_thread()
186 return watch->nr_pending == 0; in frontend_will_handle()
50 unsigned int nr_pending; /* # queued in the tree */ member
403 tg->service_queue.parent_sq->nr_pending++; in throtl_enqueue_tg()414 --parent_sq->nr_pending; in throtl_dequeue_tg()461 if (!sq->nr_pending) in throtl_schedule_next_dispatch()975 if (!parent_sq->nr_pending) in throtl_select_dispatch()
63 unsigned int nr_pending; member
134 int nr_pending; member1057 match->nr_pending++; in io_acct_cancel_pending_work()1113 if (match.nr_pending && !match.cancel_all) in io_wq_cancel_cb()1124 if (match.nr_pending) in io_wq_cancel_cb()