/tools/lib/bpf/ |
D | bpf_tracing.h | 63 #define PT_REGS_PARM1(x) ((x)->di) argument 64 #define PT_REGS_PARM2(x) ((x)->si) argument 65 #define PT_REGS_PARM3(x) ((x)->dx) argument 66 #define PT_REGS_PARM4(x) ((x)->cx) argument 67 #define PT_REGS_PARM5(x) ((x)->r8) argument 68 #define PT_REGS_RET(x) ((x)->sp) argument 69 #define PT_REGS_FP(x) ((x)->bp) argument 70 #define PT_REGS_RC(x) ((x)->ax) argument 71 #define PT_REGS_SP(x) ((x)->sp) argument 72 #define PT_REGS_IP(x) ((x)->ip) argument [all …]
|
D | bpf_endian.h | 13 #define ___bpf_mvb(x, b, n, m) ((__u##b)(x) << (b-(n+1)*8) >> (b-8) << (m*8)) argument 15 #define ___bpf_swab16(x) ((__u16)( \ argument 19 #define ___bpf_swab32(x) ((__u32)( \ argument 25 #define ___bpf_swab64(x) ((__u64)( \ argument 51 # define __bpf_ntohs(x) __builtin_bswap16(x) argument 52 # define __bpf_htons(x) __builtin_bswap16(x) argument 53 # define __bpf_constant_ntohs(x) ___bpf_swab16(x) argument 54 # define __bpf_constant_htons(x) ___bpf_swab16(x) argument 55 # define __bpf_ntohl(x) __builtin_bswap32(x) argument 56 # define __bpf_htonl(x) __builtin_bswap32(x) argument [all …]
|
D | bpf_helpers.h | 180 #define ___bpf_fill0(arr, p, x) do {} while (0) argument 181 #define ___bpf_fill1(arr, p, x) arr[p] = x argument 182 #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) argument 183 #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) argument 184 #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) argument 185 #define ___bpf_fill5(arr, p, x, args...) arr[p] = x; ___bpf_fill4(arr, p + 1, args) argument 186 #define ___bpf_fill6(arr, p, x, args...) arr[p] = x; ___bpf_fill5(arr, p + 1, args) argument 187 #define ___bpf_fill7(arr, p, x, args...) arr[p] = x; ___bpf_fill6(arr, p + 1, args) argument 188 #define ___bpf_fill8(arr, p, x, args...) arr[p] = x; ___bpf_fill7(arr, p + 1, args) argument 189 #define ___bpf_fill9(arr, p, x, args...) arr[p] = x; ___bpf_fill8(arr, p + 1, args) argument [all …]
|
/tools/include/linux/ |
D | compiler_types.h | 13 #define __has_builtin(x) (0) argument 18 # define __must_hold(x) __attribute__((context(x,1,1))) argument 19 # define __acquires(x) __attribute__((context(x,0,1))) argument 20 # define __releases(x) __attribute__((context(x,1,0))) argument 21 # define __acquire(x) __context__(x,1) argument 22 # define __release(x) __context__(x,-1) argument 23 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument 26 # define __must_hold(x) argument 27 # define __acquires(x) argument 28 # define __releases(x) argument [all …]
|
D | spinlock.h | 9 #define DEFINE_SPINLOCK(x) pthread_mutex_t x = PTHREAD_MUTEX_INITIALIZER argument 10 #define __SPIN_LOCK_UNLOCKED(x) (pthread_mutex_t)PTHREAD_MUTEX_INITIALIZER argument 11 #define spin_lock_init(x) pthread_mutex_init(x, NULL) argument 13 #define spin_lock(x) pthread_mutex_lock(x) argument 14 #define spin_unlock(x) pthread_mutex_unlock(x) argument 15 #define spin_lock_bh(x) pthread_mutex_lock(x) argument 16 #define spin_unlock_bh(x) pthread_mutex_unlock(x) argument 17 #define spin_lock_irq(x) pthread_mutex_lock(x) argument 18 #define spin_unlock_irq(x) pthread_mutex_unlock(x) argument 19 #define spin_lock_irqsave(x, f) (void)f, pthread_mutex_lock(x) argument [all …]
|
D | kernel.h | 21 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument 22 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument 42 #define max(x, y) ({ \ argument 50 #define min(x, y) ({ \ argument 57 #define max_t(type, x, y) max((type)x, (type)y) argument 58 #define min_t(type, x, y) min((type)x, (type)y) argument 62 #define roundup(x, y) ( \ argument 121 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument 122 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument 123 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
|
D | kconfig.h | 14 #define __and(x, y) ___and(x, y) argument 15 #define ___and(x, y) ____and(__ARG_PLACEHOLDER_##x, y) argument 18 #define __or(x, y) ___or(x, y) argument 19 #define ___or(x, y) ____or(__ARG_PLACEHOLDER_##x, y) argument 35 #define __is_defined(x) ___is_defined(x) argument
|
/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/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
|
/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/perf/scripts/python/ |
D | export-to-sqlite.py | 328 def emit_to_hex(x): argument 670 def sched__sched_switch(*x): 673 def bind_exec(q, n, x): argument 678 def evsel_table(*x): 681 def machine_table(*x): 684 def thread_table(*x): 687 def comm_table(*x): 690 def comm_thread_table(*x): 693 def dso_table(*x): 696 def symbol_table(*x): [all …]
|
/tools/include/uapi/linux/ |
D | const.h | 25 #define _UL(x) (_AC(x, UL)) argument 26 #define _ULL(x) (_AC(x, ULL)) argument 28 #define _BITUL(x) (_UL(1) << (x)) argument 29 #define _BITULL(x) (_ULL(1) << (x)) argument 31 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) argument 32 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument
|
/tools/testing/selftests/arm64/mte/ |
D | mte_def.h | 47 #define MT_CLEAR_TAG(x) ((x) & ~(MT_TAG_MASK << MT_TAG_SHIFT)) argument 48 #define MT_SET_TAG(x, y) ((x) | (y << MT_TAG_SHIFT)) argument 49 #define MT_FETCH_TAG(x) ((x >> MT_TAG_SHIFT) & (MT_TAG_MASK)) argument 50 #define MT_ALIGN_UP(x) ((x + MT_ALIGN_GRANULE) & ~(MT_ALIGN_GRANULE)) argument 57 #define MT_EXCLUDE_TAG(x) (1 << (x)) argument 58 #define MT_INCLUDE_VALID_TAG(x) (MT_INCLUDE_TAG_MASK ^ MT_EXCLUDE_TAG(x)) argument 59 #define MT_INCLUDE_VALID_TAGS(x) (MT_INCLUDE_TAG_MASK ^ (x)) argument
|
/tools/testing/scatterlist/linux/ |
D | mm.h | 15 #define BUG_ON(x) assert(!(x)) argument 33 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) argument 34 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument 35 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument 36 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument 42 #define virt_to_page(x) ((void *)x) argument 43 #define page_address(x) ((void *)x) argument 56 #define __min(t1, t2, min1, min2, x, y) ({ \ argument 67 #define min(x, y) \ argument 72 #define min_t(type, x, y) \ argument [all …]
|
/tools/testing/selftests/rseq/ |
D | rseq.h | 63 #define rseq_likely(x) __builtin_expect(!!(x), 1) argument 64 #define rseq_unlikely(x) __builtin_expect(!!(x), 0) argument 67 #define RSEQ_ACCESS_ONCE(x) (*(__volatile__ __typeof__(x) *)&(x)) argument 68 #define RSEQ_WRITE_ONCE(x, v) __extension__ ({ RSEQ_ACCESS_ONCE(x) = (v); }) argument 69 #define RSEQ_READ_ONCE(x) RSEQ_ACCESS_ONCE(x) argument 71 #define __rseq_str_1(x) #x argument 72 #define __rseq_str(x) __rseq_str_1(x) argument
|
/tools/testing/radix-tree/linux/ |
D | kernel.h | 21 #define __acquires(x) argument 22 #define __releases(x) argument 23 #define __must_hold(x) argument 25 #define EXPORT_PER_CPU_SYMBOL_GPL(x) argument
|
/tools/testing/radix-tree/ |
D | xarray.c | 10 #define module_init(x) argument 11 #define module_exit(x) argument 12 #define MODULE_AUTHOR(x) argument 13 #define MODULE_LICENSE(x) argument
|
/tools/perf/util/ |
D | util.h | 36 #define KVER_VERSION(x) (((x) >> 16) & 0xff) argument 37 #define KVER_PATCHLEVEL(x) (((x) >> 8) & 0xff) argument 38 #define KVER_SUBLEVEL(x) ((x) & 0xff) argument 40 #define KVER_PARAM(x) KVER_VERSION(x), KVER_PATCHLEVEL(x), KVER_SUBLEVEL(x) argument
|
/tools/testing/selftests/powerpc/copyloops/asm/ |
D | ppc_asm.h | 32 #define EX_TABLE(x, y) \ argument 39 #define ALT_FTR_SECTION_END_IFCLR(x) .endif argument 40 #define ALT_FTR_SECTION_END_IFSET(x) .endif argument 41 #define ALT_FTR_SECTION_END(x, y) .endif argument 42 #define END_FTR_SECTION_IFCLR(x) .endif argument 43 #define END_FTR_SECTION_IFSET(x) .endif argument
|
D | export.h | 2 #define EXPORT_SYMBOL(x) argument 3 #define EXPORT_SYMBOL_GPL(x) argument 4 #define EXPORT_SYMBOL_KASAN(x) argument
|
/tools/testing/selftests/bpf/progs/ |
D | btf__core_reloc_nesting___dup_compat_types.c | 3 void f1(struct core_reloc_nesting___dup_compat_types x) {} in f1() 4 void f2(struct core_reloc_nesting___dup_compat_types__2 x) {} in f2() 5 void f3(struct core_reloc_nesting___dup_compat_types__3 x) {} in f3()
|
D | btf__core_reloc_misc.c | 3 void f1(struct core_reloc_misc___a x) {} in f1() 4 void f2(struct core_reloc_misc___b x) {} in f2() 5 void f3(struct core_reloc_misc_extensible x) {} in f3()
|
D | linked_funcs1.c | 17 static __noinline int subprog(int x) in subprog() 24 int set_output_val1(int x) in set_output_val1() 45 __weak int set_output_weak(int x) in set_output_weak()
|
D | linked_funcs2.c | 17 static __noinline int subprog(int x) in subprog() 24 int set_output_val2(int x) in set_output_val2() 45 __weak int set_output_weak(int x) in set_output_weak()
|