Lines Matching defs:info
144 /* IB device info cache */
263 * from the uverbs HCA info ioctl.
268 ibdev_cache_info_t *info;
336 info = &ibdev_cache[hca_infop->uverbs_hca_devidx];
338 (void) strncpy(info->ibd_name,
342 sprintf(info->ibd_node_guid_str, "%04x:%04x:%04x:%04x",
349 sprintf(info->ibd_node_guid_external_str, "%04x:%04x:%04x:%04x",
356 sprintf(info->ibd_sys_image_guid, "%04x:%04x:%04x:%04x",
367 snprintf(info->ibd_fw_ver, sizeof (info->ibd_fw_ver),
370 info->ibd_hw_rev = hca_infop->uverbs_hca_hw_version;
371 info->ibd_vendor_id = hca_infop->uverbs_hca_vendorid;
372 info->ibd_device_id = hca_infop->uverbs_hca_deviceid;
373 info->ibd_abi_version = hca_infop->uverbs_hca_abi_version;
375 snprintf(info->ibd_hca_path, sizeof (info->ibd_hca_path),
380 strncpy(info->ibd_boardid_string,
383 strncpy(info->ibd_devid_string,
386 info->ibd_valid = B_TRUE;
649 ibdev_cache_info_t *info = NULL;
667 info = ibdev_cache_read_by_devname(devname);
669 return (info);
673 * Get the IB user verbs port info attributes for the specified device/port.
1117 ibdev_cache_info_t *info;
1129 if (!(info = get_device_info(dev_name)))
1133 len = 1 + sprintf(buf, "%s", info->ibd_node_guid_str);
1136 info->ibd_node_guid_external_str);
1138 len = 1 + sprintf(buf, "%s", info->ibd_sys_image_guid);
1140 len = 1 + sprintf(buf, "%s", info->ibd_fw_ver);
1142 len = 1 + sprintf(buf, "%d", info->ibd_hw_rev);
1144 len = 1 + sprintf(buf, "%s", info->ibd_devid_string);
1146 len = 1 + sprintf(buf, "%s", info->ibd_boardid_string);
1260 sol_cpu_info_t *info;
1270 info = *info_p;
1271 bzero((void *)info, ncpus * sizeof (sol_cpu_info_t));
1296 (void) strlcpy(info[i].cpu_name, knp->value.str.addr.ptr,
1307 info[i].cpu_mhz = knp->value.ui64;
1308 info[i].cpu_number = i;
1312 free(info);
1329 * In case of some cpu_id doesn't have kstat info.,