Searched refs:nr_alloced (Results 1 – 1 of 1) sorted by relevance
555 int nr_alloced = 0; in alloc_random_pkey() local565 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() local984 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()