Lines Matching refs:len_a
4241 unsigned char *buf_a, size_t len_a) in adj_for_padding() argument
4244 unsigned char *q = buf_a + len_a - MAX_PADDING; in adj_for_padding()
4275 size_t len_a, in intel_pt_find_overlap_tsc() argument
4284 p = intel_pt_last_psb(buf_a, len_a); in intel_pt_find_overlap_tsc()
4288 len = len_a - (p - buf_a); in intel_pt_find_overlap_tsc()
4291 len_a -= len; in intel_pt_find_overlap_tsc()
4292 p = intel_pt_last_psb(buf_a, len_a); in intel_pt_find_overlap_tsc()
4295 len = len_a - (p - buf_a); in intel_pt_find_overlap_tsc()
4311 return adj_for_padding(start, buf_a, len_a); in intel_pt_find_overlap_tsc()
4340 unsigned char *intel_pt_find_overlap(unsigned char *buf_a, size_t len_a, in intel_pt_find_overlap() argument
4351 if (!intel_pt_next_psb(&buf_a, &len_a)) in intel_pt_find_overlap()
4355 found = intel_pt_find_overlap_tsc(buf_a, len_a, buf_b, len_b, in intel_pt_find_overlap()
4365 while (len_b < len_a) { in intel_pt_find_overlap()
4366 if (!intel_pt_step_psb(&buf_a, &len_a)) in intel_pt_find_overlap()
4373 found = memmem(buf_a, len_a, buf_b, len_a); in intel_pt_find_overlap()
4376 return adj_for_padding(buf_b + len_a, buf_a, len_a); in intel_pt_find_overlap()
4380 if (!intel_pt_step_psb(&buf_a, &len_a)) in intel_pt_find_overlap()