Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/lib/py/
H A Dksft.py168 def __init__(self, expected_type):
170 self.expected_type = expected_type
177 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")
178 elif self.expected_type != exc_type:
179 _fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")
182 return self.expected_type == exc_type
101 __init__(self, expected_type) global() argument
/linux/drivers/acpi/acpica/
H A Ddbtest.c41 acpi_object_type expected_type,
809 acpi_object_type expected_type, in acpi_db_read_from_object() argument
850 if (ret_value->type != expected_type) { in acpi_db_read_from_object()
853 acpi_ut_get_type_name(expected_type), in acpi_db_read_from_object()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dicmp_send_kfunc.c57 int expected_type = (af == AF_INET) ? IP_RECVERR : IPV6_RECVERR; in read_icmp_errqueue() local
84 cm->cmsg_type != expected_type) in read_icmp_errqueue()
/linux/net/smc/
H A Dsmc_clc.c690 u8 expected_type, unsigned long timeout) in smc_clc_wait_msg() argument
724 expected_type == SMC_CLC_DECLINE) in smc_clc_wait_msg()
736 if (len != -EAGAIN || expected_type != SMC_CLC_DECLINE) in smc_clc_wait_msg()
745 (clcm->type != expected_type))) { in smc_clc_wait_msg()
H A Dsmc_clc.h448 u8 expected_type, unsigned long timeout);
/linux/kernel/bpf/
H A Dverifier.c7627 enum bpf_dynptr_type expected_type = arg_to_dynptr_type(arg_type); in process_dynptr_func() local
7631 dynptr_type_str(expected_type), reg_arg_name(env, argno)); in process_dynptr_func()
7636 dynptr_type_str(actual_type), dynptr_type_str(expected_type)); in process_dynptr_func()
12625 const char *expected_type; in check_kfunc_args() local
12627 expected_type = bpf_diag_fmt_btf_type(env, btf, args[i].type); in check_kfunc_args()
12633 expected_type); in check_kfunc_args()
12639 const char *expected_type; in check_kfunc_args() local
12641 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
12647 expected_type); in check_kfunc_args()
12972 const char *expected_type; in check_kfunc_args() local
[all …]