Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/rseq/
H A Drseq.h94 #define RSEQ_ACCESS_ONCE(x) (*(__volatile__ __typeof__(x) *)&(x)) macro
95 #define RSEQ_WRITE_ONCE(x, v) __extension__ ({ RSEQ_ACCESS_ONCE(x) = (v); })
96 #define RSEQ_READ_ONCE(x) RSEQ_ACCESS_ONCE(x)
159 return RSEQ_ACCESS_ONCE(rseq_get_abi()->cpu_id); in rseq_current_cpu_raw()
175 return RSEQ_ACCESS_ONCE(rseq_get_abi()->cpu_id_start); in rseq_cpu_start()
199 return RSEQ_ACCESS_ONCE(rseq_get_abi()->node_id); in rseq_current_node_id()
209 return RSEQ_ACCESS_ONCE(rseq_get_abi()->mm_cid); in rseq_current_mm_cid()