Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dprotection_keys.c1209 int nr_allocated_pkeys = 0; in test_pkey_alloc_exhaust() local
1224 __func__, nr_allocated_pkeys); in test_pkey_alloc_exhaust()
1231 pkey_assert(nr_allocated_pkeys < NR_PKEYS); in test_pkey_alloc_exhaust()
1232 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_alloc_exhaust()
1265 for (i = 0; i < nr_allocated_pkeys; i++) { in test_pkey_alloc_exhaust()
1315 int nr_allocated_pkeys = 0; in test_pkey_init_state() local
1323 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_init_state()
1337 for (i = 0; i < nr_allocated_pkeys; i++) { in test_pkey_init_state()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c1217 int nr_allocated_pkeys = 0; in test_pkey_alloc_exhaust() local
1232 __func__, nr_allocated_pkeys); in test_pkey_alloc_exhaust()
1239 pkey_assert(nr_allocated_pkeys < NR_PKEYS); in test_pkey_alloc_exhaust()
1240 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_alloc_exhaust()
1273 for (i = 0; i < nr_allocated_pkeys; i++) { in test_pkey_alloc_exhaust()

Completed in 5 milliseconds