Lines Matching refs:namelen
18 ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen, in nfs_dns_resolve_name() argument
26 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, in nfs_dns_resolve_name()
65 size_t namelen; member
96 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
98 new->namelen = key->namelen; in nfs_dns_ent_init()
101 new->namelen = 0; in nfs_dns_ent_init()
129 item->namelen = 0; in nfs_dns_ent_alloc()
173 if (a->namelen == 0 || a->namelen != b->namelen) in nfs_dns_match()
175 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match()
255 key.namelen = len; in nfs_dns_parse()
345 size_t namelen, struct sockaddr_storage *ss, size_t salen) in nfs_dns_resolve_name() argument
349 .namelen = namelen, in nfs_dns_resolve_name()