Searched refs:snapshot_refs (Results 1 – 2 of 2) sorted by relevance
46 struct intel_bts_snapshot_ref *snapshot_refs; member296 memcpy(refs, btsr->snapshot_refs, cnt * sz); in intel_bts_alloc_snapshot_refs()298 btsr->snapshot_refs = refs; in intel_bts_alloc_snapshot_refs()309 zfree(&btsr->snapshot_refs[i].ref_buf); in intel_bts_free_snapshot_refs()310 zfree(&btsr->snapshot_refs); in intel_bts_free_snapshot_refs()383 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()385 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
59 struct intel_pt_snapshot_ref *snapshot_refs; member944 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()946 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()957 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()958 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()980 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()981 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()1088 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()1141 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()1148 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()[all …]