Lines Matching defs:gr
141 * @gr: pointer to results of current testcase
152 struct mmc_test_general_result *gr;
539 if (!test->gr)
552 list_add_tail(&tr->link, &test->gr->tr_lst);
2961 struct mmc_test_general_result *gr;
2980 gr = kzalloc(sizeof(*gr), GFP_KERNEL);
2981 if (gr) {
2982 INIT_LIST_HEAD(&gr->tr_lst);
2985 gr->card = test->card;
2986 gr->testcase = i;
2989 list_add_tail(&gr->link, &mmc_test_result);
2995 test->gr = gr;
3022 if (gr)
3023 gr->result = ret;
3043 struct mmc_test_general_result *gr, *grs;
3047 list_for_each_entry_safe(gr, grs, &mmc_test_result, link) {
3050 if (card && gr->card != card)
3053 list_for_each_entry_safe(tr, trs, &gr->tr_lst, link) {
3058 list_del(&gr->link);
3059 kfree(gr);
3070 struct mmc_test_general_result *gr;
3074 list_for_each_entry(gr, &mmc_test_result, link) {
3077 if (gr->card != card)
3080 seq_printf(sf, "Test %d: %d\n", gr->testcase + 1, gr->result);
3082 list_for_each_entry(tr, &gr->tr_lst, link) {