Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/x86/
Dprotection_keys.c620 int new_pkey = alloc_pkey(); in alloc_random_pkey() local
621 if (new_pkey < 0) in alloc_random_pkey()
623 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
1160 int new_pkey; in test_pkey_alloc_exhaust() local
1162 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()
1167 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()
1177 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_alloc_exhaust()