2 * Kernel API extracted from Linux kernel headers.
17 #define DECLARE_IMV(type, name) extern __typeof__(type) name##__imv
18 #define DEFINE_IMV(type, name) __typeof__(type) name##__imv
20 #define likely(x) __builtin_expect(!!(x), 1)
21 #define unlikely(x) __builtin_expect(!!(x), 0)
24 * imv_read - read immediate variable
25 * @name: immediate value name
27 * Reads the value of @name.
29 #define imv_read(name) _imv_read(name)
32 * _imv_read - Read immediate value with standard memory load.
33 * @name: immediate value name
35 * Force a data read of the immediate value instead of the immediate value
36 * based mechanism. Useful for __init and __exit section data read.
38 #define _imv_read(name) (name##__imv)
40 #define __NR_marker 328
41 #define __NR_trace 329
43 #define sys_marker(...) syscall(__NR_marker, __VA_ARGS__)
46 } /* end of extern "C" */
This page took 0.031459 seconds and 4 git commands to generate.