Searched refs:pkey_assert (Results 1 – 3 of 3) sorted by relevance
219 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()226 pkey_assert(pkey_rights >= 0); in pkey_disable_set()237 pkey_assert(ret >= 0); in pkey_disable_set()246 pkey_assert(read_pkey_reg() >= orig_pkey_reg); in pkey_disable_set()258 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear()262 pkey_assert(pkey_rights >= 0); in pkey_disable_clear()268 pkey_assert(ret >= 0); in pkey_disable_clear()358 pkey_assert(*pkey_reg_ptr); in signal_handler()375 pkey_assert(siginfo_pkey < NR_PKEYS); in signal_handler()426 pkey_assert(rs == 0); in setup_sigsegv_handler()[all …]
112 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect_subpage()114 pkey_assert(ptr != (void *)-1); in malloc_pkey_with_mprotect_subpage()123 pkey_assert(!ret); in malloc_pkey_with_mprotect_subpage()
71 #define pkey_assert(condition) do { \ macro