Searched refs:range_before (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/arm64/mte/ |
A D | mte_common_util.c | 120 size_t range_before, size_t range_after, in __mte_allocate_memory_range() argument 125 size_t entire_size = size + range_before + range_after; in __mte_allocate_memory_range() 133 return malloc(entire_size) + range_before; in __mte_allocate_memory_range() 157 ptr = mte_insert_tags(ptr + range_before, size); in __mte_allocate_memory_range() 162 size_t range_before, size_t range_after) in mte_allocate_memory_tag_range() argument 199 size_t range_before, size_t range_after, int fd) in mte_allocate_file_memory_tag_range() argument 203 int map_size = size + range_before + range_after; in mte_allocate_file_memory_tag_range() 226 size_t range_before, size_t range_after, bool tags) in __mte_free_memory_range() argument 230 free(ptr - range_before); in __mte_free_memory_range() 236 munmap(ptr - range_before, size + range_before + range_after); in __mte_free_memory_range() [all …]
|
A D | mte_common_util.h | 47 size_t range_before, size_t range_after); 51 size_t range_before, size_t range_after, int fd); 54 size_t range_before, size_t range_after); 102 size_t range_before, size_t range_after) in check_allocated_memory_range() argument 111 mte_free_memory_tag_range((void *)ptr, size, mem_type, range_before, in check_allocated_memory_range()
|
Completed in 4 milliseconds