Home
last modified time | relevance | path

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

12345678910>>...12

/tools/testing/selftests/bpf/
Dtest_btf.h24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ argument
26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ argument
36 #define BTF_VAR_ENC(name, type, linkage) \ argument
38 #define BTF_VAR_SECINFO_ENC(type, offset, size) \ argument
41 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument
48 #define BTF_TYPEDEF_ENC(name, type) \ argument
51 #define BTF_PTR_ENC(type) \ argument
54 #define BTF_CONST_ENC(type) \ argument
57 #define BTF_VOLATILE_ENC(type) \ argument
60 #define BTF_RESTRICT_ENC(type) \ argument
[all …]
Dnetwork_helpers.c80 static int __start_server(int type, int protocol, const struct sockaddr *addr, in __start_server()
120 static int start_server_proto(int family, int type, int protocol, in start_server_proto()
133 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server()
146 int *start_reuseport_server(int family, int type, const char *addr_str, in start_reuseport_server()
267 int fd, type, protocol; in connect_to_fd_opts() local
/tools/bpf/bpftool/
Dcgroup.c46 enum bpf_attach_type type; in parse_attach_type() local
169 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
184 enum bpf_attach_type type; in cgroup_has_attached_progs() local
202 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs()
227 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
277 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs()
287 enum bpf_attach_type type; in do_show() local
369 enum bpf_attach_type type; in do_show_tree_fn() local
/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.c237 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
374 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
396 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
454 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
465 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
471 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
482 static void test_pass(int type, sa_family_t family) in test_pass()
495 static void test_syncookie(int type, sa_family_t family) in test_syncookie()
530 static void test_pass_on_err(int type, sa_family_t family) in test_pass_on_err()
541 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.c37 static int start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server()
55 int type) in connect_to_server()
93 static bool set_up_conn(const struct sockaddr *addr, socklen_t len, int type, in set_up_conn()
169 enum type { enum
197 enum type type; member
207 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() local
/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c101 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type, in get_sve()
139 static int set_sve(pid_t pid, const struct vec_type *type, in set_sve()
150 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit()
204 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl()
261 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
317 const struct vec_type *type, in ptrace_set_sve_get_sve_data()
415 const struct vec_type *type, in ptrace_set_sve_get_fpsimd_data()
498 const struct vec_type *type, in ptrace_set_fpsimd_get_sve_data()
/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/perf/arch/powerpc/util/
Devent.c14 const __u64 *array, u64 type) in arch_perf_parse_sample_weight()
29 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight()
/tools/include/asm-generic/
Dunaligned.h9 #define __get_unaligned_t(type, ptr) ({ \ argument
14 #define __put_unaligned_t(type, val, ptr) do { \ 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/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/perf/arch/x86/util/
Devent.c80 const __u64 *array, u64 type) in arch_perf_parse_sample_weight()
94 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight()
/tools/perf/util/
Dbpf_kwork.c28 u32 type; member
140 static bool valid_kwork_class_type(enum kwork_class_type type) in valid_kwork_class_type()
207 enum kwork_class_type type; in perf_kwork__trace_prepare_bpf() local
268 enum kwork_class_type type = key->type; in add_work() local
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/lib/symbol/
Dkallsyms.c8 u8 kallsyms2elf_type(char type) in kallsyms2elf_type()
33 char type, u64 start)) in kallsyms__parse()
/tools/include/uapi/linux/
Dbtf.h51 __u32 type; member
112 __u32 type; member
124 __u32 type; member
147 __u32 type; member
174 __u32 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/bpf/
Dnlattr.h47 uint16_t type; member
129 static inline int nlattr_add(struct libbpf_nla_req *req, int type, in nlattr_add()
148 static inline struct nlattr *nlattr_begin_nested(struct libbpf_nla_req *req, int type) in nlattr_begin_nested()
/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()
Dtap.c33 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add()
44 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin()
56 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str()
65 static struct rtattr *rtattr_add_strsz(struct nlmsghdr *nh, unsigned short type, in rtattr_add_strsz()
74 static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type, in rtattr_add_any()
/tools/include/linux/
Dkernel.h35 #define container_of(ptr, type, member) ({ \ argument
56 #define max_t(type, x, y) max((type)x, (type)y) argument
57 #define min_t(type, x, y) min((type)x, (type)y) argument

12345678910>>...12