Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/mm/
Dprotection_keys.c795 static int malloc_type; in malloc_pkey() local
801 pkey_assert(malloc_type < nr_malloc_types); in malloc_pkey()
803 ret = pkey_malloc[malloc_type](size, prot, pkey); in malloc_pkey()
806 malloc_type++; in malloc_pkey()
807 if (malloc_type >= nr_malloc_types) in malloc_pkey()
808 malloc_type = (random()%nr_malloc_types); in malloc_pkey()