Searched refs:snapshot_refs (Results 1 – 2 of 2) sorted by relevance
46 struct intel_bts_snapshot_ref *snapshot_refs; member295 memcpy(refs, btsr->snapshot_refs, cnt * sz); in intel_bts_alloc_snapshot_refs()297 btsr->snapshot_refs = refs; in intel_bts_alloc_snapshot_refs()308 zfree(&btsr->snapshot_refs[i].ref_buf); in intel_bts_free_snapshot_refs()309 zfree(&btsr->snapshot_refs); in intel_bts_free_snapshot_refs()382 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()384 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
58 struct intel_pt_snapshot_ref *snapshot_refs; member940 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()942 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()953 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()954 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()976 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()977 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()1084 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()1137 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()1144 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()[all …]