Home
last modified time | relevance | path

Searched defs:type (Results 1 – 25 of 231) sorted by relevance

12345678910

/tools/testing/selftests/bpf/
Dtest_btf.h22 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ argument
24 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ argument
34 #define BTF_VAR_ENC(name, type, linkage) \ argument
36 #define BTF_VAR_SECINFO_ENC(type, offset, size) \ argument
39 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument
45 #define BTF_TYPEDEF_ENC(name, type) \ argument
48 #define BTF_PTR_ENC(type) \ argument
51 #define BTF_CONST_ENC(type) \ argument
54 #define BTF_VOLATILE_ENC(type) \ argument
57 #define BTF_RESTRICT_ENC(type) \ argument
[all …]
Dtest_stub.c10 int bpf_prog_test_load(const char *file, enum bpf_prog_type type, in bpf_prog_test_load()
25 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program()
/tools/perf/trace/beauty/
Dkcmp.c19 int type = syscall_arg__val(arg, 2); in syscall_arg__scnprintf_kcmp_idx() local
29 static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix) in kcmp__scnprintf_type()
37 unsigned long type = arg->val; in syscall_arg__scnprintf_kcmp_type() local
/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c246 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
383 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
405 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
463 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
474 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
480 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
491 static void test_pass(int type, sa_family_t family) in test_pass()
504 static void test_syncookie(int type, sa_family_t family) in test_syncookie()
539 static void test_pass_on_err(int type, sa_family_t family) in test_pass_on_err()
550 static void test_detach_bpf(int type, sa_family_t family) in test_detach_bpf()
[all …]
Dsk_assign.c77 start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server()
101 connect_to_server(const struct sockaddr *addr, socklen_t len, int type) in connect_to_server()
146 rcv_msg(int srv_client, int type) in rcv_msg()
157 run_test(int server_fd, const struct sockaddr *addr, socklen_t len, int type) in run_test()
252 int type; member
Dcls_redirect.c36 static int start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server()
54 int type) in connect_to_server()
92 static bool set_up_conn(const struct sockaddr *addr, socklen_t len, int type, in set_up_conn()
168 enum type { enum
196 enum type type; member
206 const char *family_str, *type, *conn, *hops, *result, *flags; in test_str() local
Dresolve_btfids.c17 int type; member
68 const struct btf_type *type; in BTF_ID_LIST_GLOBAL() local
/tools/bpf/bpftool/
Dcgroup.c38 enum bpf_attach_type type; in parse_attach_type() local
91 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
106 enum bpf_attach_type type; in cgroup_has_attached_progs() local
123 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
166 enum bpf_attach_type type; in do_show() local
245 enum bpf_attach_type type; in do_show_tree_fn() local
/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c42 … consume_stack(unsigned long target_sp, unsigned long stack_high, int delta, enum access_type type) in consume_stack()
114 int child(unsigned int stack_used, int delta, enum access_type type) in child()
129 static int test_one(unsigned int stack_used, int delta, enum access_type type) in test_one()
157 static void test_one_type(enum access_type type, unsigned long page_size, unsigned long rlim_cur) in test_one_type()
/tools/firewire/
Dlist.h47 #define list_entry(link, type, member) \ argument
50 #define list_head(list, type, member) \ argument
53 #define list_tail(list, type, member) \ argument
/tools/testing/selftests/powerpc/
Dutils.c59 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry()
75 void *get_auxv_entry(int type) in get_auxv_entry()
214 unsigned int type, in perf_event_attr_init()
229 int perf_event_open_counter(unsigned int type, in perf_event_open_counter()
/tools/lib/symbol/
Dkallsyms.c8 u8 kallsyms2elf_type(char type) in kallsyms2elf_type()
33 char type, u64 start)) in kallsyms__parse()
Dkallsyms.h13 static inline u8 kallsyms2elf_binding(char type) in kallsyms2elf_binding()
/tools/include/uapi/linux/
Dbtf.h51 __u32 type; member
105 __u32 type; member
117 __u32 type; member
140 __u32 type; member
167 __u32 type; member
Dseg6.h27 __u8 type; member
50 __u8 type; member
/tools/lib/bpf/
Dbpf_helpers.h51 #define offsetof(type, member) ((unsigned long)&((type *)0)->member) argument
55 #define container_of(ptr, type, member) \ argument
114 unsigned int type; member
/tools/testing/radix-tree/linux/
Dpercpu.h2 #define DECLARE_PER_CPU(type, val) extern type val argument
3 #define DEFINE_PER_CPU(type, val) type val argument
/tools/lib/traceevent/
Devent-parse.c92 enum tep_func_arg_type type; member
838 static int event_item_type(enum tep_event_type type) in event_item_type()
999 enum tep_event_type type; in __read_token() local
1164 enum tep_event_type type; in force_token() local
1204 enum tep_event_type type; in read_token() local
1222 enum tep_event_type type; in read_token_item() local
1237 static int test_type(enum tep_event_type type, enum tep_event_type expect) in test_type()
1247 static int test_type_token(enum tep_event_type type, const char *token, in test_type_token()
1266 enum tep_event_type type; in __read_expect_type() local
1283 enum tep_event_type type; in __read_expected() local
[all …]
/tools/iio/
Diio_event_monitor.c127 enum iio_chan_type type = IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(event->id); in event_is_known() local
248 enum iio_chan_type type = IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(event->id); in print_event() local
/tools/include/linux/
Dobjtool.h17 u8 type; member
50 #define UNWIND_HINT(sp_reg, sp_offset, type, end) \ argument
/tools/perf/util/
Dsvghelper.c153 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_ubox()
172 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_lbox()
191 void svg_fbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_fbox()
210 void svg_box(int Yslot, u64 start, u64 end, const char *type) in svg_box()
237 const char *type; in svg_running() local
385 const char *type; in svg_process() local
416 void svg_cstate(int cpu, u64 start, u64 end, int type) in svg_cstate()
/tools/testing/selftests/net/
Dmsg_zerocopy.c322 static int do_setup_tx(int domain, int type, int protocol) in do_setup_tx()
481 static void do_tx(int domain, int type, int protocol) in do_tx()
570 static int do_setup_rx(int domain, int type, int protocol) in do_setup_rx()
622 static void do_flush_datagram(int fd, int type) in do_flush_datagram()
651 static void do_rx(int domain, int type, int protocol) in do_rx()
676 static void do_test(int domain, int type, int protocol) in do_test()
/tools/perf/pmu-events/
Djsmn.c47 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token()
182 jsmntype_t type; in jsmn_parse() local
/tools/testing/selftests/bpf/progs/
Ddev_cgroup.c15 short type = ctx->access_type & 0xFFFF; in bpf_prog1() local
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dpercpu.h15 #define alloc_percpu(type) __alloc_percpu(sizeof(type), 1) argument
85 #define DEFINE_PER_CPU(type, name) \ argument

12345678910