Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Ddfs_cache.c1102 size_t hostlen; in target_share_equal() local
1114 extract_unc_hostname(s1, &host, &hostlen); in target_share_equal()
1115 scnprintf(unc, sizeof(unc), "\\\\%.*s", (int)hostlen, host); in target_share_equal()
1120 __func__, (int)hostlen, host); in target_share_equal()
/openbmc/qemu/ui/
H A Dvnc.c3744 size_t hostlen; in vnc_display_get_address() local
3751 hostlen = 0; in vnc_display_get_address()
3758 hostlen = port - addrstr; in vnc_display_get_address()
3768 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address()
3769 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address()
3771 inet->host = g_strndup(addrstr, hostlen); in vnc_display_get_address()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c165 char *host, socklen_t hostlen, in xgetnameinfo() argument
169 int err = getnameinfo(addr, addrlen, host, hostlen, serv, servlen, in xgetnameinfo()