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