Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/vm/
Dprotection_keys.c561 int nr_alloced = 0; in alloc_random_pkey() local
571 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
574 pkey_assert(nr_alloced > 0); in alloc_random_pkey()
576 random_index = rand() % nr_alloced; in alloc_random_pkey()
582 for (i = 0; i < nr_alloced; i++) { in alloc_random_pkey()
976 int nr_alloced = 0; in test_pkey_alloc_free_attach_pkey0() local
998 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
1001 for (i = 0; i < nr_alloced; i++) { in test_pkey_alloc_free_attach_pkey0()