Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c633 int new_pkey = alloc_pkey(); in alloc_random_pkey() local
634 if (new_pkey < 0) in alloc_random_pkey()
636 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
1145 int new_pkey; in test_pkey_alloc_exhaust() local
1147 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()
1152 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()
1158 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_alloc_exhaust()