Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 8 of 8) 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/drivers/net/ethernet/cisco/enic/
H A Denic_mbox.c398 u8 expected_type; in enic_mbox_vf_handle_reply() local
401 expected_type = enic->mbox_expected_reply; in enic_mbox_vf_handle_reply()
403 if (expected_type != reply_type || expected_msg_num != msg_num) { in enic_mbox_vf_handle_reply()
408 expected_type, (unsigned long long)expected_msg_num); in enic_mbox_vf_handle_reply()
/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/fs/btrfs/
H A Dfree-space-tree.c1558 const struct btrfs_key *key, u8 expected_type) in validate_free_space_key() argument
1562 if (unlikely(key->type != expected_type)) { in validate_free_space_key()
1565 block_group->start, key->type, expected_type); in validate_free_space_key()
/linux/kernel/bpf/
H A Dverifier.c7686 enum bpf_dynptr_type expected_type = arg_to_dynptr_type(arg_type); in process_dynptr_func() local
7690 dynptr_type_str(expected_type), reg_arg_name(env, argno)); in process_dynptr_func()
7695 dynptr_type_str(actual_type), dynptr_type_str(expected_type)); in process_dynptr_func()
12748 const char *expected_type; in check_kfunc_args() local
12750 expected_type = bpf_diag_fmt_btf_type(env, btf, args[i].type); in check_kfunc_args()
12756 expected_type); in check_kfunc_args()
12762 const char *expected_type; in check_kfunc_args() local
12764 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
12770 expected_type); in check_kfunc_args()
13099 const char *expected_type; in check_kfunc_args() local
13113 const char *expected_type; check_kfunc_args() local
13136 const char *expected_type; check_kfunc_args() local
13173 const char *expected_type; check_kfunc_args() local
[all...]