Lines Matching refs:errmsg
643 const char **errmsg) in check_expect_stats_nums() argument
646 if (errmsg) in check_expect_stats_nums()
647 *errmsg = "Incorrect root/delta indication"; in check_expect_stats_nums()
652 if (errmsg) in check_expect_stats_nums()
653 *errmsg = "Incorrect user count"; in check_expect_stats_nums()
658 if (errmsg) in check_expect_stats_nums()
659 *errmsg = "Incorrect delta user count"; in check_expect_stats_nums()
668 const char **errmsg) in check_expect_stats_key_id() argument
672 if (errmsg) in check_expect_stats_key_id()
673 *errmsg = "incorrect key id"; in check_expect_stats_key_id()
711 const char **errmsg) in __check_expect_stats() argument
717 *errmsg = "Unexpected object count"; in __check_expect_stats()
723 &expect_stats->info[i], errmsg); in __check_expect_stats()
727 &expect_stats->info[i], errmsg); in __check_expect_stats()
742 const char **errmsg) in check_expect_stats() argument
749 *errmsg = "objagg_stats_get() failed."; in check_expect_stats()
752 err = __check_expect_stats(stats, expect_stats, errmsg); in check_expect_stats()
767 const char *errmsg; in test_delta_action_item() local
791 err = check_expect_stats(objagg, &action_item->expect_stats, &errmsg); in test_delta_action_item()
793 pr_err("Key %u: Stats: %s\n", action_item->key_id, errmsg); in test_delta_action_item()
896 const char **errmsg) in check_expect_hints_stats() argument
904 err = __check_expect_stats(stats, expect_stats, errmsg); in check_expect_hints_stats()
917 const char *errmsg; in test_hints_case() local
935 err = check_expect_stats(objagg, &hints_case->expect_stats, &errmsg); in test_hints_case()
937 pr_err("Stats: %s\n", errmsg); in test_hints_case()
949 &errmsg); in test_hints_case()
951 pr_err("Hints stats: %s\n", errmsg); in test_hints_case()
970 &errmsg); in test_hints_case()
972 pr_err("Stats2: %s\n", errmsg); in test_hints_case()