Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c553 int nr_alloced = 0; in alloc_random_pkey() local
563 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
566 pkey_assert(nr_alloced > 0); in alloc_random_pkey()
568 random_index = rand() % nr_alloced; in alloc_random_pkey()
574 for (i = 0; i < nr_alloced; i++) { in alloc_random_pkey()
968 int nr_alloced = 0; in test_pkey_alloc_free_attach_pkey0() local
990 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
993 for (i = 0; i < nr_alloced; i++) { in test_pkey_alloc_free_attach_pkey0()