Searched refs:dump_buf_bytes (Results 1 – 9 of 9) sorted by relevance
101 metadata_narrow->dump_buf_bytes = metadata_narrow->metadata->dump_buf_bytes >> 1; in kbase_hwcnt_gpu_metadata_narrow_create()122 size_t dump_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_alloc() local129 dump_buf_bytes = md_narrow->dump_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_alloc()133 buf = kmalloc(dump_buf_bytes + clk_cnt_buf_bytes, GFP_KERNEL); in kbase_hwcnt_dump_buffer_narrow_alloc()140 .clk_cnt_buf = (u64 *)(buf + dump_buf_bytes), in kbase_hwcnt_dump_buffer_narrow_alloc()165 size_t dump_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_array_alloc() local172 dump_buf_bytes = md_narrow->dump_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_array_alloc()183 order = get_order((dump_buf_bytes + clk_cnt_buf_bytes) * n); in kbase_hwcnt_dump_buffer_narrow_array_alloc()198 total_dump_buf_size = dump_buf_bytes * n; in kbase_hwcnt_dump_buffer_narrow_array_alloc()201 const size_t dump_buf_offset = dump_buf_bytes * buf_idx; in kbase_hwcnt_dump_buffer_narrow_array_alloc()
136 metadata->dump_buf_bytes = dump_buf_count * KBASE_HWCNT_VALUE_BYTES; in kbase_hwcnt_metadata_create()144 WARN_ON(metadata->dump_buf_bytes != in kbase_hwcnt_metadata_create()190 size_t dump_buf_bytes; in kbase_hwcnt_dump_buffer_alloc() local197 dump_buf_bytes = metadata->dump_buf_bytes; in kbase_hwcnt_dump_buffer_alloc()201 buf = kmalloc(dump_buf_bytes + clk_cnt_buf_bytes, GFP_KERNEL); in kbase_hwcnt_dump_buffer_alloc()207 dump_buf->clk_cnt_buf = (u64 *)(buf + dump_buf_bytes); in kbase_hwcnt_dump_buffer_alloc()228 size_t dump_buf_bytes; in kbase_hwcnt_dump_buffer_array_alloc() local234 dump_buf_bytes = metadata->dump_buf_bytes; in kbase_hwcnt_dump_buffer_array_alloc()245 order = get_order((dump_buf_bytes + clk_cnt_buf_bytes) * n); in kbase_hwcnt_dump_buffer_array_alloc()260 const size_t dump_buf_offset = dump_buf_bytes * buf_idx; in kbase_hwcnt_dump_buffer_array_alloc()[all …]
47 size_t dump_buf_bytes; member
251 WARN_ON(dump_bytes * 2 != metadata->dump_buf_bytes); in kbase_hwcnt_jm_metadata_create()
247 size_t dump_buf_bytes; member
1135 size_t dump_buf_bytes; in kbasep_kinstr_prfcnt_get_sample_size() local1145 dump_buf_bytes = metadata->dump_buf_bytes; in kbasep_kinstr_prfcnt_get_sample_size()1148 return (sample_meta_bytes + dump_buf_bytes + clk_cnt_buf_bytes); in kbasep_kinstr_prfcnt_get_sample_size()1329 size_t dump_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc() local1341 dump_buf_bytes = metadata->dump_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc()1344 sample_size = sample_meta_bytes + dump_buf_bytes + clk_cnt_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc()1366 dump_buf_offset + dump_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc()
999 rcode = put_user((u32)cli->vctx->metadata_user->dump_buf_bytes, in kbasep_vinstr_hwcnt_reader_ioctl()
411 size_t user_buf_bytes = backend_csf->info->metadata->dump_buf_bytes; in kbasep_hwcnt_backend_csf_reset_internal_buffers()452 size_t user_buf_bytes = backend_csf->info->metadata->dump_buf_bytes; in kbasep_hwcnt_backend_csf_update_user_sample()1299 backend_csf->accum_buf = kzalloc(csf_info->metadata->dump_buf_bytes, GFP_KERNEL); in kbasep_hwcnt_backend_csf_create()1307 backend_csf->to_user_buf = kzalloc(csf_info->metadata->dump_buf_bytes, GFP_KERNEL); in kbasep_hwcnt_backend_csf_create()
702 backend->to_user_buf = kzalloc(info->metadata->dump_buf_bytes, GFP_KERNEL); in kbasep_hwcnt_backend_jm_create()