Lines Matching defs:dev_list
348 struct ibv_device **dev_list, **orig_dev_list;
385 dev_list = orig_dev_list = ibv_get_device_list(&num_of_hcas);
386 if (!dev_list) {
394 while (*dev_list) {
395 printf("\t%s\n", ibv_get_device_name(*dev_list));
396 ++dev_list;
411 dev_list = orig_dev_list = ibv_get_device_list(NULL);
412 if (!dev_list) {
418 while (*dev_list) {
419 if (!strcmp(ibv_get_device_name(*dev_list), ib_devname))
421 ++dev_list;
424 if (!*dev_list) {
429 ret |= print_hca_cap(*dev_list, ib_port);
431 if (!*dev_list) {
436 while (*dev_list) {
437 ret |= print_hca_cap(*dev_list, ib_port);
438 ++dev_list;