Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/vm/
Dprotection_keys.c569 int new_pkey = alloc_pkey(); in alloc_random_pkey() local
570 if (new_pkey < 0) in alloc_random_pkey()
572 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
994 int new_pkey = alloc_pkey(); in test_pkey_alloc_free_attach_pkey0() local
995 pkey_assert(new_pkey != 0); in test_pkey_alloc_free_attach_pkey0()
997 if (new_pkey < 0) in test_pkey_alloc_free_attach_pkey0()
999 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
1222 int new_pkey; in test_pkey_alloc_exhaust() local
1224 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()
1231 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()
[all …]