Home
last modified time | relevance | path

Searched refs:RSEQ_ACCESS_ONCE (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/testing/selftests/rseq/
Drseq.h100 #define RSEQ_ACCESS_ONCE(x) (*(__volatile__ __typeof__(x) *)&(x)) macro
101 #define RSEQ_WRITE_ONCE(x, v) __extension__ ({ RSEQ_ACCESS_ONCE(x) = (v); })
102 #define RSEQ_READ_ONCE(x) RSEQ_ACCESS_ONCE(x)
165 return RSEQ_ACCESS_ONCE(rseq_get_abi()->cpu_id); in rseq_current_cpu_raw()
181 return RSEQ_ACCESS_ONCE(rseq_get_abi()->cpu_id_start); in rseq_cpu_start()
205 return RSEQ_ACCESS_ONCE(rseq_get_abi()->node_id); in rseq_current_node_id()
215 return RSEQ_ACCESS_ONCE(rseq_get_abi()->mm_cid); in rseq_current_mm_cid()