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? */
148 * we haven't tried already, try now.
161 autoboot(-1, NULL); /* try to boot automatically */
177 /* try to get a delay from the environment */
241 * Scrounge for the name of the (try)'th file we will try to boot.
244 getbootfile(int try)
257 * Try $bootfile, then try our builtin default
262 while ((try > 0) && (spec != NULL)) {
266 try--;
388 loadakernel(int try, int argc, char* argv[])
392 for (try = 0; (cp = getbootfile(try)) != NULL; try++)