Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 57) sorted by relevance

123

/tools/include/tools/
Dendian.h9 #define htole16(x) (x) argument
12 #define htole32(x) (x) argument
15 #define htole64(x) (x) argument
19 #define le16toh(x) (x) argument
23 #define le32toh(x) (x) argument
27 #define le64toh(x) (x) argument
33 #define htole16(x) __bswap_16(x) argument
36 #define htole32(x) __bswap_32(x) argument
39 #define htole64(x) __bswap_64(x) argument
43 #define le16toh(x) __bswap_16(x) argument
[all …]
/tools/perf/util/
Dutil.h26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument
29 #define TYPEOF(x) (__typeof__(x)) argument
31 #define TYPEOF(x) argument
34 #define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (sizeof(x) * 8 - (bits)))) argument
38 #define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1) argument
132 #define __attribute__(x) argument
230 #define sane_istest(x,mask) ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) argument
231 #define isascii(x) (((x) & ~0x7f) == 0) argument
232 #define isspace(x) sane_istest(x,GIT_SPACE) argument
233 #define isdigit(x) sane_istest(x,GIT_DIGIT) argument
[all …]
Dcache.h39 #define alloc_nr(x) (((x)+16)*3/2) argument
48 #define ALLOC_GROW(x, nr, alloc) \ argument
/tools/lib/lockdep/uinclude/linux/
Dkernel.h16 #define max(x, y) ({ \ argument
23 #define WARN_ON(x) (x) argument
24 #define WARN_ON_ONCE(x) (x) argument
25 #define likely(x) (x) argument
26 #define WARN(x, y, z) (x) argument
27 #define uninitialized_var(x) x argument
Dstringify.h4 #define __stringify_1(x...) #x argument
5 #define __stringify(x...) __stringify_1(x) argument
Ddebug_locks.h7 #define DEBUG_LOCKS_WARN_ON(x) (x) argument
Dlockdep.h41 #define atomic_inc(x) ((*(x))++) argument
54 #define static_obj(x) 1 argument
/tools/perf/util/include/linux/
Dkernel.h11 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument
12 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument
34 #define max(x, y) ({ \ argument
42 #define min(x, y) ({ \ argument
50 #define roundup(x, y) ( \ argument
70 #define cpu_to_le64(x) (x) argument
71 #define cpu_to_le32(x) (x) argument
103 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
105 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
/tools/include/linux/
Dcompiler.h31 # define likely(x) __builtin_expect(!!(x), 1) argument
35 # define unlikely(x) __builtin_expect(!!(x), 0) argument
38 #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) argument
/tools/lib/api/fs/
Ddebugfs.h4 #define _STR(x) #x argument
5 #define STR(x) _STR(x) argument
/tools/virtio/linux/
Duaccess.h5 #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) argument
12 #define put_user(x, ptr) \ argument
20 #define get_user(x, ptr) \ argument
Dkernel.h41 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument
81 #define uninitialized_var(x) x = x argument
84 # define likely(x) (__builtin_expect(!!(x), 1)) argument
87 # define unlikely(x) (__builtin_expect(!!(x), 0)) argument
99 #define min(x, y) ({ \ argument
Dbug.h6 #define BUILD_BUG_ON(x) argument
Dratelimit.h3 #define __ratelimit(x) (*(x)) argument
/tools/testing/selftests/powerpc/
Dutils.h25 #define FAIL_IF(x) \ argument
37 #define SKIP_IF(x) \ argument
/tools/perf/tests/
Dkeep-tracking.c12 #define CHECK__(x) { \ argument
19 #define CHECK_NOT_NULL__(x) { \ argument
Dperf-time-to-tsc.c14 #define CHECK__(x) { \ argument
21 #define CHECK_NOT_NULL__(x) { \ argument
/tools/thermal/tmon/
Dtui.c95 void write_status_bar(int x, char *line) in write_status_bar()
186 int i, j, x, y = 0; in show_cooling_device() local
264 int j, x = 0, y = 0; in show_dialogue() local
297 void write_dialogue_win(char *buf, int y, int x) in write_dialogue_win()
361 int x = 0; in show_title_bar() local
534 int x; in draw_tp_line() local
/tools/power/cpupower/bench/
Dbenchmark.h21 #define ROUNDS(x) {unsigned int rcnt; \ argument
/tools/power/cpupower/utils/idle_monitor/
Didle_monitors.h13 #define DEF(x) extern struct cpuidle_monitor x ##_monitor; argument
/tools/perf/config/feature-checks/
Dtest-sync-compare-and-swap.c3 volatile uint64_t x; variable
/tools/testing/selftests/powerpc/pmu/ebb/
Dreg.h9 #define __stringify_1(x) #x argument
10 #define __stringify(x) __stringify_1(x) argument
/tools/testing/selftests/powerpc/copyloops/asm/
Dppc_asm.h87 #define ALT_FTR_SECTION_END_IFCLR(x) argument
88 #define ALT_FTR_SECTION_END(x, y) argument
89 #define END_FTR_SECTION_IFCLR(x) argument
/tools/lib/traceevent/
Devent-utils.h37 #define min(x, y) ({ \ argument
/tools/power/cpupower/utils/
Dcpupower.c23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument
121 int ret, x, new_argc = 0; in handle_options() local

123