| /tools/testing/selftests/bpf/ |
| D | bpf_helpers.h | 115 #define PT_REGS_PARM1(x) ((x)->di) argument 116 #define PT_REGS_PARM2(x) ((x)->si) argument 117 #define PT_REGS_PARM3(x) ((x)->dx) argument 118 #define PT_REGS_PARM4(x) ((x)->cx) argument 119 #define PT_REGS_PARM5(x) ((x)->r8) argument 120 #define PT_REGS_RET(x) ((x)->sp) argument 121 #define PT_REGS_FP(x) ((x)->bp) argument 122 #define PT_REGS_RC(x) ((x)->ax) argument 123 #define PT_REGS_SP(x) ((x)->sp) argument 124 #define PT_REGS_IP(x) ((x)->ip) argument [all …]
|
| D | bpf_endian.h | 23 # define __bpf_ntohs(x) __builtin_bswap16(x) argument 24 # define __bpf_htons(x) __builtin_bswap16(x) argument 25 # define __bpf_constant_ntohs(x) ___constant_swab16(x) argument 26 # define __bpf_constant_htons(x) ___constant_swab16(x) argument 27 # define __bpf_ntohl(x) __builtin_bswap32(x) argument 28 # define __bpf_htonl(x) __builtin_bswap32(x) argument 29 # define __bpf_constant_ntohl(x) ___constant_swab32(x) argument 30 # define __bpf_constant_htonl(x) ___constant_swab32(x) argument 32 # define __bpf_ntohs(x) (x) argument 33 # define __bpf_htons(x) (x) argument [all …]
|
| /tools/include/tools/ |
| D | endian.h | 10 #define htole16(x) (x) argument 13 #define htole32(x) (x) argument 16 #define htole64(x) (x) argument 20 #define le16toh(x) (x) argument 24 #define le32toh(x) (x) argument 28 #define le64toh(x) (x) argument 34 #define htole16(x) __bswap_16(x) argument 37 #define htole32(x) __bswap_32(x) argument 40 #define htole64(x) __bswap_64(x) argument 44 #define le16toh(x) __bswap_16(x) argument [all …]
|
| /tools/perf/util/ |
| D | sane_ctype.h | 31 #define sane_istest(x,mask) ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) argument 32 #define isascii(x) (((x) & ~0x7f) == 0) argument 33 #define isspace(x) sane_istest(x,GIT_SPACE) argument 34 #define isdigit(x) sane_istest(x,GIT_DIGIT) argument 35 #define isxdigit(x) \ argument 37 #define isalpha(x) sane_istest(x,GIT_ALPHA) argument 38 #define isalnum(x) sane_istest(x,GIT_ALPHA | GIT_DIGIT) argument 39 #define isprint(x) sane_istest(x,GIT_PRINT) argument 40 #define islower(x) (sane_istest(x,GIT_ALPHA) && (x & 0x20)) argument 41 #define isupper(x) (sane_istest(x,GIT_ALPHA) && !(x & 0x20)) argument [all …]
|
| D | util.h | 52 #define KVER_VERSION(x) (((x) >> 16) & 0xff) argument 53 #define KVER_PATCHLEVEL(x) (((x) >> 8) & 0xff) argument 54 #define KVER_SUBLEVEL(x) ((x) & 0xff) argument 56 #define KVER_PARAM(x) KVER_VERSION(x), KVER_PATCHLEVEL(x), KVER_SUBLEVEL(x) argument
|
| /tools/perf/scripts/python/ |
| D | export-to-sqlite.py | 235 def emit_to_hex(x): argument 409 def sched__sched_switch(*x): 412 def bind_exec(q, n, x): argument 417 def evsel_table(*x): 420 def machine_table(*x): 423 def thread_table(*x): 426 def comm_table(*x): 429 def comm_thread_table(*x): 432 def dso_table(*x): 435 def symbol_table(*x): [all …]
|
| D | export-to-postgresql.py | 669 def sched__sched_switch(*x): 672 def evsel_table(evsel_id, evsel_name, *x): 678 def machine_table(machine_id, pid, root_dir, *x): 684 def thread_table(thread_id, machine_id, process_id, pid, tid, *x): 688 def comm_table(comm_id, comm_str, *x): 694 def comm_thread_table(comm_thread_id, comm_id, thread_id, *x): 699 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): 707 def symbol_table(symbol_id, dso_id, sym_start, sym_end, binding, symbol_name, *x): 713 def branch_type_table(branch_type, name, *x): 719 …to_sym_offset, to_ip, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, *x): [all …]
|
| /tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
| D | int_typedefs.h | 25 #define S8_C(x) INT8_C(x) argument 26 #define U8_C(x) UINT8_C(x) argument 27 #define S16_C(x) INT16_C(x) argument 28 #define U16_C(x) UINT16_C(x) argument 29 #define S32_C(x) INT32_C(x) argument 30 #define U32_C(x) UINT32_C(x) argument 31 #define S64_C(x) INT64_C(x) argument 32 #define U64_C(x) UINT64_C(x) argument
|
| D | locks.h | 15 #define __acquire(x) argument 16 #define __acquires(x) argument 17 #define __release(x) argument 18 #define __releases(x) argument 128 #define __SPIN_LOCK_UNLOCKED(x) SPIN_LOCK_UNLOCKED argument 129 #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED argument 181 #define COMPLETION_INITIALIZER(x) {.count = 0} argument 182 #define DECLARE_COMPLETION(x) struct completion x = COMPLETION_INITIALIZER(x) argument 183 #define DECLARE_COMPLETION_ONSTACK(x) DECLARE_COMPLETION(x) argument
|
| D | barriers.h | 38 #define ACCESS_ONCE(x) (*(volatile typeof(x) *) &(x)) argument 39 #define READ_ONCE(x) ACCESS_ONCE(x) argument 40 #define WRITE_ONCE(x, val) (ACCESS_ONCE(x) = (val)) argument
|
| D | assume.h | 7 #define assume(x) \ argument 14 #define assume(x) __CPROVER_assume(x) argument
|
| D | bug_on.h | 8 #define BUG_ON(x) assert(!(x)) argument 12 #define WARN_ON(x) (BUG_ON(x), false) argument
|
| /tools/testing/selftests/powerpc/vphn/ |
| D | test-vphn.c | 8 #define cpu_to_be32(x) bswap_32(x) argument 9 #define be32_to_cpu(x) bswap_32(x) argument 10 #define be16_to_cpup(x) bswap_16(*x) argument 11 #define cpu_to_be64(x) bswap_64(x) argument 13 #define cpu_to_be32(x) (x) argument 14 #define be32_to_cpu(x) (x) argument 15 #define be16_to_cpup(x) (*x) argument 16 #define cpu_to_be64(x) (x) argument
|
| /tools/include/linux/ |
| D | kernel.h | 18 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument 19 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument 42 #define max(x, y) ({ \ argument 50 #define min(x, y) ({ \ argument 58 #define roundup(x, y) ( \ argument 113 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument 114 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument 115 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
|
| D | compiler.h | 70 # define likely(x) __builtin_expect(!!(x), 1) argument 74 # define unlikely(x) __builtin_expect(!!(x), 0) argument 85 #define uninitialized_var(x) x = *(&(x)) argument 87 #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) argument 157 #define READ_ONCE(x) \ argument 160 #define WRITE_ONCE(x, val) \ argument
|
| D | spinlock.h | 9 #define DEFINE_SPINLOCK(x) pthread_mutex_t x = PTHREAD_MUTEX_INITIALIZER; argument 11 #define spin_lock_irqsave(x, f) (void)f, pthread_mutex_lock(x) argument 12 #define spin_unlock_irqrestore(x, f) (void)f, pthread_mutex_unlock(x) argument
|
| D | stringify.h | 10 #define __stringify_1(x...) #x argument 11 #define __stringify(x...) __stringify_1(x) argument
|
| /tools/testing/selftests/powerpc/copyloops/asm/ |
| D | ppc_asm.h | 29 #define EX_TABLE(x, y) argument 57 #define ALT_FTR_SECTION_END_IFCLR(x) argument 58 #define ALT_FTR_SECTION_END(x, y) argument 59 #define END_FTR_SECTION_IFCLR(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/include/asm/ |
| D | export.h | 4 #define EXPORT_SYMBOL(x) argument 5 #define EXPORT_SYMBOL_GPL(x) argument
|
| /tools/virtio/linux/ |
| D | kernel.h | 24 #define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK) argument 50 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument 107 #define uninitialized_var(x) x = x argument 110 # define likely(x) (__builtin_expect(!!(x), 1)) argument 113 # define unlikely(x) (__builtin_expect(!!(x), 0)) argument 127 #define min(x, y) ({ \ argument
|
| /tools/include/asm-generic/bitops/ |
| D | fls64.h | 19 static __always_inline int fls64(__u64 x) in fls64() 27 static __always_inline int fls64(__u64 x) in fls64()
|
| /tools/include/linux/unaligned/ |
| D | packed_struct.h | 7 struct __una_u16 { u16 x; } __packed; member 8 struct __una_u32 { u32 x; } __packed; member 9 struct __una_u64 { u64 x; } __packed; member
|
| /tools/lib/traceevent/ |
| D | plugin_cfg80211.c | 14 # define le16toh(x) (x) argument 16 # define le16toh(x) __bswap_16 (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
|