Lines Matching refs:res
145 int i, res, err; in check_partition() local
163 i = res = err = 0; in check_partition()
164 while (!res && check_part[i]) { in check_partition()
166 res = check_part[i++](state); in check_partition()
167 if (res < 0) { in check_partition()
171 err = res; in check_partition()
172 res = 0; in check_partition()
176 if (res > 0) { in check_partition()
186 res = err; in check_partition()
187 if (res) { in check_partition()
196 return ERR_PTR(res); in check_partition()