Searched refs:snapshot_refs (Results 1 – 2 of 2) sorted by relevance
51 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()
61 struct intel_pt_snapshot_ref *snapshot_refs; member822 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()824 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()835 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()836 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()858 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()859 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()966 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()1019 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()1026 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()[all …]