Searched refs:hinf (Results 1 – 1 of 1) sorted by relevance
195 struct efa_admin_host_info *hinf; in efa_set_host_info() local196 u32 bufsz = sizeof(*hinf); in efa_set_host_info()204 hinf = dma_alloc_coherent(&dev->pdev->dev, bufsz, &hinf_dma, in efa_set_host_info()206 if (!hinf) in efa_set_host_info()209 strscpy(hinf->os_dist_str, utsname()->release, in efa_set_host_info()210 sizeof(hinf->os_dist_str)); in efa_set_host_info()211 hinf->os_type = EFA_ADMIN_OS_LINUX; in efa_set_host_info()212 strscpy(hinf->kernel_ver_str, utsname()->version, in efa_set_host_info()213 sizeof(hinf->kernel_ver_str)); in efa_set_host_info()214 hinf->kernel_ver = LINUX_VERSION_CODE; in efa_set_host_info()[all …]