Lines Matching refs:expected_pos
705 int expected_pos[5]; in test_five_keys() local
719 expected_pos[i] = pos[i]; in test_five_keys()
730 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_five_keys()
738 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_five_keys()
746 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_five_keys()
754 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_five_keys()
802 int expected_pos[5]; in test_full_bucket() local
814 expected_pos[i] = pos[i]; in test_full_bucket()
824 expected_pos[4] = pos[4]; in test_full_bucket()
830 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_full_bucket()
838 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_full_bucket()
846 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_full_bucket()
853 RETURN_IF_ERROR(pos[1] != expected_pos[1], in test_full_bucket()
857 RETURN_IF_ERROR(pos[3] != expected_pos[3], in test_full_bucket()
864 expected_pos[1] = pos[1]; in test_full_bucket()
871 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_full_bucket()
906 int expected_pos[64]; in test_extendable_bucket() local
924 expected_pos[i] = pos[i]; in test_extendable_bucket()
931 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_extendable_bucket()
939 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_extendable_bucket()
947 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_extendable_bucket()
954 RETURN_IF_ERROR(pos[35] != expected_pos[35], in test_extendable_bucket()
958 RETURN_IF_ERROR(pos[20] != expected_pos[20], in test_extendable_bucket()
965 expected_pos[35] = pos[35]; in test_extendable_bucket()
972 RETURN_IF_ERROR(pos[i] != expected_pos[i], in test_extendable_bucket()
990 expected_pos[i] = pos[i]; in test_extendable_bucket()
1925 int expected_pos[total_entries]; in test_hash_rcu_qsbr_dq_mode() local
1973 expected_pos[i] = pos[i]; in test_hash_rcu_qsbr_dq_mode()
1985 RETURN_IF_ERROR_RCU_QSBR(pos[0] != expected_pos[0], in test_hash_rcu_qsbr_dq_mode()
1992 RETURN_IF_ERROR_RCU_QSBR(pos[0] != expected_pos[0], in test_hash_rcu_qsbr_dq_mode()
2016 expected_pos[0] = pos[0]; in test_hash_rcu_qsbr_dq_mode()
2024 RETURN_IF_ERROR_RCU_QSBR(pos[0] != expected_pos[0], in test_hash_rcu_qsbr_dq_mode()
2095 int expected_pos[total_entries]; in test_hash_rcu_qsbr_sync_mode() local
2146 expected_pos[i] = pos[i]; in test_hash_rcu_qsbr_sync_mode()
2152 expected_pos[0] = pos[0]; in test_hash_rcu_qsbr_sync_mode()
2155 RETURN_IF_ERROR_RCU_QSBR(pos[0] != expected_pos[0], in test_hash_rcu_qsbr_sync_mode()