• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_MEMBARRIER_H
7 #define _UAPI_LINUX_MEMBARRIER_H
8 enum membarrier_cmd {
9 	MEMBARRIER_CMD_QUERY					= 0,
10 	MEMBARRIER_CMD_GLOBAL					= (1 << 0),
11 	MEMBARRIER_CMD_GLOBAL_EXPEDITED				= (1 << 1),
12 	MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED		= (1 << 2),
13 	MEMBARRIER_CMD_PRIVATE_EXPEDITED			= (1 << 3),
14 	MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED		= (1 << 4),
15 	MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE		= (1 << 5),
16 	MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE	= (1 << 6),
17 
18 	MEMBARRIER_CMD_SHARED			= MEMBARRIER_CMD_GLOBAL,
19 };
20 #endif
21