Searched refs:nr_pending (Results 1 – 18 of 18) sorted by relevance
711 pending = atomic_read(&rdev->nr_pending); in read_balance()779 atomic_inc(&rdev->nr_pending); in read_balance()901 !atomic_read(&conf->nr_pending[idx]) && in raise_barrier()942 atomic_inc(&conf->nr_pending[idx]); in _wait_barrier()975 atomic_dec(&conf->nr_pending[idx]); in _wait_barrier()991 atomic_inc(&conf->nr_pending[idx]); in _wait_barrier()1011 atomic_inc(&conf->nr_pending[idx]); in wait_read_barrier()1018 atomic_dec(&conf->nr_pending[idx]); in wait_read_barrier()1034 atomic_inc(&conf->nr_pending[idx]); in wait_read_barrier()1051 atomic_dec(&conf->nr_pending[idx]); in _allow_barrier()[all …]
834 pending = atomic_read(&rdev->nr_pending); in read_balance()875 atomic_inc(&rdev->nr_pending); in read_balance()962 wait_event_barrier(conf, !atomic_read(&conf->nr_pending) && in raise_barrier()993 if (atomic_read(&conf->nr_pending) && bio_list && in stop_waiting_barrier()1005 WARN_ON_ONCE(atomic_read(&conf->nr_pending) == 0); in stop_waiting_barrier()1019 atomic_inc(&conf->nr_pending); in wait_barrier_nolock()1023 if (atomic_dec_and_test(&conf->nr_pending)) in wait_barrier_nolock()1052 atomic_inc(&conf->nr_pending); in wait_barrier()1059 if ((atomic_dec_and_test(&conf->nr_pending)) || in allow_barrier()1082 wait_event_barrier_cmd(conf, atomic_read(&conf->nr_pending) == in freeze_array()[all …]
40 atomic_inc(&rdev->nr_pending); in multipath_map()255 atomic_read(&rdev->nr_pending)) { in multipath_remove_disk()263 if (atomic_read(&rdev->nr_pending)) { in multipath_remove_disk()
100 atomic_t *nr_pending; member
80 atomic_t nr_pending; member
108 atomic_t nr_pending; /* number of pending requests. member829 if (atomic_dec_and_test(&rdev->nr_pending) && faulty) { in rdev_dec_pending()
1208 atomic_inc(&rdev->nr_pending); in ops_run_io()1212 atomic_inc(&rrdev->nr_pending); in ops_run_io()1243 atomic_inc(&rdev->nr_pending); in ops_run_io()2741 atomic_read(&rcu_access_pointer(rdev)->nr_pending)); in rdev_pend_deref()3675 atomic_inc(&rdev->nr_pending); in handle_failed_stripe()4782 atomic_inc(&rdev->nr_pending); in analyse_stripe()4820 atomic_inc(&rdev2->nr_pending); in analyse_stripe()4831 atomic_inc(&rdev2->nr_pending); in analyse_stripe()4840 atomic_inc(&rdev2->nr_pending); in analyse_stripe()5534 atomic_inc(&rdev->nr_pending); in raid5_read_one_chunk()[all …]
1894 atomic_inc(&rdev->nr_pending); in r5l_recovery_replay_one_stripe()1904 atomic_inc(&rrdev->nr_pending); in r5l_recovery_replay_one_stripe()
521 atomic_inc(&rdev->nr_pending); in submit_flushes()952 atomic_inc(&rdev->nr_pending); in md_super_write()3657 atomic_set(&rdev->nr_pending, 0); in md_rdev_init()9233 atomic_read(&rdev->nr_pending)==0) { in remove_and_add_spares()9253 atomic_read(&rdev->nr_pending)==0)) { in remove_and_add_spares()
193 atomic_inc(&rdev->nr_pending); in next_active_rdev()
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
560 tg->service_queue.parent_sq->nr_pending++; in throtl_enqueue_tg()571 --parent_sq->nr_pending; in throtl_dequeue_tg()618 if (!sq->nr_pending) in throtl_schedule_next_dispatch()1129 if (!parent_sq->nr_pending) in throtl_select_dispatch()
63 unsigned int nr_pending; member
132 int nr_pending; member1050 match->nr_pending++; in io_acct_cancel_pending_work()1106 if (match.nr_pending && !match.cancel_all) in io_wq_cancel_cb()1117 if (match.nr_pending) in io_wq_cancel_cb()
967 local_t nr_pending; member
2298 local_dec(&event->ctx->nr_pending); in event_sched_out()3532 if (local_read(&ctx->nr_pending) || in perf_event_context_sched_out()3533 local_read(&next_ctx->nr_pending)) { in perf_event_context_sched_out()6735 local_dec(&event->ctx->nr_pending); in __perf_pending_irq()6808 local_dec(&event->ctx->nr_pending); in perf_pending_task()9577 local_inc(&event->ctx->nr_pending); in __perf_event_overflow()