Lines Matching defs:dev_list
598 struct ibv_device **dev_list, **orig_dev_list;
635 dev_list = orig_dev_list = ibv_get_device_list(&num_of_hcas);
636 if (!dev_list) {
644 while (*dev_list) {
645 printf("\t%s\n", ibv_get_device_name(*dev_list));
646 ++dev_list;
661 dev_list = orig_dev_list = ibv_get_device_list(NULL);
662 if (!dev_list) {
668 while (*dev_list) {
669 if (!strcmp(ibv_get_device_name(*dev_list), ib_devname))
671 ++dev_list;
674 if (!*dev_list) {
679 ret |= print_hca_cap(*dev_list, ib_port);
681 if (!*dev_list) {
686 while (*dev_list) {
687 ret |= print_hca_cap(*dev_list, ib_port);
688 ++dev_list;