Searched refs:new_pkey (Results 1 – 1 of 1) sorted by relevance
560 int new_pkey = alloc_pkey(); in alloc_random_pkey() local561 if (new_pkey < 0) in alloc_random_pkey()563 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()985 int new_pkey = alloc_pkey(); in test_pkey_alloc_free_attach_pkey0() local986 pkey_assert(new_pkey != 0); in test_pkey_alloc_free_attach_pkey0()988 if (new_pkey < 0) in test_pkey_alloc_free_attach_pkey0()990 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()1213 int new_pkey; in test_pkey_alloc_exhaust() local1215 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()1222 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()[all …]