Searched refs:pkru (Results 1 – 2 of 2) sorted by relevance
31 unsigned int pkru = pkey_read (); in pkey_set() local32 pkru = (pkru & ~mask) | (rights << (2 * key)); in pkey_set()33 pkey_write (pkru); in pkey_set()
30 unsigned int pkru = pkey_read (); in pkey_get() local31 return (pkru >> (2 * key)) & 3; in pkey_get()