Lines Matching defs:try
39 static char *getbootfile(int try);
40 static int loadakernel(int try, int argc, char* argv[]);
42 /* List of kernel names to try (may be overwritten by boot.config) XXX should move from here? */
146 * we haven't tried already, try now.
155 autoboot(-1, NULL); /* try to boot automatically */
173 /* try to get a delay from the environment */
251 * Scrounge for the name of the (try)'th file we will try to boot.
254 getbootfile(int try)
267 * Try $bootfile, then try our builtin default
272 while ((try > 0) && (spec != NULL)) {
276 try--;
398 loadakernel(int try, int argc, char* argv[])
402 for (try = 0; (cp = getbootfile(try)) != NULL; try++)