Lines Matching refs:len
115 int len; in dns_resolve_server_name_to_ip() local
121 len = strlen(unc); in dns_resolve_server_name_to_ip()
122 if (len < 3) { in dns_resolve_server_name_to_ip()
126 len -= 2; in dns_resolve_server_name_to_ip()
127 name = memchr(unc+2, '\\', len); in dns_resolve_server_name_to_ip()
132 len = (name - unc) - 2/* leading // */; in dns_resolve_server_name_to_ip()
135 name = kmalloc(len+1, GFP_KERNEL); in dns_resolve_server_name_to_ip()
140 memcpy(name, unc+2, len); in dns_resolve_server_name_to_ip()
141 name[len] = 0; in dns_resolve_server_name_to_ip()
152 len = rkey->type_data.x[0]; in dns_resolve_server_name_to_ip()
161 *ip_addr = kmalloc(len + 1, GFP_KERNEL); in dns_resolve_server_name_to_ip()
163 memcpy(*ip_addr, data, len + 1); in dns_resolve_server_name_to_ip()