Lines Matching refs:mm
1081 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_wrapped() argument
1088 ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped()
1091 intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped()
1115 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_find_snapshot() argument
1126 err = intel_pt_snapshot_init(ptr, mm->len); in intel_pt_find_snapshot()
1138 err = intel_pt_alloc_snapshot_ref(ptr, idx, mm->len); in intel_pt_find_snapshot()
1142 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot()
1145 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot()
1159 *head += mm->len; in intel_pt_find_snapshot()
1161 if (mm->mask) in intel_pt_find_snapshot()
1162 *old &= mm->mask; in intel_pt_find_snapshot()
1164 *old %= mm->len; in intel_pt_find_snapshot()
1166 *head += mm->len; in intel_pt_find_snapshot()