Home
last modified time | relevance | path

Searched refs:ralloc_size (Results 1 - 25 of 35) sorted by relevance

12

/third_party/mesa3d/src/util/
H A Dralloc.h65 * ((type *) ralloc_size(ctx, sizeof(type))
68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
89 * ((type *) ralloc_size(ctx, 0)
101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE;
115 * calling ralloc_size(ctx, 0). This is different from talloc.
130 * calling ralloc_size(ctx, 0). This is different from talloc.
183 * calling ralloc_size(ctx, 0). This is different from talloc.
204 * calling ralloc_size(ctx, 0). This is different from talloc.
244 * calling ralloc_size(ctx, 0). This is different from talloc.
266 * calling ralloc_size(ct
[all...]
H A Dralloc.c101 return ralloc_size(ctx, 0); in ralloc_context()
105 ralloc_size(const void *ctx, size_t size) in ralloc_size() function
147 void *ptr = ralloc_size(ctx, size); in rzalloc_size()
191 return ralloc_size(ctx, size); in reralloc_size()
218 return ralloc_size(ctx, size * count); in ralloc_array_size()
463 char *ptr = ralloc_size(ctx, size); in ralloc_vasprintf()
606 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
H A Ddisk_cache.c212 ralloc_size(cache, cache->driver_keys_blob_size); in disk_cache_create()
H A Ddisk_cache_os.c863 buf = ralloc_size(mem_ctx, buf_size); in disk_cache_generate_cache_dir()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program_cache.c61 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size); in make_keybox()
234 void *prog_data = ralloc_size(NULL, prog_data_size); in iris_blorp_upload_shader()
H A Diris_disk_cache.c179 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size); in iris_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program_cache.c58 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size); in make_keybox()
268 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size); in crocus_blorp_upload_shader()
H A Dcrocus_disk_cache.c165 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size); in crocus_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
H A Dlima_disasm.c135 uint32_t *bin = ralloc_size(NULL, chunk.size); in extract_shader_binary()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_shader_module.c143 ralloc_size(mem_ctx, sizeof(struct vk_shader_module) + src->size); in vk_shader_module_clone()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c123 ralloc_size(cache->nir_cache, sizeof(*snir) + blob.size); in v3dv_pipeline_cache_upload_nir()
515 ralloc_size(cache->nir_cache, sizeof(*snir) + snir_size); in serialized_nir_create_from_blob()
814 ralloc_size(dst->nir_cache, sizeof(*snir_dst) + src_snir->size); in v3dv_MergePipelineCaches()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_disk_cache.c140 v->const_state->immediates = ralloc_size(v->const_state, immeds_sz); in retrieve_variant()
H A Dir3_validate.c389 struct ir3_validate_ctx *ctx = ralloc_size(NULL, sizeof(*ctx)); in ir3_validate()
H A Dir3_shader.c260 v->disasm_info.disasm = ralloc_size(v, stream_size + 1); in assemble_variant()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_shader_cache.c58 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in copy_blob_to_driver_cache_blob()
/third_party/mesa3d/src/util/tests/
H A Dblob_test.cpp213 buf = (char *) ralloc_size(ctx, size); in TEST()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_clone.c786 ns->constant_data = ralloc_size(ns, s->constant_data_size); in nir_shader_clone()
792 ns->xfb_info = ralloc_size(ns, size); in nir_shader_clone()
H A Dnir_serialize.c2086 struct nir_xfb_info *xfb = ralloc_size(ctx->nir, size); in read_xfb_info()
2198 ralloc_size(ctx.nir, ctx.nir->constant_data_size); in nir_deserialize()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_module.c1529 struct dxil_const *ret = ralloc_size(m->ralloc_ctx, in create_const()
1805 struct dxil_gvar *gvar = ralloc_size(m->ralloc_ctx, in add_gvar()
1850 struct dxil_func *func = ralloc_size(m->ralloc_ctx, in add_function()
1875 struct dxil_func_def *def = ralloc_size(m->ralloc_ctx, sizeof(struct dxil_func_def)); in dxil_add_function_def()
1916 as = ralloc_size(m->ralloc_ctx, sizeof(struct attrib_set)); in get_attr_set()
2449 struct dxil_named_node *n = ralloc_size(m->ralloc_ctx, in dxil_add_metadata_named_node()
2598 struct dxil_instr *ret = ralloc_size(m->ralloc_ctx, in create_instr()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp350 ralloc_size(NULL, this->alloc.count * sizeof(unsigned)); in evaluate_spill_costs()
/third_party/mesa3d/src/compiler/isaspec/
H A Ddecode.c296 uint64_t *retp = ralloc_size(scope->cache, sizeof(*retp)); in evaluate_expr()
/third_party/mesa3d/src/compiler/glsl/
H A Dstandalone.cpp352 text = (char *) ralloc_size(ctx, size + 1); in load_text_file()
/third_party/mesa3d/src/intel/perf/
H A Dintel_perf_query.c469 buf = ralloc_size(perf_ctx->perf, sizeof(*buf)); in get_free_sample_buf()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c953 uint32_t *key = ralloc_size(ctx->mem_ctx, sizeof(uint32_t)); in emit_image()
1400 uint32_t *key = ralloc_size(ctx->mem_ctx, sizeof(uint32_t)); in emit_so_info()
1440 uint32_t *key = ralloc_size(ctx->mem_ctx, sizeof(uint32_t)); in emit_so_info()
3794 uint32_t *key = ralloc_size(ctx->mem_ctx, sizeof(uint32_t)); in emit_deref_array()
4485 ret->words = ralloc_size(ret, sizeof(uint32_t) * num_words); in nir_to_spirv()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_program.c422 dup_key = ralloc_size(shader, key_size); in v3d_get_compiled_shader()

Completed in 35 milliseconds

12