Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/x86/
Dprotection_keys.c403 static u32 hw_pkey_get(int pkey, unsigned long flags) in hw_pkey_get()
425 static int hw_pkey_set(int pkey, unsigned long rights, unsigned long flags) in hw_pkey_set()
448 void pkey_disable_set(int pkey, int flags) in pkey_disable_set()
486 void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear()
515 void pkey_write_allow(int pkey) in pkey_write_allow()
519 void pkey_write_deny(int pkey) in pkey_write_deny()
523 void pkey_access_allow(int pkey) in pkey_access_allow()
527 void pkey_access_deny(int pkey) in pkey_access_deny()
533 unsigned long pkey) in sys_mprotect_pkey()
595 int sys_pkey_free(unsigned long pkey) in sys_pkey_free()
[all …]
Dpkey-helpers.h109 static inline void __pkey_access_allow(int pkey, int do_allow) in __pkey_access_allow()
123 static inline void __pkey_write_allow(int pkey, int do_allow_write) in __pkey_write_allow()
/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c38 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) argument
69 static int sys_pkey_free(int pkey) in sys_pkey_free()
Dptrace-pkey.c29 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) argument
/tools/perf/util/
Dbpf-loader.c1371 apply_config_value_for_key(int map_fd, void *pkey, in apply_config_value_for_key()
1406 apply_config_evsel_for_key(const char *name, int map_fd, void *pkey, in apply_config_evsel_for_key()
1462 void *pkey, void *arg __maybe_unused) in apply_obj_config_map_for_key()
/tools/lib/traceevent/
Devent-parse.c3562 struct tep_event *pkey = &key; in tep_find_event() local