Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/mm/
Dprotection_keys.c555 int nr_alloced = 0; in alloc_random_pkey() local
565 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
568 pkey_assert(nr_alloced > 0); in alloc_random_pkey()
570 random_index = rand() % nr_alloced; in alloc_random_pkey()
576 for (i = 0; i < nr_alloced; i++) { in alloc_random_pkey()
962 int nr_alloced = 0; in test_pkey_alloc_free_attach_pkey0() local
984 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
987 for (i = 0; i < nr_alloced; i++) { in test_pkey_alloc_free_attach_pkey0()