/src/sys/arch/mipsco/stand/common/ |
boot.c | 107 char bootname[PATH_MAX], bootpath[PATH_MAX]; local in function:main 127 kernel = devsplit(argv[1], bootname); 128 if (*bootname) { 129 dev = bootname; 140 (void) devsplit(argv[0], bootname); 141 dev = bootname;
|
/src/sys/arch/pmax/stand/common/ |
boot.c | 114 char bootname[PATH_MAX], bootpath[PATH_MAX]; local in function:main 137 /* NOTE: devname() can modify bootname[]. */ 138 strcpy(bootname, argv[0]); 139 if ((kernel = devname(bootname)) == NULL) { 140 dev = bootname;
|
/src/sys/arch/mmeye/stand/boot/ |
boot.c | 152 char *bootname, *ptr; local in function:parse_bootname 154 bootname = alloc(len + 1); 155 if (bootname == NULL) 157 memcpy(bootname, spec, len); 158 bootname[len] = '\0'; 160 if ((ptr = memchr(bootname, ':', len)) != NULL) { 163 *dev = bootname; 168 *kern = bootname;
|
/src/sys/arch/newsmips/stand/boot/ |
boot.c | 113 DPRINTF("bootname = %s\n", netbsd); 125 char *bootname = (char *)a2; local in function:boot 130 /* bootname is "/boot" by default on HB system. */ 131 if (bootname && strcmp(bootname, "/boot") != 0) 132 netbsd = bootname; 137 DPRINTF("bootname = %s\n", netbsd);
|
/src/sys/arch/cobalt/stand/boot/ |
boot.c | 257 /* second, get bootname from bootstrings */ 337 char *bootname, *ptr; local in function:parse_bootname 339 bootname = alloc(len + 1); 340 if (bootname == NULL) 342 memcpy(bootname, spec, len); 343 bootname[len] = '\0'; 345 if ((ptr = memchr(bootname, ':', len)) != NULL) { 348 *dev = bootname; 353 *kname = bootname;
|
/src/sys/arch/hp300/stand/inst/ |
inst.c | 714 char diskname[64], bootname[64]; local in function:bootmini 720 memset(bootname, 0, sizeof(bootname)); 729 (void)strcat(bootname, diskname); 730 for (i = 0; bootname[i + 1] != '\0'; ++i) 732 if (bootname[i] < '0' || bootname[i] > '9') { 736 bootname[++i] = 'b'; bootname[++i] = ':'; 737 (void)strcat(bootname, kernel_name) [all...] |
/src/sys/dev/raidframe/ |
rf_netbsdkintf.c | 449 const char *bootname; local in function:rf_containsboot 456 bootname = device_xname(bdv); 457 len = strlen(bootname); 468 if (strncmp(devname, bootname, len) == 0) { 550 const char *bootname; local in function:rf_find_bootwedge 557 bootname = device_xname(booted_device); 558 len = strlen(bootname); 562 bootname, booted_startblk, booted_nblks); 585 if (strncmp(parent, bootname, len) != 0)
|