Lines Matching refs:dev_list
360 struct ibv_device **dev_list;
370 dev_list = ibv_get_device_list(&numdev);
371 if (!dev_list || !numdev) {
390 if (strlen(dev_list[i]->name) == namelen &&
391 !strncmp(device, dev_list[i]->name, namelen)) {
398 priv->rdma_device = dev_list[i];
405 ibv_free_device_list(dev_list);
412 struct ibv_device **dev_list;
417 dev_list = ibv_get_device_list(&numdev);
418 if (!dev_list || !numdev) {
427 if (!add_dev(devlistp, dev_list[i]->name, 0, "RDMA sniffer", err_str)) {
434 ibv_free_device_list(dev_list);