/tools/testing/selftests/bpf/ |
A D | test_btf.h | 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 66 #define BTF_FUNC_PROTO_ARG_ENC(name, type) \ argument 81 #define BTF_TYPE_ATTR_ENC(value, type) \ argument [all …]
|
A D | netlink_helpers.c | 282 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/ |
A D | select_reuseport.c | 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() 584 static void prepare_sk_fds(int type, sa_family_t family, bool inany) in prepare_sk_fds() 658 static void setup_per_test(int type, sa_family_t family, bool inany, in setup_per_test() [all …]
|
A D | sockmap_redir.c | 131 enum prog_type type = redir->prog_type; in get_redir_params() local 278 static int is_redir_supported(enum prog_type type, const char *in, in is_redir_supported() 316 static int get_support_status(enum prog_type type, const char *in, in get_support_status() 327 static void test_socket(enum bpf_map_type type, struct redir_spec *redir, in test_socket() 363 static void test_redir(enum bpf_map_type type, struct redir_spec *redir, in test_redir() 409 static void test_map(enum bpf_map_type type) in test_map()
|
/tools/perf/trace/beauty/ |
A D | kcmp.c | 19 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/ |
A D | hid.c | 18 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/kvm/x86/ |
A D | sev_smoke_test.c | 77 static void test_sync_vmsa(uint32_t type, uint64_t policy) in test_sync_vmsa() 123 static void test_sev(void *guest_code, uint32_t type, uint64_t policy) in test_sev() 174 static void test_sev_shutdown(uint32_t type, uint64_t policy) in test_sev_shutdown() 191 static void test_sev_smoke(void *guest, uint32_t type, uint64_t policy) in test_sev_smoke()
|
/tools/testing/selftests/arm64/fp/ |
A D | sve-ptrace.c | 113 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type, in get_sve() 151 static int set_sve(pid_t pid, const struct vec_type *type, in set_sve() 162 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit() 216 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl() 274 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd() 332 const struct vec_type *type, in ptrace_set_sve_get_sve_data() 430 const struct vec_type *type, in ptrace_set_sve_get_fpsimd_data() 513 const struct vec_type *type, in ptrace_set_fpsimd_get_sve_data()
|
/tools/testing/selftests/powerpc/mm/ |
A D | stack_expansion_ldst.c | 42 … 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/ |
A D | unaligned.h | 5 #define __get_unaligned_t(type, ptr) ({ \ argument 10 #define __put_unaligned_t(type, val, ptr) do { \ argument
|
/tools/sched_ext/include/scx/ |
A D | enums.h | 12 static inline void __ENUM_set(u64 *val, char *type, char *name) in __ENUM_set() 21 #define SCX_ENUM_SET(skel, type, name) do { \ argument
|
/tools/firewire/ |
A D | list.h | 47 #define list_entry(link, type, member) \ argument 50 #define list_head(list, type, member) \ argument 53 #define list_tail(list, type, member) \ argument
|
/tools/include/linux/ |
A D | bitfield.h | 44 #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
|
A D | bits.h | 15 #define BITS_PER_TYPE(type) (sizeof(type) * BITS_PER_BYTE) argument 66 #define BIT_INPUT_CHECK(type, nr) \ argument 69 #define BIT_TYPE(type, nr) ((type)(BIT_INPUT_CHECK(type, nr) + BIT_ULL(nr))) argument
|
/tools/testing/selftests/net/tcp_ao/lib/ |
A D | proc.c | 22 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/ |
A D | bpf_kwork.c | 31 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
|
A D | bpf_kwork_top.c | 45 __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
|
A D | svghelper.c | 154 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_ubox() 173 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_lbox() 192 void svg_fbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_fbox() 211 void svg_box(int Yslot, u64 start, u64 end, const char *type) in svg_box() 238 const char *type; in svg_running() local 386 const char *type; in svg_process() local 417 void svg_cstate(int cpu, u64 start, u64 end, int type) in svg_cstate()
|
/tools/bpf/bpftool/ |
A D | cgroup.c | 80 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/ |
A D | amd-ibs-via-core-pmu.c | 13 int type; member 24 static int event_open(int type, unsigned long config) in event_open()
|
/tools/testing/selftests/bpf/map_tests/ |
A D | map_percpu_stats.c | 33 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/ |
A D | kallsyms.c | 8 u8 kallsyms2elf_type(char type) in kallsyms2elf_type() 33 char type, u64 start)) in kallsyms__parse()
|
/tools/include/uapi/linux/ |
A D | btf.h | 52 __u32 type; member 113 __u32 type; member 125 __u32 type; member 148 __u32 type; member 175 __u32 type; member
|
/tools/testing/shared/linux/ |
A D | percpu.h | 2 #define DECLARE_PER_CPU(type, val) extern type val argument 3 #define DEFINE_PER_CPU(type, val) type val argument
|
/tools/testing/selftests/bpf/progs/ |
A D | mptcp_bpf.h | 14 #define list_entry(ptr, type, member) \ argument 17 #define list_first_entry(ptr, type, member) \ argument
|