Searched refs:ref_buf (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/perf/arch/x86/util/ |
| H A D | intel-pt.c | 43 void *ref_buf; member 953 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs() 970 void *ref_buf; in intel_pt_alloc_snapshot_ref() local 972 ref_buf = zalloc(ref_buf_size); in intel_pt_alloc_snapshot_ref() 973 if (!ref_buf) in intel_pt_alloc_snapshot_ref() 976 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref() 1051 static bool intel_pt_compare_ref(void *ref_buf, size_t ref_offset, in intel_pt_compare_ref() argument 1064 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, in intel_pt_compare_ref() 1068 static void intel_pt_copy_ref(void *ref_buf, size_t ref_size, size_t buf_size, in intel_pt_copy_ref() argument 1072 memcpy(ref_buf, data + head - ref_size, ref_size); in intel_pt_copy_ref() [all …]
|
| H A D | intel-bts.c | 34 void *ref_buf; member 308 zfree(&btsr->snapshot_refs[i].ref_buf); in intel_bts_free_snapshot_refs()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | sdp_basic.c | 435 unsigned char *ref_buf = NULL; in sdp_basic_test() local 453 ref_buf = malloc(size); in sdp_basic_test() 454 if (!test_buf || !ref_buf) { in sdp_basic_test() 482 if (get_random_bytes((char *)ref_buf, size)) in sdp_basic_test() 484 memcpy(test_buf, ref_buf, size); in sdp_basic_test() 486 offset = (unsigned int)*ref_buf; in sdp_basic_test() 501 if (check_sdp_dumped(ctx, ref_buf, size, test_buf)) { in sdp_basic_test() 516 free(ref_buf); in sdp_basic_test()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu540c.c | 1077 HalBuf *recon_buf, *ref_buf; in vepu540c_h265_set_hw_address() local 1088 ref_buf = hal_bufs_get_buf(ctx->dpb_bufs, syn->sp.ref_pic.slot_idx); in vepu540c_h265_set_hw_address() 1095 regs->reg0165_rfpr_h_addr = mpp_buffer_get_fd(ref_buf->buf[0]); in vepu540c_h265_set_hw_address() 1098 regs->reg0168_cmvr_addr = mpp_buffer_get_fd(ref_buf->buf[2]); in vepu540c_h265_set_hw_address() 1100 regs->reg0170_dspr_addr = mpp_buffer_get_fd(ref_buf->buf[1]); in vepu540c_h265_set_hw_address()
|
| H A D | hal_h265e_vepu541.c | 1427 HalBuf *recon_buf, *ref_buf; in vepu54x_h265_set_hw_address() local 1439 ref_buf = hal_bufs_get_buf(ctx->dpb_bufs, syn->sp.ref_pic.slot_idx); in vepu54x_h265_set_hw_address() 1451 regs->rfpr_h_addr_hevc = mpp_buffer_get_fd(ref_buf->buf[0]); in vepu54x_h265_set_hw_address() 1453 regs->dspr_addr_hevc = mpp_buffer_get_fd(ref_buf->buf[1]); in vepu54x_h265_set_hw_address() 1454 regs->cmvr_addr_hevc = mpp_buffer_get_fd(ref_buf->buf[2]); in vepu54x_h265_set_hw_address()
|
| H A D | hal_h265e_vepu580.c | 2303 HalBuf *recon_buf, *ref_buf; in vepu580_h265_set_hw_address() local 2314 ref_buf = hal_bufs_get_buf(ctx->dpb_bufs, syn->sp.ref_pic.slot_idx); in vepu580_h265_set_hw_address() 2322 regs->reg0165_rfpr_h_addr = mpp_buffer_get_fd(ref_buf->buf[0]); in vepu580_h265_set_hw_address() 2325 regs->reg0168_cmvr_addr = mpp_buffer_get_fd(ref_buf->buf[2]); in vepu580_h265_set_hw_address() 2327 regs->reg0170_dspr_addr = mpp_buffer_get_fd(ref_buf->buf[1]); in vepu580_h265_set_hw_address()
|