Home
last modified time | relevance | path

Searched refs:mte_allocate_memory (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/arm64/mte/
Dcheck_buffer_fill.c38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte()
270 src = (char *)mte_allocate_memory(size, mem_type, 0, false); in check_buffer_by_block_iterate()
274 dst = (char *)mte_allocate_memory(size, mem_type, 0, true); in check_buffer_by_block_iterate()
282 dst = (char *)mte_allocate_memory(size, mem_type, 0, false); in check_buffer_by_block_iterate()
286 src = (char *)mte_allocate_memory(size, mem_type, 0, true); in check_buffer_by_block_iterate()
293 src = (char *)mte_allocate_memory(size, mem_type, 0, true); in check_buffer_by_block_iterate()
297 dst = (char *)mte_allocate_memory(size, mem_type, 0, true); in check_buffer_by_block_iterate()
374 ptr = (char *)mte_allocate_memory(sizes[run], mem_type, mapping, false); in check_memory_initial_tags()
Dcheck_tags_inclusion.c54 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_single_included_tags()
87 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_multiple_included_tags()
118 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_all_included_tags()
144 ptr = mte_allocate_memory(BUFFER_SIZE, mem_type, 0, false); in check_none_included_tags()
Dmte_common_util.h45 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags);
Dcheck_ksm_options.c110 ptr = mte_allocate_memory(TEST_UNIT * page_sz, mem_type, mapping, true); in check_madvise_options()
Dcheck_user_mem.c55 ptr = mte_allocate_memory(len, mem_type, mapping, true); in check_usermem_access_fault()
Dcheck_mmap_options.c70 map_ptr = (char *)mte_allocate_memory(map_size, mem_type, mapping, false); in check_anonymous_memory_mapping()
Dmte_common_util.c175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() function