Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_sample.bpf.h60 #define bpf_ntohs(x) __builtin_bswap16(x) argument
61 #define bpf_htons(x) __builtin_bswap16(x) argument
64 #define bpf_ntohs(x) (x) argument
65 #define bpf_htons(x) (x) argument
117 #define READ_ONCE(x) \ argument
119 union { typeof(x) __val; char __c[1]; } __u = \
121 __read_once_size(&(x), __u.__c, sizeof(x)); \
125 #define WRITE_ONCE(x, val) \ argument
127 union { typeof(x) __val; char __c[1]; } __u = \
129 __write_once_size(&(x), __u.__c, sizeof(x)); \
[all …]
Dasm_goto_workaround.h14 #define asm_volatile_goto(x...) asm volatile("invalid use of asm_volatile_goto") argument
27 #define volatile(x...) volatile("") argument
Dcookie_uid_helper_example.c34 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
Dxdpsock_user.c584 static inline unsigned short from32to16(unsigned int x) in from32to16() argument
587 x = (x & 0xffff) + (x >> 16); in from32to16()
589 x = (x & 0xffff) + (x >> 16); in from32to16()
590 return x; in from32to16()
683 static inline u32 from64to32(u64 x) in from64to32() argument
686 x = (x & 0xffffffff) + (x >> 32); in from64to32()
688 x = (x & 0xffffffff) + (x >> 32); in from64to32()
689 return (u32)x; in from64to32()
Dxdp_sample_user.c56 #define __COLUMN(x) "%'10" x " %-13s" argument
411 struct map_entry *e, *x = NULL; in map_collect_percpu_devmap() local
418 x = e; in map_collect_percpu_devmap()
422 if (!x) { in map_collect_percpu_devmap()
423 x = calloc(1, sizeof(*x)); in map_collect_percpu_devmap()
424 if (!x) in map_collect_percpu_devmap()
426 if (map_entry_init(x, pair) < 0) { in map_collect_percpu_devmap()
427 free(x); in map_collect_percpu_devmap()
430 hash_add(rec->xmit_map, &x->node, pair); in map_collect_percpu_devmap()
432 map_collect_percpu(arr, &x->val); in map_collect_percpu_devmap()
[all …]
Dxsk_fwd.c30 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
Ddo_hbm_test.sh74 cc=x
/samples/auxdisplay/
Dcfag12864b-example.c28 #define CFAG12864B_ADDRESS(x, y) ((y) * CFAG12864B_WIDTH / \ argument
29 CFAG12864B_BPB + (x) / CFAG12864B_BPB)
34 #define CFAG12864B_CHECK(x, y) ((x) < CFAG12864B_WIDTH && \ argument
37 #define CFAG12864B_CHECK(x, y) (1) argument
79 static void cfag12864b_set(unsigned char x, unsigned char y) in cfag12864b_set() argument
81 if (CFAG12864B_CHECK(x, y)) in cfag12864b_set()
82 cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] |= in cfag12864b_set()
83 CFAG12864B_BIT(x % CFAG12864B_BPB); in cfag12864b_set()
89 static void cfag12864b_unset(unsigned char x, unsigned char y) in cfag12864b_unset() argument
91 if (CFAG12864B_CHECK(x, y)) in cfag12864b_unset()
[all …]
/samples/seccomp/
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
104 JEQ64(((union arg64){.u64 = (x)}).lo32, \
105 ((union arg64){.u64 = (x)}).hi32, \
[all …]
Duser-trap.c24 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
/samples/vfs/
Dtest-fsmount.c18 #define E(x) do { if ((x) == -1) { perror(#x); exit(1); } } while(0) argument
/samples/kobject/
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/pktgen/
DREADME.rst30 -x : ($DEBUG) debug