Lines Matching refs:dev_name
711 IB_OFS_DEVPATH_PREFIX, (*dev_list)->dev_name);
788 ibv_open_mmap_driver(char *dev_name)
801 indx = strtol(dev_name + strlen(UVERBS_KERNEL_SYSFS_NAME_BASE),
804 fprintf(stderr, "Invalid device %s\n", dev_name);
809 fprintf(stderr, "Invalid Device %s\n", dev_name);
916 infiniband_ports(char *path, char *buf, size_t size, char *dev_name)
933 if (get_port_info(dev_name, port_num, &port_attr, &gids, NULL))
959 if (get_port_info(dev_name, port_num, &port_attr, NULL, &pkeys))
970 if (get_port_info(dev_name, port_num, &port_attr, NULL, NULL))
1116 char dev_name[MAXNAMELEN];
1119 memset(dev_name, 0, MAXNAMELEN);
1121 if (!check_path_for_hca(path, dev_name))
1125 len = infiniband_ports(path, buf, size, dev_name);
1129 if (!(info = get_device_info(dev_name)))
1530 IB_OFS_DEVPATH_PREFIX, device->dev_name);