Searched refs:ref_buf (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/tools/perf/arch/x86/util/
H A Dintel-pt.c49 void *ref_buf; member in struct:intel_pt_snapshot_ref
775 zfree(&ptr->snapshot_refs[i].ref_buf); intel_pt_free_snapshot_refs()
792 void *ref_buf; intel_pt_alloc_snapshot_ref() local
794 ref_buf = zalloc(ref_buf_size); intel_pt_alloc_snapshot_ref()
795 if (!ref_buf) intel_pt_alloc_snapshot_ref()
798 ptr->snapshot_refs[idx].ref_buf = ref_buf; intel_pt_alloc_snapshot_ref()
873 static bool intel_pt_compare_ref(void *ref_buf, size_t ref_offset, intel_pt_compare_ref() argument
886 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, intel_pt_compare_ref()
890 static void intel_pt_copy_ref(void *ref_buf, size_t ref_size, size_t buf_size, intel_pt_copy_ref() argument
894 memcpy(ref_buf, data + head - ref_size, ref_size); intel_pt_copy_ref()
896 memcpy(ref_buf, data, head); intel_pt_copy_ref()
898 memcpy(ref_buf + head, data + buf_size - ref_size, ref_size); intel_pt_copy_ref()
909 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, intel_pt_wrapped()
913 intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, intel_pt_wrapped()
959 if (!ptr->snapshot_refs[idx].ref_buf) { intel_pt_find_snapshot()
H A Dintel-bts.c42 void *ref_buf; member in struct:intel_bts_snapshot_ref
309 zfree(&btsr->snapshot_refs[i].ref_buf); intel_bts_free_snapshot_refs()
/linux-4.4.14/drivers/char/tpm/
H A Dtpm2-cmd.c243 * @ref_buf: buffer to store the resulting hash,

Completed in 172 milliseconds