Searched refs:copy_len (Results 1 – 1 of 1) sorted by relevance
576 u32 trace_nr, copy_len, elem_size, num_elem, max_depth; in __bpf_get_stack() local629 copy_len = trace_nr * elem_size; in __bpf_get_stack()635 memcpy(buf, ips, copy_len); in __bpf_get_stack()637 if (size > copy_len) in __bpf_get_stack()638 memset(buf + copy_len, 0, size - copy_len); in __bpf_get_stack()639 return copy_len; in __bpf_get_stack()