Lines Matching defs:num_devices
94 update_read_info_hwnames(struct ibv_device **dev_list, int num_devices)
101 for (i = 0; dev_list[i] != 0 && i < num_devices; ++i) {
239 read_nodedesc(struct ibv_device **device_list, int num_devices)
243 for (i = 0; device_list[i] != 0 && i < num_devices; i++)
248 update_nodedesc(struct ibv_device **device_list, int num_devices,
257 for (i = 0; i < num_devices; i++) {
266 if (rc != 0 && i == num_devices)
273 for (i = 0; i < num_devices; i++) {
451 int num_devices = 0;
512 device_list = ibv_get_device_list(&num_devices);
518 read_nodedesc(device_list, num_devices);
519 update_read_info_hwnames(device_list, num_devices);
530 device_list = ibv_get_device_list(&num_devices);
537 rc = update_nodedesc(device_list, num_devices,
547 rc = update_nodedesc(device_list, num_devices,
575 rc = update_nodedesc(device_list, num_devices,