Lines Matching refs:index
26 uint32_t index;
1087 nvme_cuse_claim(struct cuse_device *ctrlr_device, uint32_t index)
1100 "/var/tmp/spdk_nvme_cuse_lock_%" PRIu32, index);
1135 ctrlr_device->index = index;
1159 spdk_bit_array_clear(g_ctrlr_started, ctrlr_device->index);
1246 /* Check if device already exists, if not increment index until success */
1247 ctrlr_device->index = 0;
1249 ctrlr_device->index = spdk_bit_array_find_first_clear(g_ctrlr_started, ctrlr_device->index);
1250 if (ctrlr_device->index == UINT32_MAX) {
1255 if (nvme_cuse_claim(ctrlr_device, ctrlr_device->index) == 0) {
1258 ctrlr_device->index++;
1260 spdk_bit_array_set(g_ctrlr_started, ctrlr_device->index);
1262 ctrlr_device->index);
1283 spdk_bit_array_clear(g_ctrlr_started, ctrlr_device->index);