Home
last modified time | relevance | path

Searched refs:genctr (Results 1 – 4 of 4) sorted by relevance

/spdk/test/unit/lib/nvmf/ctrlr_discovery.c/
H A Dctrlr_discovery_ut.c306 /* Get only genctr (first field in the header) */ in test_discovery_log()
309 nvmf_get_discovery_log_page(&tgt, hostnqn, &iov, 1, 0, sizeof(disc_log->genctr), in test_discovery_log()
311 /* No listeners yet on new subsystem, so genctr should still be 0. */ in test_discovery_log()
312 CU_ASSERT(disc_log->genctr == 0); in test_discovery_log()
318 /* Get only genctr (first field in the header) */ in test_discovery_log()
321 nvmf_get_discovery_log_page(&tgt, hostnqn, &iov, 1, 0, sizeof(disc_log->genctr), in test_discovery_log()
323 CU_ASSERT(disc_log->genctr == 1); /* one added subsystem and listener */ in test_discovery_log()
330 CU_ASSERT(disc_log->genctr == 1); in test_discovery_log()
338 CU_ASSERT(disc_log->genctr != 0); in test_discovery_log()
346 CU_ASSERT(disc_log->genctr ! in test_discovery_log()
[all...]
/spdk/lib/nvme/
H A Dnvme_discovery.c31 /* Compare original genctr with latest genctr. If it changed, we need to restart. */ in get_log_page_completion_final()
95 ctx->start_genctr = ctx->log_page->genctr; in discovery_log_header_completion()
/spdk/lib/nvmf/
H A Dctrlr_discovery.c108 SPDK_DEBUGLOG(nvmf, "Generating log page for genctr %" PRIu64 "\n", in nvmf_generate_discovery_log()
199 disc_log->genctr = tgt->discovery_genctr; in nvmf_generate_discovery_log()
/spdk/include/spdk/
H A Dnvmf_spec.h438 uint64_t genctr; member