Lines Matching refs:pr
78 static int ask_repair(struct exfat_fsck *fsck, struct exfat_repair_problem *pr)
84 pr->flags & ERF_DEFAULT_NO)
87 pr->flags & ERF_DEFAULT_YES)
92 if (pr->prompt_type & ERP_RENAME) {
94 prompts[pr->prompt_type]);
97 prompts[pr->prompt_type]);
104 if (pr->prompt_type & ERP_RENAME) {
107 if (number > 0 && number < pr->max_number)
118 pr->flags & ERF_PREEN_YES)
122 if (pr->prompt_type & ERP_RENAME) {
123 int print_num = repair ? pr->default_number : pr->bypass_number;
125 printf("%s (Number : %d)\n", prompts[pr->prompt_type],
129 printf(". %s (y/N)? %c\n", prompts[pr->prompt_type],
138 struct exfat_repair_problem *pr = NULL;
142 pr = find_problem(prcode);
143 if (!pr) {
152 repair = ask_repair(fsck, pr);
154 if (pr->prompt_type & ERP_TRUNCATE)