Searched refs:hinf (Results 1 – 1 of 1) sorted by relevance
198 struct efa_admin_host_info *hinf; in efa_set_host_info() local199 u32 bufsz = sizeof(*hinf); in efa_set_host_info()207 hinf = dma_alloc_coherent(&dev->pdev->dev, bufsz, &hinf_dma, in efa_set_host_info()209 if (!hinf) in efa_set_host_info()212 strlcpy(hinf->os_dist_str, utsname()->release, in efa_set_host_info()213 min(sizeof(hinf->os_dist_str), sizeof(utsname()->release))); in efa_set_host_info()214 hinf->os_type = EFA_ADMIN_OS_LINUX; in efa_set_host_info()215 strlcpy(hinf->kernel_ver_str, utsname()->version, in efa_set_host_info()216 min(sizeof(hinf->kernel_ver_str), sizeof(utsname()->version))); in efa_set_host_info()217 hinf->kernel_ver = LINUX_VERSION_CODE; in efa_set_host_info()[all …]