Home
last modified time | relevance | path

Searched refs:x (Results 1 – 16 of 16) sorted by relevance

/samples/bpf/
A Dnet_shared.h24 #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 Dxdp_sample.bpf.h97 #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 Dasm_goto_workaround.h14 #define asm_goto_output(x...) asm volatile("invalid use of asm_goto_output") argument
27 #define volatile(x...) volatile("") argument
A Dtracex5.bpf.c15 #define __stringify(x) #x argument
A Dcookie_uid_helper_example.c34 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
A Dxdp_sample_user.c55 #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 Ddo_hbm_test.sh74 cc=x
/samples/auxdisplay/
A Dcfag12864b-example.c34 #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 Dbpf-helper.h76 #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 Duser-trap.c24 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
/samples/hid/
A Dhid_mouse.bpf.c55 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 Da.rs5 pub(crate) fn f(x: i32) { in f()
6 println!("The number is {}.", x); in f()
/samples/vfs/
A Dtest-fsmount.c18 #define E(x) do { if ((x) == -1) { perror(#x); exit(1); } } while(0) argument
/samples/kobject/
A Dkset-example.c35 #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 Dtsm_mr_sample.c4 #define pr_fmt(x) KBUILD_MODNAME ": " x argument
/samples/pktgen/
A DREADME.rst30 -x : ($DEBUG) debug

Completed in 25 milliseconds