Searched refs:range_before (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.c | 124 size_t range_before, size_t range_after, in __mte_allocate_memory_range() argument 129 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() 164 ptr = mte_insert_tags(ptr + range_before, size); in __mte_allocate_memory_range() 169 size_t range_before, size_t range_after) in mte_allocate_memory_tag_range() argument 206 size_t range_before, size_t range_after, int fd) in mte_allocate_file_memory_tag_range() argument 210 int map_size = size + range_before + range_after; in mte_allocate_file_memory_tag_range() 233 size_t range_before, size_t range_after, bool tags) in __mte_free_memory_range() argument 237 free(ptr - range_before); in __mte_free_memory_range() 243 munmap(ptr - range_before, size + range_before + range_after); in __mte_free_memory_range() [all …]
|
H 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); 113 size_t range_before, size_t range_after) in check_allocated_memory_range() argument 122 mte_free_memory_tag_range((void *)ptr, size, mem_type, range_before, in check_allocated_memory_range()
|