Home
last modified time | relevance | path

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

12345678910>>...15

/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 …]
Dnetlink_helpers.c282 int addattr(struct nlmsghdr *n, int maxlen, int type) in addattr()
287 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data) in addattr8()
292 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data) in addattr16()
297 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32()
302 int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data) in addattr64()
307 int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *str) in addattrstrz()
312 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, in addattr_l()
346 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type) in addattr_nest()
/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c227 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
364 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
386 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
444 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
455 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
461 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
472 static void test_pass(int type, sa_family_t family) in test_pass()
485 static void test_syncookie(int type, sa_family_t family) in test_syncookie()
520 static void test_pass_on_err(int type, sa_family_t family) in test_pass_on_err()
531 static void test_detach_bpf(int type, sa_family_t family) in test_detach_bpf()
[all …]
Dresolve_btfids.c17 int type; member
68 const struct btf_type *type; in BTF_ID() 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/hid/progs/
Dhid.c18 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
38 int __hid_subprog_first_event(struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in __hid_subprog_first_event()
51 int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
63 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
81 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
104 enum hid_report_type type; member
244 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
267 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
289 int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
500 int BPF_PROG(hid_test_multiply_events_wq, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
[all …]
/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c111 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type, in get_sve()
149 static int set_sve(pid_t pid, const struct vec_type *type, in set_sve()
160 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit()
214 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl()
272 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
328 const struct vec_type *type, in ptrace_set_sve_get_sve_data()
426 const struct vec_type *type, in ptrace_set_sve_get_fpsimd_data()
509 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/include/vdso/
Dunaligned.h5 #define __get_unaligned_t(type, ptr) ({ \ argument
10 #define __put_unaligned_t(type, val, ptr) do { \ argument
/tools/include/linux/
Dbitfield.h44 #define __scalar_type_to_unsigned_cases(type) \ argument
58 #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) argument
144 #define ____MAKE_OP(type,base,to,from) \ argument
Dkernel.h36 #define container_of(ptr, type, member) ({ \ argument
57 #define max_t(type, x, y) max((type)x, (type)y) argument
58 #define min_t(type, x, y) min((type)x, (type)y) argument
/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.c15 const __u64 *array, u64 type) in arch_perf_parse_sample_weight()
30 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight()
/tools/testing/selftests/net/tcp_ao/lib/
Dproc.c22 const char *type, size_t len) in lookup_type()
35 const char *type, const size_t len) in lookup_get()
70 struct netstat *type = lookup_get_column(*dest, line); in netstat_read_type() local
121 struct netstat *type = lookup_get(*dest, snmp6_name, strlen(snmp6_name)); in snmp6_read() local
/tools/perf/util/
Dbpf_kwork.c31 u32 type; member
143 static bool valid_kwork_class_type(enum kwork_class_type type) in valid_kwork_class_type()
208 enum kwork_class_type type; in perf_kwork__trace_prepare_bpf() local
274 enum kwork_class_type type = key->type; in add_work() local
Dbpf_kwork_top.c45 __u32 type; member
118 static bool valid_kwork_class_type(enum kwork_class_type type) in valid_kwork_class_type()
164 enum kwork_class_type type; in perf_kwork__top_prepare_bpf() local
248 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/bpf/bpftool/
Dcgroup.c80 enum bpf_attach_type type; in parse_attach_type() local
203 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
236 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs()
261 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
311 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs()
/tools/perf/arch/x86/tests/
Damd-ibs-via-core-pmu.c13 int type; member
24 static int event_open(int type, unsigned long config) in event_open()
/tools/testing/selftests/bpf/map_tests/
Dmap_percpu_stats.c33 static const char *map_type_to_s(__u32 type) in map_type_to_s()
51 static __u32 map_count_elements(__u32 type, int map_fd) in map_count_elements()
89 static void delete_all_elements(__u32 type, int map_fd, bool batch) in delete_all_elements()
337 static int map_create_opts(__u32 type, const char *name, in map_create_opts()
356 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create()
385 static int create_lru_hash(__u32 type, __u32 map_flags) in create_lru_hash()
/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/shared/linux/
Dpercpu.h2 #define DECLARE_PER_CPU(type, val) extern type val argument
3 #define DEFINE_PER_CPU(type, val) type val argument
/tools/testing/selftests/net/
Dmsg_zerocopy.c325 static int do_setup_tx(int domain, int type, int protocol) in do_setup_tx()
485 static void do_tx(int domain, int type, int protocol) in do_tx()
577 static int do_setup_rx(int domain, int type, int protocol) in do_setup_rx()
629 static void do_flush_datagram(int fd, int type) in do_flush_datagram()
658 static void do_rx(int domain, int type, int protocol) in do_rx()
683 static void do_test(int domain, int type, int protocol) in do_test()
/tools/lib/bpf/
Dnlattr.h48 uint16_t type; member
141 static inline int nlattr_add(struct libbpf_nla_req *req, int type, in nlattr_add()
160 static inline struct nlattr *nlattr_begin_nested(struct libbpf_nla_req *req, int type) in nlattr_begin_nested()

12345678910>>...15