Searched refs:hinf (Results 1 – 1 of 1) sorted by relevance
247 struct efa_admin_host_info *hinf; in efa_set_host_info() local248 u32 bufsz = sizeof(*hinf); in efa_set_host_info()256 hinf = dma_alloc_coherent(&dev->pdev->dev, bufsz, &hinf_dma, in efa_set_host_info()258 if (!hinf) in efa_set_host_info()261 strscpy(hinf->os_dist_str, utsname()->release, in efa_set_host_info()262 sizeof(hinf->os_dist_str)); in efa_set_host_info()263 hinf->os_type = EFA_ADMIN_OS_LINUX; in efa_set_host_info()264 strscpy(hinf->kernel_ver_str, utsname()->version, in efa_set_host_info()265 sizeof(hinf->kernel_ver_str)); in efa_set_host_info()266 hinf->kernel_ver = LINUX_VERSION_CODE; in efa_set_host_info()[all …]