/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 129 #define __attribute__(x) argument 192 #define sane_istest(x,mask) ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) argument 193 #define isascii(x) (((x) & ~0x7f) == 0) argument 194 #define isspace(x) sane_istest(x,GIT_SPACE) argument 195 #define isdigit(x) sane_istest(x,GIT_DIGIT) argument [all …]
|
/tools/include/linux/ |
D | kernel.h | 10 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument 11 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument 33 #define max(x, y) ({ \ argument 41 #define min(x, y) ({ \ argument 49 #define roundup(x, y) ( \ argument 69 #define cpu_to_le64(x) (x) argument 70 #define cpu_to_le32(x) (x) argument 81 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument 82 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument 83 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
|
D | compiler.h | 46 # define likely(x) __builtin_expect(!!(x), 1) argument 50 # define unlikely(x) __builtin_expect(!!(x), 0) argument 53 #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) argument 123 #define READ_ONCE(x) \ argument 126 #define WRITE_ONCE(x, val) \ argument
|
D | stringify.h | 9 #define __stringify_1(x...) #x argument 10 #define __stringify(x...) __stringify_1(x) argument
|
/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 7 #define cpu_to_be32(x) bswap_32(x) argument 8 #define be32_to_cpu(x) bswap_32(x) argument 9 #define be16_to_cpup(x) bswap_16(*x) argument 10 #define cpu_to_be64(x) bswap_64(x) argument 12 #define cpu_to_be32(x) (x) argument 13 #define be32_to_cpu(x) (x) argument 14 #define be16_to_cpup(x) (*x) argument 15 #define cpu_to_be64(x) (x) 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...) (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 | compiler.h | 6 #define READ_ONCE(x) (x) argument 7 #define WRITE_ONCE(x, val) x=(val) argument
|
/tools/include/asm-generic/bitops/ |
D | fls64.h | 18 static __always_inline int fls64(__u64 x) in fls64() 26 static __always_inline int fls64(__u64 x) in fls64()
|
/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 659 def sched__sched_switch(*x): 662 def evsel_table(evsel_id, evsel_name, *x): 668 def machine_table(machine_id, pid, root_dir, *x): 674 def thread_table(thread_id, machine_id, process_id, pid, tid, *x): 678 def comm_table(comm_id, comm_str, *x): 684 def comm_thread_table(comm_thread_id, comm_id, thread_id, *x): 689 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): 697 def symbol_table(symbol_id, dso_id, sym_start, sym_end, binding, symbol_name, *x): 703 def branch_type_table(branch_type, name, *x): 709 …to_sym_offset, to_ip, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, *x): [all …]
|
/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 | 23 #define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK) argument 45 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument 102 #define uninitialized_var(x) x = x argument 105 # define likely(x) (__builtin_expect(!!(x), 1)) argument 108 # define unlikely(x) (__builtin_expect(!!(x), 0)) argument 122 #define min(x, y) ({ \ argument
|
/tools/testing/radix-tree/linux/ |
D | types.h | 18 unsigned int x; member 21 #define uninitialized_var(x) x = x argument
|
D | bug.h | 1 #define WARN_ON_ONCE(x) assert(x) argument
|
/tools/lib/traceevent/ |
D | plugin_cfg80211.c | 13 # define le16toh(x) (x) argument 15 # define le16toh(x) __bswap_16 (x) argument
|
/tools/testing/selftests/powerpc/copyloops/asm/ |
D | ppc_asm.h | 54 #define ALT_FTR_SECTION_END_IFCLR(x) argument 55 #define ALT_FTR_SECTION_END(x, y) argument 56 #define END_FTR_SECTION_IFCLR(x) argument
|
D | export.h | 1 #define EXPORT_SYMBOL(x) argument
|
/tools/thermal/tmon/ |
D | tui.c | 33 #define min(x, y) ({ \ argument 39 #define max(x, y) ({ \ argument 107 void write_status_bar(int x, char *line) in write_status_bar() 210 int i, j, x, y = 0; in show_cooling_device() local 287 int j, x = 0, y = 0; in show_dialogue() local 324 void write_dialogue_win(char *buf, int y, int x) in write_dialogue_win() 388 int x = 0; in show_title_bar() local 561 int x; in draw_tp_line() local
|
/tools/perf/tests/ |
D | keep-tracking.c | 12 #define CHECK__(x) { \ argument 19 #define CHECK_NOT_NULL__(x) { \ argument
|
/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 57 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument 58 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument 59 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) argument
|
/tools/power/cpupower/bench/ |
D | benchmark.h | 21 #define ROUNDS(x) {unsigned int rcnt; \ argument
|
/tools/testing/selftests/powerpc/stringloops/asm/ |
D | export.h | 1 #define EXPORT_SYMBOL(x) argument
|
/tools/testing/selftests/powerpc/ |
D | utils.h | 48 #define FAIL_IF(x) \ argument 60 #define SKIP_IF(x) \ argument
|
/tools/power/cpupower/utils/idle_monitor/ |
D | idle_monitors.h | 13 #define DEF(x) extern struct cpuidle_monitor x ##_monitor; argument
|