Lines Matching refs:bootargs_buf
984 parse_fastboot_args(char *bootargs_buf, size_t buf_size,
993 int buflen; /* length of the bootargs_buf */
1005 * else it is 0 as bootargs_buf has been initialized to all 0's.
1007 buflen = strlen(bootargs_buf);
1010 bcopy(bootargs_buf, bootargs_saved, buflen);
1014 bcopy(bootargs_buf, bootargs_scratch, buflen);
1051 if ((bootargs_buf[0] == 0 || isdigit(bootargs_buf[0])) &&
1058 if (bootargs_buf[0] == 0)
1062 entnum = strtoul(bootargs_buf, NULL, 10);
1067 if (strlcpy(bootargs_buf, fbarg,
1070 bcopy(bootargs_saved, bootargs_buf, buf_size);
1092 bzero(bootargs_buf, buf_size);
1197 bcopy(unixfile, bootargs_buf, mplen);
1198 (void) strcat(bootargs_buf, " ");
1201 bcopy(&unixfile[mplen], &bootargs_buf[mplen + space],
1203 (void) strcat(bootargs_buf, " ");
1219 off += sprintf(bootargs_buf + off, "%s ", bootfs_arg);
1225 bcopy(&bootargs_saved[rootlen], &bootargs_buf[off], buflen - rootlen);
1271 char bootargs_buf[BOOTARGS_MAX];
1367 /* Gather the arguments into bootargs_buf. */
1368 if (gather_args(argv, bootargs_buf, sizeof (bootargs_buf)) !=
1375 bootargs_orig = strdup(bootargs_buf);
1376 mdep = (uintptr_t)bootargs_buf;
1382 bzero(bootargs_buf, sizeof (bootargs_buf));
1432 rc = parse_fastboot_args(bootargs_buf, sizeof (bootargs_buf),
1450 if (strlen(bootargs_buf) != 0)
1451 mdep = (uintptr_t)bootargs_buf;