/samples/bpf/ |
D | xdp_sample.bpf.h | 60 #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 125 #define WRITE_ONCE(x, val) \ argument 136 #define NO_TEAR_ADD(x, val) WRITE_ONCE((x), READ_ONCE(x) + (val)) argument 137 #define NO_TEAR_INC(x) NO_TEAR_ADD((x), 1) argument 139 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
|
D | asm_goto_workaround.h | 14 #define asm_volatile_goto(x...) asm volatile("invalid use of asm_volatile_goto") argument 27 #define volatile(x...) volatile("") argument
|
D | cookie_uid_helper_example.c | 34 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
|
D | xdp_sample_user.c | 56 #define __COLUMN(x) "%'10" x " %-13s" argument 411 struct map_entry *e, *x = NULL; in map_collect_percpu_devmap() local 1014 struct map_entry *e, *x = NULL; in stats_get_devmap_xmit_multi() local
|
D | xdpsock_user.c | 584 static inline unsigned short from32to16(unsigned int x) in from32to16() 683 static inline u32 from64to32(u64 x) in from64to32()
|
D | xsk_fwd.c | 30 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
|
/samples/auxdisplay/ |
D | cfag12864b-example.c | 28 #define CFAG12864B_ADDRESS(x, y) ((y) * CFAG12864B_WIDTH / \ argument 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() 89 static void cfag12864b_unset(unsigned char x, unsigned char y) in cfag12864b_unset() 102 static unsigned char cfag12864b_isset(unsigned char x, unsigned char y) in cfag12864b_isset() 115 static void cfag12864b_not(unsigned char x, unsigned char y) in cfag12864b_not()
|
/samples/seccomp/ |
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 …]
|
D | user-trap.c | 24 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) argument
|
/samples/kobject/ |
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/vfs/ |
D | test-fsmount.c | 18 #define E(x) do { if ((x) == -1) { perror(#x); exit(1); } } while(0) argument
|