Searched refs:snapshot_refs (Results 1 – 2 of 2) sorted by relevance
54 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()
64 struct intel_pt_snapshot_ref *snapshot_refs; member762 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()764 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()775 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()776 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()798 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()799 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()906 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()959 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()966 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()[all …]