Home
last modified time | relevance | path

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

/net/dns_resolver/
Ddns_key.c67 size_t datalen = prep->datalen, result_len = 0; in dns_resolver_instantiate() local
84 result_len = datalen; in dns_resolver_instantiate()
88 result_len = opt - data; in dns_resolver_instantiate()
150 ret = key_payload_reserve(key, result_len); in dns_resolver_instantiate()
154 upayload = kmalloc(sizeof(*upayload) + result_len + 1, GFP_KERNEL); in dns_resolver_instantiate()
160 upayload->datalen = result_len; in dns_resolver_instantiate()
161 memcpy(upayload->data, data, result_len); in dns_resolver_instantiate()
162 upayload->data[result_len] = '\0'; in dns_resolver_instantiate()
/net/ceph/crush/
Dmapper.c478 int result_len; in crush_do_rule() local
501 result_len = 0; in crush_do_rule()
570 for (i = 0; i < wsize && result_len < result_max; i++) { in crush_do_rule()
571 result[result_len] = w[i]; in crush_do_rule()
572 result_len++; in crush_do_rule()
583 return result_len; in crush_do_rule()