Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/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/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.c38 static int start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server()
56 int type) in connect_to_server()
94 static bool set_up_conn(const struct sockaddr *addr, socklen_t len, int type, in set_up_conn()
170 enum type { enum
198 enum type type; member
208 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.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()
271 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd()
327 const struct vec_type *type, in ptrace_set_sve_get_sve_data()
425 const struct vec_type *type, in ptrace_set_sve_get_fpsimd_data()
508 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/net/ynl/generated/
Ddevlink-user.c167 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_info_version_parse() local
209 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_stats_entry_parse() local
251 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_act_stats_parse() local
300 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_act_info_parse() local
354 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_stats_parse() local
395 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_dev_stats_parse() local
449 unsigned int type = mnl_attr_get_type(attr); in devlink_get_rsp_parse() local
597 unsigned int type = mnl_attr_get_type(attr); in devlink_port_get_rsp_parse() local
677 unsigned int type = mnl_attr_get_type(attr); in devlink_port_get_rsp_dump_parse() local
784 unsigned int type = mnl_attr_get_type(attr); in devlink_sb_get_rsp_parse() local
[all …]
Dethtool-user.c699 unsigned int type = mnl_attr_get_type(attr); in ethtool_header_parse() local
754 unsigned int type = mnl_attr_get_type(attr); in ethtool_pause_stat_parse() local
807 unsigned int type = mnl_attr_get_type(attr); in ethtool_fec_stat_parse() local
856 unsigned int type = mnl_attr_get_type(attr); in ethtool_mm_stat_parse() local
905 unsigned int type = mnl_attr_get_type(attr); in ethtool_cable_result_parse() local
934 unsigned int type = mnl_attr_get_type(attr); in ethtool_cable_fault_length_parse() local
981 unsigned int type = mnl_attr_get_type(attr); in ethtool_bitset_bit_parse() local
1020 unsigned int type = mnl_attr_get_type(attr); in ethtool_tunnel_udp_entry_parse() local
1065 unsigned int type = mnl_attr_get_type(attr); in ethtool_string_parse() local
1105 unsigned int type = mnl_attr_get_type(attr); in ethtool_cable_nest_parse() local
[all …]
/tools/include/asm-generic/
Dunaligned.h9 #define __get_unaligned_t(type, ptr) ({ \ argument
14 #define __put_unaligned_t(type, val, ptr) do { \ 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/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/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
/tools/testing/selftests/bpf/map_tests/
Dmap_percpu_stats.c32 static const char *map_type_to_s(__u32 type) in map_type_to_s()
50 static __u32 map_count_elements(__u32 type, int map_fd) in map_count_elements()
88 static void delete_all_elements(__u32 type, int map_fd, bool batch) in delete_all_elements()
303 static int map_create_opts(__u32 type, const char *name, in map_create_opts()
322 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create()
357 static int create_lru_hash(__u32 type, __u32 map_flags) in create_lru_hash()
/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/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()
210 enum kwork_class_type type; in perf_kwork__trace_prepare_bpf() local
271 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/perf/arch/x86/util/
Devent.c83 const __u64 *array, u64 type) in arch_perf_parse_sample_weight()
98 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight()
/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/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/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>>...13