Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dmte_common_util.c128 int prot_flag, map_flag; in __mte_allocate_memory_range() local
146 map_flag = mapping; in __mte_allocate_memory_range()
148 map_flag = MAP_ANONYMOUS | map_flag; in __mte_allocate_memory_range()
150 map_flag |= MAP_PRIVATE; in __mte_allocate_memory_range()
151 ptr = mmap(NULL, entire_size, prot_flag, map_flag, fd, 0); in __mte_allocate_memory_range()

Completed in 3 milliseconds