Home
last modified time | relevance | path

Searched refs:hostuuid_str (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libnvmf/
H A Dnvmf_host.c448 char hostuuid_str[64]; in nvmf_hostid_from_hostuuid() local
453 len = sizeof(hostuuid_str); in nvmf_hostid_from_hostuuid()
454 if (sysctlbyname("kern.hostuuid", hostuuid_str, &len, NULL, 0) != 0) in nvmf_hostid_from_hostuuid()
457 uuid_from_string(hostuuid_str, &hostuuid, &status); in nvmf_hostid_from_hostuuid()
474 char hostuuid_str[64]; in nvmf_nqn_from_hostuuid() local
477 len = sizeof(hostuuid_str); in nvmf_nqn_from_hostuuid()
478 if (sysctlbyname("kern.hostuuid", hostuuid_str, &len, NULL, 0) != 0) in nvmf_nqn_from_hostuuid()
482 strlcat(nqn, hostuuid_str, NVMF_NQN_MAX_LEN); in nvmf_nqn_from_hostuuid()