Lines Matching refs:dev_list
360 struct ibv_device **dev_list; in rdmasniff_create() local
370 dev_list = ibv_get_device_list(&numdev); in rdmasniff_create()
371 if (!dev_list) { in rdmasniff_create()
375 ibv_free_device_list(dev_list); in rdmasniff_create()
394 if (strlen(dev_list[i]->name) == namelen && in rdmasniff_create()
395 !strncmp(device, dev_list[i]->name, namelen)) { in rdmasniff_create()
402 priv->rdma_device = dev_list[i]; in rdmasniff_create()
409 ibv_free_device_list(dev_list); in rdmasniff_create()
416 struct ibv_device **dev_list; in rdmasniff_findalldevs() local
421 dev_list = ibv_get_device_list(&numdev); in rdmasniff_findalldevs()
422 if (!dev_list) { in rdmasniff_findalldevs()
431 if (!add_dev(devlistp, dev_list[i]->name, 0, "RDMA sniffer", err_str)) { in rdmasniff_findalldevs()
437 ibv_free_device_list(dev_list); in rdmasniff_findalldevs()