Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dprotection_keys.c560 int new_pkey = alloc_pkey(); in alloc_random_pkey() local
561 if (new_pkey < 0) in alloc_random_pkey()
563 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
985 int new_pkey = alloc_pkey(); in test_pkey_alloc_free_attach_pkey0() local
986 pkey_assert(new_pkey != 0); in test_pkey_alloc_free_attach_pkey0()
988 if (new_pkey < 0) in test_pkey_alloc_free_attach_pkey0()
990 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
1213 int new_pkey; in test_pkey_alloc_exhaust() local
1215 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()
1222 if ((new_pkey in test_pkey_alloc_exhaust()
1319 int new_pkey = alloc_pkey(); test_pkey_init_state() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c568 int new_pkey = alloc_pkey(); in alloc_random_pkey() local
569 if (new_pkey < 0) in alloc_random_pkey()
571 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
993 int new_pkey = alloc_pkey(); in test_pkey_alloc_free_attach_pkey0() local
994 pkey_assert(new_pkey != 0); in test_pkey_alloc_free_attach_pkey0()
996 if (new_pkey < 0) in test_pkey_alloc_free_attach_pkey0()
998 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
1221 int new_pkey; in test_pkey_alloc_exhaust() local
1223 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()
1230 if ((new_pkey in test_pkey_alloc_exhaust()
[all...]

Completed in 5 milliseconds