Lines Matching defs:bootargs_buf
979 parse_fastboot_args(char *bootargs_buf, size_t buf_size,
988 int buflen; /* length of the bootargs_buf */
1000 * else it is 0 as bootargs_buf has been initialized to all 0's.
1002 buflen = strlen(bootargs_buf);
1005 bcopy(bootargs_buf, bootargs_saved, buflen);
1009 bcopy(bootargs_buf, bootargs_scratch, buflen);
1046 if ((bootargs_buf[0] == 0 || isdigit(bootargs_buf[0])) &&
1053 if (bootargs_buf[0] == 0)
1057 entnum = strtoul(bootargs_buf, NULL, 10);
1063 if (strlcpy(bootargs_buf, fbarg.gba_bootargs,
1066 bcopy(bootargs_saved, bootargs_buf, buf_size);
1089 bzero(bootargs_buf, buf_size);
1194 bcopy(unixfile, bootargs_buf, mplen);
1195 (void) strcat(bootargs_buf, " ");
1198 bcopy(&unixfile[mplen], &bootargs_buf[mplen + space],
1200 (void) strcat(bootargs_buf, " ");
1211 off += sprintf(bootargs_buf + off, "%s ", bootfs_arg);
1217 bcopy(&bootargs_saved[rootlen], &bootargs_buf[off], buflen - rootlen);
1265 char bootargs_buf[BOOTARGS_MAX];
1359 /* Gather the arguments into bootargs_buf. */
1360 if (gather_args(argv, bootargs_buf, sizeof (bootargs_buf)) !=
1367 bootargs_orig = strdup(bootargs_buf);
1368 mdep = (uintptr_t)bootargs_buf;
1374 bzero(bootargs_buf, sizeof (bootargs_buf));
1424 rc = parse_fastboot_args(bootargs_buf, sizeof (bootargs_buf),
1442 if (strlen(bootargs_buf) != 0)
1443 mdep = (uintptr_t)bootargs_buf;