Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_pkt_md_access.c13 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
15 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \
21 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
23 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \
24 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \
Dtest_select_reuseport_kern.c21 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/tools/testing/selftests/bpf/
Dtest_tunnel.sh69 ip link add dev $DEV_NS type $TYPE seq key 2 \
75 ip link add dev $DEV type $TYPE key 2 external
91 ip link add dev $DEV_NS type $TYPE seq flowlabel 0xbcdef key 2 \
99 ip link add dev $DEV type $TYPE external
110 ip link add dev $DEV_NS type $TYPE seq key 2 \
115 ip link add dev $DEV_NS type $TYPE seq key 2 \
123 ip link add dev $DEV type $TYPE external
140 ip link add dev $DEV_NS type $TYPE seq key 2 \
145 ip link add dev $DEV_NS type $TYPE seq key 2 \
153 ip link add dev $DEV type $TYPE external
[all …]
Dbpf_util.h35 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
39 #define offsetofend(TYPE, MEMBER) \ argument
40 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
Dtest_lirc_mode2.sh30 TYPE=lirc_mode2
34 echo -e ${RED}"FAIL: $TYPE"${NC}
36 echo -e ${GREEN}"PASS: $TYPE"${NC}
/tools/usb/
Dhcd-tests.sh92 for TYPE in $ARGS
103 case $TYPE in
269 echo "Don't understand test type $TYPE"
/tools/include/linux/
Dfilter.h70 #define BPF_ENDIAN(TYPE, DST, LEN) \ argument
72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
116 #define BPF_MOV64_RAW(TYPE, DST, SRC, IMM) \ argument
118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
124 #define BPF_MOV32_RAW(TYPE, DST, SRC, IMM) \ argument
126 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
Dkernel.h22 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/tools/lib/bpf/
Dlibbpf_internal.h33 # define offsetofend(TYPE, FIELD) \ argument
34 (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
Dlibbpf.c4433 #define BPF_PROG_TYPE_FNS(NAME, TYPE) \ argument
4438 bpf_program__set_type(prog, TYPE); \
4444 return bpf_program__is_type(prog, TYPE); \
/tools/usb/usbip/libsrc/
Dlist.h124 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/tools/perf/trace/beauty/
Dstatx.c56 P_FLAG(TYPE); in syscall_arg__scnprintf_statx_mask()
/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst25 | **bpftool** **map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* \
47 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash**
64 …**bpftool map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* **entries…
Dbpftool-prog.rst28 | **bpftool** **prog { load | loadall }** *OBJ* *PATH* [**type** *TYPE*] [**map** {**idx** *IDX* | …
37 | *TYPE* := {
107 …**bpftool prog { load | loadall }** *OBJ* *PATH* [**type** *TYPE*] [**map** {**idx** *IDX* | **nam…
/tools/usb/usbip/
DINSTALL149 `--build=TYPE' option. TYPE can either be a short name for the system
163 use the option `--target=TYPE' to select the type of system they will
169 eventually be run) with `--host=TYPE'.
/tools/perf/Documentation/
Dperf-probe.txt197 [NAME=]LOCALVAR|$retval|%REG|@SYMBOL[:TYPE][@user]
201 'TYPE' casts the type of this argument (optional). If omitted, perf probe automatically set the typ…
/tools/perf/util/
Dparse-events.c153 #define PERF_EVENT_TYPE(config) __PERF_EVENT_FIELD(config, TYPE)