Searched refs:new_pkey (Results 1 – 1 of 1) sorted by relevance
527 int new_pkey = alloc_pkey(); in alloc_random_pkey() local528 if (new_pkey < 0) in alloc_random_pkey()530 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()914 int new_pkey = alloc_pkey(); in test_pkey_alloc_free_attach_pkey0() local915 pkey_assert(new_pkey != 0); in test_pkey_alloc_free_attach_pkey0()917 if (new_pkey < 0) in test_pkey_alloc_free_attach_pkey0()919 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()1143 int new_pkey; in test_pkey_alloc_exhaust() local1145 new_pkey = alloc_pkey(); in test_pkey_alloc_exhaust()1152 if ((new_pkey == -1) && (errno == ENOSPC)) { in test_pkey_alloc_exhaust()[all …]