Home
last modified time | relevance | path

Searched +defs:test +defs:ip (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/lib/
H A Dtest_fprobe.c41 static notrace int fp_entry_handler(struct fprobe *fp, unsigned long ip, in fp_entry_handler()
60 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, in fp_exit_handler()
82 static notrace int nest_entry_handler(struct fprobe *fp, unsigned long ip, in nest_entry_handler()
90 static notrace void nest_exit_handler(struct fprobe *fp, unsigned long ip, in nest_exit_handler()
99 static void test_fprobe_entry(struct kunit *test) in test_fprobe_entry()
126 static void test_fprobe(struct kunit *test) in test_fprobe()
151 static void test_fprobe_syms(struct kunit *test) in test_fprobe_syms()
178 static void test_fprobe_data(struct kunit *test) in test_fprobe_data()
195 static void test_fprobe_nest(struct kunit *test) in test_fprobe_nest()
213 static void test_fprobe_skip(struct kunit *test) in test_fprobe_skip()
[all …]
H A Dtest_printf.c146 #define test(expect, fmt, ...) \ macro
445 ip(void) in ip() function
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c63 const char *ip; member
67 struct test { struct
68 const char *desc;
69 struct bpf_program *lookup_prog;
71 struct bpf_map *sock_map;
72 int sotype;
73 struct inet_addr connect_to;
74 struct inet_addr listen_at;
75 enum server accept_on;
81 static bool is_ipv6(const char *ip) in is_ipv6()
[all …]
H A Dcls_redirect.c205 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str()
276 static size_t build_input(const struct test_cfg *test, void *const buf, in build_input()
281 struct iphdr ip; in build_input() local
400 struct test_cfg *test = &tests[i]; in test_cls_redirect_common() local
/openbmc/linux/drivers/net/wireguard/selftest/
H A Dallowedips.c84 union nf_inet_addr ip; member
138 horrible_match_v4(const struct horrible_allowedips_node *node, struct in_addr *ip) in horrible_match_v4()
144 horrible_match_v6(const struct horrible_allowedips_node *node, struct in6_addr *ip) in horrible_match_v6()
182 struct in_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v4()
199 struct in6_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v6()
257 u8 ip[16], mutate_mask[16], mutated[16]; in randomized_test() local
427 static struct in_addr ip; in ip4() local
439 static struct in6_addr ip; in ip6() local
472 #define test(version, mem, ipa, ipb, ipc, ipd) do { \ macro
500 struct in6_addr ip; in wg_allowedips_selftest() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sock.c35 const char *ip; member
413 static int bind_sock(int domain, int type, const char *ip, in bind_sock()
480 static int run_test_case(int cgfd, const struct sock_test *test) in run_test_case()
H A Dtest_sock_addr.c606 static int mk_sockaddr(int domain, const char *ip, unsigned short port, in mk_sockaddr()
644 static int load_insns(const struct sock_addr_test *test, in load_insns()
697 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load()
702 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load()
707 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load()
712 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load()
733 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load()
743 static int recvmsg_deny_prog_load(const struct sock_addr_test *test) in recvmsg_deny_prog_load()
1143 static int init_addrs(const struct sock_addr_test *test, in init_addrs()
1168 static int run_bind_test_case(const struct sock_addr_test *test) in run_bind_test_case()
[all …]
/openbmc/linux/mm/kasan/
H A Dreport.c186 struct kunit *test; in fail_non_kasan_kunit_test() local
522 void kasan_report_invalid_free(void *ptr, unsigned long ip, enum kasan_report_type type) in kasan_report_invalid_free()
565 unsigned long ip) in kasan_report()
/openbmc/linux/arch/s390/lib/
H A Dtest_unwind.c268 static void notrace __used test_unwind_ftrace_handler(unsigned long ip, in test_unwind_ftrace_handler()
494 static void test_unwind_flags(struct kunit *test) in test_unwind_flags()
/openbmc/linux/kernel/trace/
H A Dtrace.c1102 int __trace_puts(unsigned long ip, const char *str, int size) in __trace_puts()
1113 int __trace_bputs(unsigned long ip, const char *str) in __trace_bputs()
3493 unsigned long ip, const char *fmt, va_list args) in __trace_array_vprintk()
3548 unsigned long ip, const char *fmt, va_list args) in trace_array_vprintk()
3578 unsigned long ip, const char *fmt, ...) in trace_array_printk()
3623 unsigned long ip, const char *fmt, ...) in trace_array_printk_buf()
8712 ftrace_snapshot(unsigned long ip, unsigned long parent_ip, in ftrace_snapshot()
8742 ftrace_snapshot_print(struct seq_file *m, unsigned long ip, in ftrace_snapshot_print()
8765 unsigned long ip, void *init_data, void **data) in ftrace_snapshot_init()
8781 unsigned long ip, void *data) in ftrace_snapshot_free()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c4272 int ip = 0; in ar9003_hw_power_interpolate() local
5444 u8 powerLimit, bool test) in ath9k_hw_ar9300_set_txpower()
/openbmc/linux/net/ethtool/
H A Dioctl.c1904 struct ethtool_test test; in ethtool_self_test() local
3131 struct flow_dissector_key_ip ip; member
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c1396 static int qlcnic_83xx_diag_alloc_res(struct net_device *netdev, int test, in qlcnic_83xx_diag_alloc_res()
1977 void qlcnic_83xx_config_ipaddr(struct qlcnic_adapter *adapter, __be32 ip, in qlcnic_83xx_config_ipaddr()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1368 __u64 ip; member
1525 } test; member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1368 __u64 ip; member
1525 } test; member