Searched refs:hinf (Results 1 – 1 of 1) sorted by relevance
261 struct efa_admin_host_info *hinf; in efa_set_host_info() local262 u32 bufsz = sizeof(*hinf); in efa_set_host_info()270 hinf = dma_alloc_coherent(&dev->pdev->dev, bufsz, &hinf_dma, in efa_set_host_info()272 if (!hinf) in efa_set_host_info()275 strscpy(hinf->os_dist_str, utsname()->release, in efa_set_host_info()276 sizeof(hinf->os_dist_str)); in efa_set_host_info()277 hinf->os_type = EFA_ADMIN_OS_LINUX; in efa_set_host_info()278 strscpy(hinf->kernel_ver_str, utsname()->version, in efa_set_host_info()279 sizeof(hinf->kernel_ver_str)); in efa_set_host_info()280 hinf->kernel_ver = LINUX_VERSION_CODE; in efa_set_host_info()[all …]