/tools/include/tools/ |
D | endian.h | 9 #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/ |
D | util.h | 26 #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 …]
|
D | cache.h | 39 #define alloc_nr(x) (((x)+16)*3/2) argument 48 #define ALLOC_GROW(x, nr, alloc) \ argument
|
/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 16 #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
|
D | stringify.h | 4 #define __stringify_1(x...) #x argument 5 #define __stringify(x...) __stringify_1(x) argument
|
D | debug_locks.h | 7 #define DEBUG_LOCKS_WARN_ON(x) (x) argument
|
D | lockdep.h | 41 #define atomic_inc(x) ((*(x))++) argument 54 #define static_obj(x) 1 argument
|
/tools/perf/util/include/linux/ |
D | kernel.h | 11 #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/ |
D | compiler.h | 31 # 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/ |
D | debugfs.h | 4 #define _STR(x) #x argument 5 #define STR(x) _STR(x) argument
|
/tools/virtio/linux/ |
D | uaccess.h | 5 #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) argument 12 #define put_user(x, ptr) \ argument 20 #define get_user(x, ptr) \ argument
|
D | kernel.h | 41 #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
|
D | bug.h | 6 #define BUILD_BUG_ON(x) argument
|
D | ratelimit.h | 3 #define __ratelimit(x) (*(x)) argument
|
/tools/testing/selftests/powerpc/ |
D | utils.h | 25 #define FAIL_IF(x) \ argument 37 #define SKIP_IF(x) \ argument
|
/tools/perf/tests/ |
D | keep-tracking.c | 12 #define CHECK__(x) { \ argument 19 #define CHECK_NOT_NULL__(x) { \ argument
|
D | perf-time-to-tsc.c | 14 #define CHECK__(x) { \ argument 21 #define CHECK_NOT_NULL__(x) { \ argument
|
/tools/thermal/tmon/ |
D | tui.c | 95 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/ |
D | benchmark.h | 21 #define ROUNDS(x) {unsigned int rcnt; \ argument
|
/tools/power/cpupower/utils/idle_monitor/ |
D | idle_monitors.h | 13 #define DEF(x) extern struct cpuidle_monitor x ##_monitor; argument
|
/tools/perf/config/feature-checks/ |
D | test-sync-compare-and-swap.c | 3 volatile uint64_t x; variable
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | reg.h | 9 #define __stringify_1(x) #x argument 10 #define __stringify(x) __stringify_1(x) argument
|
/tools/testing/selftests/powerpc/copyloops/asm/ |
D | ppc_asm.h | 87 #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/ |
D | event-utils.h | 37 #define min(x, y) ({ \ argument
|
/tools/power/cpupower/utils/ |
D | cpupower.c | 23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument 121 int ret, x, new_argc = 0; in handle_options() local
|