Searched refs:hinf (Results 1 – 1 of 1) sorted by relevance
260 struct efa_admin_host_info *hinf; in efa_set_host_info() local261 u32 bufsz = sizeof(*hinf); in efa_set_host_info()271 if (!hinf) in efa_set_host_info()274 strscpy(hinf->os_dist_str, utsname()->release, in efa_set_host_info()275 sizeof(hinf->os_dist_str)); in efa_set_host_info()276 hinf->os_type = EFA_ADMIN_OS_LINUX; in efa_set_host_info()277 strscpy(hinf->kernel_ver_str, utsname()->version, in efa_set_host_info()278 sizeof(hinf->kernel_ver_str)); in efa_set_host_info()279 hinf->kernel_ver = LINUX_VERSION_CODE; in efa_set_host_info()285 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info()[all …]
Completed in 6 milliseconds