Lines Matching defs:next
1776 /* qpair was completed to disconnect. Just move to the next ctrlr_channel. */
2022 * and then sets the next trid to the active trid within a controller if exists.
2025 * the current trid now to try connecting the next trid.
2050 * the next trid will be done by the next bdev_nvme_failover_ctrlr() call.
2076 /* bdev_nvme_failover_ctrlr() is just called or the next trid is not failed
2077 * or used yet. Try the next trid now.
2084 /* Enough backoff passed since the next trid failed. Try the next trid now. */
2088 /* The next trid will be tried after reconnect_delay_sec seconds. */
2253 /* Connecting the active trid failed. Set the next alternate trid to the
2257 /* The next alternate trid exists and is ready to try. Try it now. */
2260 NVME_CTRLR_INFOLOG(nvme_ctrlr, "Try the next alternate trid %s:%s now.\n",
2268 /* We came here if there is no alternate trid or if the next trid exists but
2270 * seconds if it is non-zero or at the next reset call otherwise.
2300 /* Delay callbacks when the next operation is a failover. */
2355 /* The current full reset sequence will move to the next
2412 /* qpair was completed to connect. Move to the next ctrlr_channel */
2445 /* The current full reset sequence will move to the next
2481 /* Mark the ctrlr as failed. The next call to
3128 /* If the current nvme_ctrlr is disabled, skip it and move to the next nvme_ctrlr. */
3183 /* We rely on the next reconnect for the failover. */
3620 struct nvme_io_path *io_path, *next;
3624 TAILQ_FOREACH_SAFE(io_path, &nvme_qpair->io_path_list, tailq, next) {
5067 struct nvme_ns *nvme_ns, *next;
5085 next = nvme_ctrlr_get_next_active_ns(nvme_ctrlr, nvme_ns);
5118 nvme_ns = next;
9148 struct nvme_ctrlr *next;
9151 next = prev != NULL ? TAILQ_NEXT(prev, tailq) : TAILQ_FIRST(&nbdev_ctrlr->ctrlrs);
9152 while (next != NULL) {
9154 pthread_mutex_lock(&next->mutex);
9155 if (next->ref > 0) {
9156 next->ref++;
9157 pthread_mutex_unlock(&next->mutex);
9158 return next;
9161 pthread_mutex_unlock(&next->mutex);
9162 next = TAILQ_NEXT(next, tailq);
9215 struct nvme_ctrlr *next;
9218 next = bdev_nvme_next_ctrlr_unsafe(NULL, ctx->nctrlr);
9222 ctx->nctrlr = next;
9224 if (next == NULL) {