Home
last modified time | relevance | path

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

/fs/lockd/
Dmon.c273 const size_t hostname_len) in nsm_create_handle() argument
277 new = kzalloc(sizeof(*new) + hostname_len + 1, GFP_KERNEL); in nsm_create_handle()
291 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
292 new->sm_name[hostname_len] = '\0'; in nsm_create_handle()
315 const size_t hostname_len) in nsm_get_handle() argument
320 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
324 (int)hostname_len, hostname); in nsm_get_handle()
334 hostname, hostname_len); in nsm_get_handle()
359 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
Dhost.c60 const size_t hostname_len; /* it's length */ member
121 ni->hostname, ni->hostname_len); in nlm_alloc_host()
226 .hostname_len = strlen(hostname), in nlmclnt_lookup_host()
324 const size_t hostname_len) in nlmsvc_lookup_host() argument
339 .hostname_len = hostname_len, in nlmsvc_lookup_host()
345 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()