Searched refs:new_pkey (Results 1 – 1 of 1) sorted by relevance
633 int new_pkey = alloc_pkey(); in alloc_random_pkey() local634 if (new_pkey < 0) in alloc_random_pkey()636 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()1145 int new_pkey; in test_pkey_alloc_exhaust() local1147 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()1152 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()1158 allocated_pkeys[nr_allocated_pkeys++] = new_pkey; in test_pkey_alloc_exhaust()