Searched refs:range_before (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/arm64/mte/ |
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 171 return __mte_allocate_memory_range(size, mem_type, mapping, range_before, in mte_allocate_memory_tag_range() 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() 228 return __mte_allocate_memory_range(size, mem_type, mapping, range_before, in mte_allocate_file_memory_tag_range() 233 size_t range_before, size_t range_after, bool tags) in __mte_free_memory_range() argument [all …]
|
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()
|