Searched refs:nr_pending (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/md/
H A Draid10.h12 * and if it is non-NULL, increment rdev->nr_pending before dropping the
14 * When .rdev is set to NULL, the nr_pending count checked again and if it has
80 atomic_t nr_pending; member in struct:r10conf
H A Draid1.h14 * atomic_t *nr_pending;
35 * and if it is non-NULL, increment rdev->nr_pending before dropping the
37 * When .rdev is set to NULL, the nr_pending count checked again and if it has
101 atomic_t *nr_pending; member in struct:r1conf
H A Draid10.c716 * The rdev for the device selected will have nr_pending incremented.
811 pending = atomic_read(&rdev->nr_pending);
852 atomic_inc(&rdev->nr_pending);
910 * i.e. if nr_pending == 0.
938 wait_event_barrier(conf, !atomic_read(&conf->nr_pending) &&
966 * don't wait, as we need to empty that queue to get the nr_pending
969 if (atomic_read(&conf->nr_pending) && bio_list &&
976 * move on if io is issued from raid10d(), nr_pending is not released
981 WARN_ON_ONCE(atomic_read(&conf->nr_pending) == 0);
995 atomic_inc(&conf->nr_pending);
[all...]
H A Draid1.c584 atomic_inc(&info->rdev->nr_pending);
787 pending = atomic_read(&rdev->nr_pending);
854 * The rdev for the device selected will have nr_pending incremented.
947 * i.e. if nr_pending == 0.
978 * check conf->nr_pending[idx]. In _wait_barrier() we firstly
979 * increase conf->nr_pending[idx] then check conf->barrier[idx].
980 * A memory barrier here to make sure conf->nr_pending[idx] won't
988 * B: while conf->nr_pending[idx] is not 0, meaning regular I/O
995 !atomic_read(&conf->nr_pending[idx]) &&
1029 * We need to increase conf->nr_pending[id
[all...]
H A Dmd.h110 atomic_t nr_pending; /* number of pending requests. member in struct:md_rdev
848 if (atomic_dec_and_test(&rdev->nr_pending) && faulty) {
H A Draid5.c1203 atomic_inc(&rdev->nr_pending);
1207 atomic_inc(&rrdev->nr_pending);
1232 * will dec nr_pending, we must
1235 atomic_inc(&rdev->nr_pending);
3632 atomic_inc(&rdev->nr_pending);
4733 atomic_inc(&rdev->nr_pending);
4771 atomic_inc(&rdev2->nr_pending);
4782 atomic_inc(&rdev2->nr_pending);
4791 atomic_inc(&rdev2->nr_pending);
5482 atomic_inc(&rdev->nr_pending);
[all...]
H A Draid5-cache.c1895 atomic_inc(&rdev->nr_pending);
1903 atomic_inc(&rrdev->nr_pending);
H A Dmd-bitmap.c172 * nr_pending is 0 and In_sync is clear, the entries we return will
193 atomic_inc(&rdev->nr_pending);
H A Dmd.c578 atomic_inc(&rdev->nr_pending);
1057 atomic_inc(&rdev->nr_pending);
3739 atomic_set(&rdev->nr_pending, 0);
9266 if (atomic_read(&rdev->nr_pending))
9554 * This thread also removes any faulty devices (with nr_pending == 0).
/linux-master/block/
H A Dblk-throttle.h50 unsigned int nr_pending; /* # queued in the tree */ member in struct:throtl_service_queue
H A Dblk-throttle.c560 tg->service_queue.parent_sq->nr_pending++;
571 --parent_sq->nr_pending;
618 if (!sq->nr_pending)
1129 if (!parent_sq->nr_pending)
/linux-master/drivers/xen/xenbus/
H A Dxenbus_xs.c714 event->handle->nr_pending++;
772 watch->nr_pending = 0;
823 if (watch->nr_pending) {
830 watch->nr_pending = 0;
895 event->handle->nr_pending--;
H A Dxenbus_probe_backend.c186 return watch->nr_pending == 0;
/linux-master/include/xen/
H A Dxenbus.h63 unsigned int nr_pending; member in struct:xenbus_watch
/linux-master/io_uring/
H A Dio-wq.c132 int nr_pending; member in struct:io_cb_cancel_data
1050 match->nr_pending++;
1106 if (match.nr_pending && !match.cancel_all)
1117 if (match.nr_pending)
/linux-master/include/linux/
H A Dperf_event.h967 local_t nr_pending; member in struct:perf_event_context
/linux-master/kernel/events/
H A Dcore.c2298 local_dec(&event->ctx->nr_pending);
3531 /* PMIs are disabled; ctx->nr_pending is stable. */
3532 if (local_read(&ctx->nr_pending) ||
3533 local_read(&next_ctx->nr_pending)) {
6747 local_dec(&event->ctx->nr_pending);
6820 local_dec(&event->ctx->nr_pending);
9593 local_inc(&event->ctx->nr_pending);

Completed in 369 milliseconds