Home
last modified time | relevance | path

Searched refs:key_size (Results 1 - 25 of 74) sorted by relevance

123

/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_pipeline_cache.c49 const void *key_data, size_t key_size,
67 size_t key_size, in raw_data_object_deserialize()
80 raw_data_object_create(device, key_data, key_size, data, data_size); in raw_data_object_deserialize()
102 const void *key_data, size_t key_size, in raw_data_object_create()
107 VK_MULTIALLOC_DECL_SIZE(&ma, char, obj_key_data, key_size); in raw_data_object_create()
116 obj_key_data, key_size); in raw_data_object_create()
120 memcpy(obj_key_data, key_data, key_size); in raw_data_object_create()
130 if (a->key_size != b->key_size) in object_keys_equal()
133 return memcmp(a->key_data, b->key_data, a->key_size) in object_keys_equal()
65 raw_data_object_deserialize(struct vk_device *device, const void *key_data, size_t key_size, struct blob_reader *blob) raw_data_object_deserialize() argument
101 raw_data_object_create(struct vk_device *device, const void *key_data, size_t key_size, const void *data, size_t data_size) raw_data_object_create() argument
269 vk_pipeline_cache_object_deserialize(struct vk_pipeline_cache *cache, const void *key_data, uint32_t key_size, const void *data, size_t data_size, const struct vk_pipeline_cache_object_ops *ops) vk_pipeline_cache_object_deserialize() argument
306 vk_pipeline_cache_lookup_object(struct vk_pipeline_cache *cache, const void *key_data, size_t key_size, const struct vk_pipeline_cache_object_ops *ops, bool *cache_hit) vk_pipeline_cache_lookup_object() argument
446 vk_pipeline_cache_lookup_nir(struct vk_pipeline_cache *cache, const void *key_data, size_t key_size, const struct nir_shader_compiler_options *nir_options, bool *cache_hit, void *mem_ctx) vk_pipeline_cache_lookup_nir() argument
475 vk_pipeline_cache_add_nir(struct vk_pipeline_cache *cache, const void *key_data, size_t key_size, const nir_shader *nir) vk_pipeline_cache_add_nir() argument
549 uint32_t key_size = blob_read_uint32(&blob); vk_pipeline_cache_load() local
[all...]
H A Dvk_pipeline_cache.h82 size_t key_size,
114 uint32_t key_size; member
121 const void *key_data, uint32_t key_size) in vk_pipeline_cache_object_init()
129 object->key_size = key_size; in vk_pipeline_cache_object_init()
213 const void *key_data, size_t key_size,
246 const void *key_data, size_t key_size,
251 const void *key_data, size_t key_size,
118 vk_pipeline_cache_object_init(struct vk_device *device, struct vk_pipeline_cache_object *object, const struct vk_pipeline_cache_object_ops *ops, const void *key_data, uint32_t key_size) vk_pipeline_cache_object_init() argument
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program_cache.c58 uint32_t key_size) in make_keybox()
61 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size); in make_keybox()
64 keybox->size = key_size; in make_keybox()
65 memcpy(keybox->data, key, key_size); in make_keybox()
90 uint32_t key_size, in iris_find_cached_shader()
93 struct keybox *keybox = make_keybox(NULL, cache_id, key, key_size); in iris_find_cached_shader()
114 uint32_t key_size, in iris_create_shader_variant()
142 assert(key_size <= sizeof(union iris_any_prog_key)); in iris_create_shader_variant()
143 memcpy(&shader->key, key, key_size); in iris_create_shader_variant()
156 uint32_t key_size, in iris_upload_shader()
55 make_keybox(void *mem_ctx, enum iris_program_cache_id cache_id, const void *key, uint32_t key_size) make_keybox() argument
88 iris_find_cached_shader(struct iris_context *ice, enum iris_program_cache_id cache_id, uint32_t key_size, const void *key) iris_find_cached_shader() argument
111 iris_create_shader_variant(const struct iris_screen *screen, void *mem_ctx, enum iris_program_cache_id cache_id, uint32_t key_size, const void *key) iris_create_shader_variant() argument
150 iris_upload_shader(struct iris_screen *screen, struct iris_uncompiled_shader *ish, struct iris_compiled_shader *shader, struct hash_table *driver_shaders, struct u_upload_mgr *uploader, enum iris_program_cache_id cache_id, uint32_t key_size, const void *key, const void *assembly) iris_upload_shader() argument
198 iris_blorp_lookup_shader(struct blorp_batch *blorp_batch, const void *key, uint32_t key_size, uint32_t *kernel_out, void *prog_data_out) iris_blorp_lookup_shader() argument
222 iris_blorp_upload_shader(struct blorp_batch *blorp_batch, uint32_t stage, const void *key, uint32_t key_size, const void *kernel, UNUSED uint32_t kernel_size, const struct brw_stage_prog_data *prog_data_templ, UNUSED uint32_t prog_data_size, uint32_t *kernel_out, void *prog_data_out) iris_blorp_upload_shader() argument
[all...]
H A Diris_disk_cache.c150 uint32_t key_size) in iris_disk_cache_retrieve()
160 iris_disk_cache_compute_key(cache, ish, prog_key, key_size, cache_key); in iris_disk_cache_retrieve()
248 cache_id, key_size, prog_key, assembly); in iris_disk_cache_retrieve()
145 iris_disk_cache_retrieve(struct iris_screen *screen, struct u_upload_mgr *uploader, struct iris_uncompiled_shader *ish, struct iris_compiled_shader *shader, const void *prog_key, uint32_t key_size) iris_disk_cache_retrieve() argument
H A Diris_context.h986 uint32_t key_size,
992 uint32_t key_size,
1010 uint32_t key_size,
1049 uint32_t key_size,
1053 const void *key, uint32_t key_size,
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program_cache.c55 const void *key, uint32_t key_size) in make_keybox()
58 ralloc_size(mem_ctx, sizeof(struct keybox) + key_size); in make_keybox()
61 keybox->size = key_size; in make_keybox()
62 memcpy(keybox->data, key, key_size); in make_keybox()
87 uint32_t key_size, const void *key) in crocus_find_cached_shader()
89 struct keybox *keybox = make_keybox(NULL, cache_id, key, key_size); in crocus_find_cached_shader()
188 enum crocus_program_cache_id cache_id, uint32_t key_size, in crocus_upload_shader()
232 struct keybox *keybox = make_keybox(shader, cache_id, key, key_size); in crocus_upload_shader()
240 uint32_t key_size, uint32_t *kernel_out, in crocus_blorp_lookup_shader()
246 crocus_find_cached_shader(ice, CROCUS_CACHE_BLORP, key_size, ke in crocus_blorp_lookup_shader()
54 make_keybox(void *mem_ctx, enum crocus_program_cache_id cache_id, const void *key, uint32_t key_size) make_keybox() argument
85 crocus_find_cached_shader(struct crocus_context *ice, enum crocus_program_cache_id cache_id, uint32_t key_size, const void *key) crocus_find_cached_shader() argument
187 crocus_upload_shader(struct crocus_context *ice, enum crocus_program_cache_id cache_id, uint32_t key_size, const void *key, const void *assembly, uint32_t asm_size, struct brw_stage_prog_data *prog_data, uint32_t prog_data_size, uint32_t *streamout, enum brw_param_builtin *system_values, unsigned num_system_values, unsigned num_cbufs, const struct crocus_binding_table *bt) crocus_upload_shader() argument
239 crocus_blorp_lookup_shader(struct blorp_batch *blorp_batch, const void *key, uint32_t key_size, uint32_t *kernel_out, void *prog_data_out) crocus_blorp_lookup_shader() argument
258 crocus_blorp_upload_shader(struct blorp_batch *blorp_batch, uint32_t stage, const void *key, uint32_t key_size, const void *kernel, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data_templ, uint32_t prog_data_size, uint32_t *kernel_out, void *prog_data_out) crocus_blorp_upload_shader() argument
[all...]
H A Dcrocus_disk_cache.c135 uint32_t key_size) in crocus_disk_cache_retrieve()
146 crocus_disk_cache_compute_key(cache, ish, prog_key, key_size, cache_key); in crocus_disk_cache_retrieve()
217 crocus_upload_shader(ice, stage, key_size, prog_key, assembly, in crocus_disk_cache_retrieve()
132 crocus_disk_cache_retrieve(struct crocus_context *ice, const struct crocus_uncompiled_shader *ish, const void *prog_key, uint32_t key_size) crocus_disk_cache_retrieve() argument
/third_party/libbpf/src/
H A Dlibbpf_probes.c280 int key_size, value_size, max_entries; in probe_map_create() local
284 key_size = sizeof(__u32); in probe_map_create()
293 key_size = sizeof(__u64); in probe_map_create()
299 key_size = sizeof(struct bpf_cgroup_storage_key); in probe_map_create()
305 key_size = 0; in probe_map_create()
322 key_size = 0; in probe_map_create()
332 key_size = 0; in probe_map_create()
375 fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries, &opts); in probe_map_create()
H A Dskel_internal.h221 __u32 key_size, in skel_map_create()
232 attr.key_size = key_size; in skel_map_create()
219 skel_map_create(enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries) skel_map_create() argument
/third_party/mesa3d/src/intel/vulkan/
H A Danv_pipeline_cache.c40 const void *key_data, size_t key_size,
70 const void *key_data, uint32_t key_size, in anv_shader_bin_create()
80 VK_MULTIALLOC_DECL_SIZE(&ma, void, obj_key_data, key_size); in anv_shader_bin_create()
100 memcpy(obj_key_data, key_data, key_size); in anv_shader_bin_create()
102 &anv_shader_bin_ops, obj_key_data, key_size); in anv_shader_bin_create()
236 const void *key_data, size_t key_size, in anv_shader_bin_deserialize()
287 key_data, key_size, in anv_shader_bin_deserialize()
300 const void *key_data, uint32_t key_size, in anv_device_search_for_kernel()
309 vk_pipeline_cache_lookup_object(cache, key_data, key_size, in anv_device_search_for_kernel()
325 const void *key_data, uint32_t key_size, in anv_device_upload_kernel()
68 anv_shader_bin_create(struct anv_device *device, gl_shader_stage stage, const void *key_data, uint32_t key_size, const void *kernel_data, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data_in, uint32_t prog_data_size, const struct brw_compile_stats *stats, uint32_t num_stats, const nir_xfb_info *xfb_info_in, const struct anv_pipeline_bind_map *bind_map) anv_shader_bin_create() argument
235 anv_shader_bin_deserialize(struct vk_device *vk_device, const void *key_data, size_t key_size, struct blob_reader *blob) anv_shader_bin_deserialize() argument
298 anv_device_search_for_kernel(struct anv_device *device, struct vk_pipeline_cache *cache, const void *key_data, uint32_t key_size, bool *user_cache_hit) anv_device_search_for_kernel() argument
322 anv_device_upload_kernel(struct anv_device *device, struct vk_pipeline_cache *cache, gl_shader_stage stage, const void *key_data, uint32_t key_size, const void *kernel_data, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data, uint32_t prog_data_size, const struct brw_compile_stats *stats, uint32_t num_stats, const nir_xfb_info *xfb_info, const struct anv_pipeline_bind_map *bind_map) anv_device_upload_kernel() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h172 cso_construct_key(void *key, int key_size) in cso_construct_key() argument
175 unsigned num_elements = key_size / 4; in cso_construct_key()
177 assert(key_size % 4 == 0); in cso_construct_key()
H A Dcso_context.c441 unsigned key_size, hash_key; in cso_set_blend() local
445 key_size = templ->independent_blend_enable ? in cso_set_blend()
448 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
450 (void*)templ, key_size); in cso_set_blend()
458 memcpy(&cso->state, templ, key_size); in cso_set_blend()
503 unsigned key_size = sizeof(struct pipe_depth_stencil_alpha_state); in cso_set_depth_stencil_alpha() local
504 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha()
508 (void*)templ, key_size); in cso_set_depth_stencil_alpha()
565 unsigned key_size = sizeof(struct pipe_rasterizer_state); in cso_set_rasterizer() local
566 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer()
1032 unsigned key_size, hash_key; cso_set_vertex_elements_direct() local
1217 set_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, unsigned idx, const struct pipe_sampler_state *templ, size_t key_size) set_sampler() argument
1286 set_samplers(struct cso_context *ctx, enum pipe_shader_type shader_stage, unsigned nr, const struct pipe_sampler_state **templates, size_t key_size) set_samplers() argument
[all...]
/third_party/mbedtls/tests/src/drivers/
H A Dtest_driver_key_management.c126 * key_size on success.
160 * key_size on success.
193 uint8_t *key, size_t key_size, size_t *key_length) in mbedtls_test_transparent_generate_key()
203 key_size) { in mbedtls_test_transparent_generate_key()
218 key, key_size, key_length); in mbedtls_test_transparent_generate_key()
221 attributes, key, key_size, key_length); in mbedtls_test_transparent_generate_key()
229 key, key_size, key_length); in mbedtls_test_transparent_generate_key()
234 key, key_size, key_length); in mbedtls_test_transparent_generate_key()
242 key, key_size, key_length); in mbedtls_test_transparent_generate_key()
245 attributes, key, key_size, key_lengt in mbedtls_test_transparent_generate_key()
191 mbedtls_test_transparent_generate_key( const psa_key_attributes_t *attributes, uint8_t *key, size_t key_size, size_t *key_length) mbedtls_test_transparent_generate_key() argument
253 mbedtls_test_opaque_generate_key( const psa_key_attributes_t *attributes, uint8_t *key, size_t key_size, size_t *key_length) mbedtls_test_opaque_generate_key() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/bpf/
H A Dbpf_map01.c32 int key_size; member
48 attr->key_size = map_types[n].key_size; in run()
/third_party/mbedtls/programs/psa/
H A Dkey_ladder_demo.c160 size_t key_size; in save_key() local
165 &key_size)); in save_key()
169 SYS_CHECK(fwrite(key_data, 1, key_size, key_file) == key_size); in save_key()
219 size_t key_size; in import_key_from_file() local
226 SYS_CHECK((key_size = fread(key_data, 1, sizeof(key_data), in import_key_from_file()
240 PSA_CHECK(psa_import_key(&attributes, key_data, key_size, master_key)); in import_key_from_file()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_disk_cache.c39 static const int key_size[] = { in v3d_key_size() local
47 stage < ARRAY_SIZE(key_size) && in v3d_key_size()
48 key_size[stage]); in v3d_key_size()
50 return key_size[stage]; in v3d_key_size()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_program.c349 uint32_t key_size; in lima_get_compiled_fs() local
352 key_size = sizeof(struct lima_fs_key); in lima_get_compiled_fs()
382 dup_key = rzalloc_size(fs, key_size); in lima_get_compiled_fs()
383 memcpy(dup_key, key, key_size); in lima_get_compiled_fs()
523 uint32_t key_size; in lima_get_compiled_vs() local
526 key_size = sizeof(struct lima_vs_key); in lima_get_compiled_vs()
554 dup_key = rzalloc_size(vs, key_size); in lima_get_compiled_vs()
555 memcpy(dup_key, key, key_size); in lima_get_compiled_vs()
/third_party/mbedtls/library/
H A Dlmots.h94 const unsigned char *key, size_t key_size);
116 unsigned char *key, size_t key_size,
H A Dpsa_crypto_ffdh.c30 static psa_status_t mbedtls_psa_ffdh_set_prime_generator(size_t key_size, in mbedtls_psa_ffdh_set_prime_generator() argument
75 switch (key_size) { in mbedtls_psa_ffdh_set_prime_generator()
/third_party/ffmpeg/libavformat/
H A Dlibrist.c167 ((peer_config->key_size == 128 || peer_config->key_size == 256) && !peer_config->secret[0])) { in librist_open()
177 peer_config->key_size = s->encryption; in librist_open()
/third_party/mesa3d/src/mesa/program/
H A Dprog_cache.c60 hash_key(const void *key, GLuint key_size) in hash_key() argument
65 assert(key_size >= 4); in hash_key()
69 for (i = 0; i < key_size / sizeof(*ikey); i++) in hash_key()
/third_party/mbedtls/tests/include/test/drivers/
H A Dkey_management.h76 uint8_t *key, size_t key_size, size_t *key_length);
80 uint8_t *key, size_t key_size, size_t *key_length);
/third_party/mbedtls/include/mbedtls/
H A Dlms.h277 * \param key_size The size of the key being imported.
283 const unsigned char *key, size_t key_size);
301 * \param key_size The size of the key buffer.
309 unsigned char *key, size_t key_size,
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsdecrypt.c1049 u32 key_size, wanted_key_size, gcry_algo; in ntfs_fek_import_from_raw() local
1054 key_size = le32_to_cpup((le32*) fek_buf); in ntfs_fek_import_from_raw()
1055 ntfs_log_debug("key_size 0x%x\n", key_size); in ntfs_fek_import_from_raw()
1056 if (key_size + 16 > fek_size) { in ntfs_fek_import_from_raw()
1062 fek = malloc(((((sizeof(*fek) + 7) & ~7) + key_size + 7) & ~7) + in ntfs_fek_import_from_raw()
1072 memcpy(fek->key_data, fek_buf + 16, key_size); in ntfs_fek_import_from_raw()
1074 *(gcry_cipher_hd_t***)(fek->key_data + ((key_size + 7) & ~7)) = in ntfs_fek_import_from_raw()
1107 if (key_size != wanted_key_size) { in ntfs_fek_import_from_raw()
1112 (unsigned)key_size, (unsigne in ntfs_fek_import_from_raw()
[all...]
/third_party/mesa3d/src/intel/blorp/
H A Dblorp.h53 const void *key, uint32_t key_size,
57 const void *key, uint32_t key_size,

Completed in 18 milliseconds

123