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