Searched refs:hostname_len (Results 1 – 2 of 2) sorted by relevance
/fs/lockd/ |
D | mon.c | 286 const size_t hostname_len) in nsm_create_handle() argument 290 new = kzalloc(sizeof(*new) + hostname_len + 1, GFP_KERNEL); in nsm_create_handle() 301 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle() 302 new->sm_name[hostname_len] = '\0'; in nsm_create_handle() 323 const size_t hostname_len) in nsm_get_handle() argument 327 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle() 331 (int)hostname_len, hostname); in nsm_get_handle() 340 cached = nsm_lookup_hostname(hostname, hostname_len); in nsm_get_handle() 365 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
|
D | host.c | 42 const size_t hostname_len; /* it's length */ member 162 ni->hostname, ni->hostname_len); in nlm_lookup_host() 263 .hostname_len = strlen(hostname), in nlmclnt_lookup_host() 296 const size_t hostname_len) in nlmsvc_lookup_host() argument 311 .hostname_len = hostname_len, in nlmsvc_lookup_host() 316 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()
|