| /samples/bpf/ |
| A D | net_shared.h | 24 #define bpf_ntohs(x) __builtin_bswap16(x) argument 25 #define bpf_htons(x) __builtin_bswap16(x) argument 28 #define bpf_ntohs(x) (x) argument 29 #define bpf_htons(x) (x) argument
|
| A D | xdp_sample.bpf.h | 97 #define READ_ONCE(x) \ argument 99 union { typeof(x) __val; char __c[1]; } __u = \ 101 __read_once_size(&(x), __u.__c, sizeof(x)); \ 105 #define WRITE_ONCE(x, val) \ argument 107 union { typeof(x) __val; char __c[1]; } __u = \ 109 __write_once_size(&(x), __u.__c, sizeof(x)); \ 116 #define NO_TEAR_ADD(x, val) WRITE_ONCE((x), READ_ONCE(x) + (val)) argument 117 #define NO_TEAR_INC(x) NO_TEAR_ADD((x), 1) argument 119 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
|
| A D | asm_goto_workaround.h | 14 #define asm_goto_output(x...) asm volatile("invalid use of asm_goto_output") argument 27 #define volatile(x...) volatile("") argument
|
| A D | tracex5.bpf.c | 15 #define __stringify(x) #x argument
|
| A D | cookie_uid_helper_example.c | 34 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
|
| A D | xdp_sample_user.c | 55 #define __COLUMN(x) "%'10" x " %-13s" argument 410 struct map_entry *e, *x = NULL; in map_collect_percpu_devmap() local 417 x = e; in map_collect_percpu_devmap() 421 if (!x) { in map_collect_percpu_devmap() 422 x = calloc(1, sizeof(*x)); in map_collect_percpu_devmap() 423 if (!x) in map_collect_percpu_devmap() 426 free(x); in map_collect_percpu_devmap() 1013 struct map_entry *e, *x = NULL; in stats_get_devmap_xmit_multi() local 1036 x = e; in stats_get_devmap_xmit_multi() 1040 if (x) in stats_get_devmap_xmit_multi() [all …]
|
| A D | do_hbm_test.sh | 74 cc=x
|
| /samples/auxdisplay/ |
| A D | cfag12864b-example.c | 34 #define CFAG12864B_CHECK(x, y) ((x) < CFAG12864B_WIDTH && \ argument 37 #define CFAG12864B_CHECK(x, y) (1) argument 81 if (CFAG12864B_CHECK(x, y)) in cfag12864b_set() 83 CFAG12864B_BIT(x % CFAG12864B_BPB); in cfag12864b_set() 91 if (CFAG12864B_CHECK(x, y)) in cfag12864b_unset() 93 ~CFAG12864B_BIT(x % CFAG12864B_BPB); in cfag12864b_unset() 104 if (CFAG12864B_CHECK(x, y)) in cfag12864b_isset() 106 CFAG12864B_BIT(x % CFAG12864B_BPB)) in cfag12864b_isset() 117 if (cfag12864b_isset(x, y)) in cfag12864b_not() 118 cfag12864b_unset(x, y); in cfag12864b_not() [all …]
|
| /samples/seccomp/ |
| A D | bpf-helper.h | 76 #define JEQ(x, jt) JEQ32(x, EXPAND(jt)) argument 77 #define JNE(x, jt) JNE32(x, EXPAND(jt)) argument 78 #define JGT(x, jt) JGT32(x, EXPAND(jt)) argument 79 #define JLT(x, jt) JLT32(x, EXPAND(jt)) argument 80 #define JGE(x, jt) JGE32(x, EXPAND(jt)) argument 81 #define JLE(x, jt) JLE32(x, EXPAND(jt)) argument 82 #define JA(x, jt) JA32(x, EXPAND(jt)) argument 103 #define JEQ(x, jt) \ argument 107 #define JGT(x, jt) \ argument 111 #define JGE(x, jt) \ argument [all …]
|
| A D | user-trap.c | 24 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
|
| /samples/hid/ |
| A D | hid_mouse.bpf.c | 55 s16 x; in hid_x_event() local 61 x = data[1] | (data[2] << 8); in hid_x_event() 63 x = -x; in hid_x_event() 65 data[1] = x & 0xFF; in hid_x_event() 66 data[2] = (x >> 8) & 0xFF; in hid_x_event()
|
| /samples/rust/hostprogs/ |
| A D | a.rs | 5 pub(crate) fn f(x: i32) { in f() 6 println!("The number is {}.", x); in f()
|
| /samples/vfs/ |
| A D | test-fsmount.c | 18 #define E(x) do { if ((x) == -1) { perror(#x); exit(1); } } while(0) argument
|
| /samples/kobject/ |
| A D | kset-example.c | 35 #define to_foo_obj(x) container_of(x, struct foo_obj, kobj) argument 43 #define to_foo_attr(x) container_of(x, struct foo_attribute, attr) argument
|
| /samples/tsm-mr/ |
| A D | tsm_mr_sample.c | 4 #define pr_fmt(x) KBUILD_MODNAME ": " x argument
|
| /samples/pktgen/ |
| A D | README.rst | 30 -x : ($DEBUG) debug
|