Home
last modified time | relevance | path

Searched refs:scratchargs (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dmain.c152 char *scratchargs; in exec_init() local
166 scratchargs = kmem_alloc(alen, KM_SLEEP); in exec_init()
167 (void) snprintf(scratchargs, alen, "%s %s", initpath, args); in exec_init()
174 for (i = 0; i < strlen(scratchargs); i++) { in exec_init()
175 if (scratchargs[i] == ' ' || scratchargs[i] == '\0') { in exec_init()
223 if (scratchargs[i] == ' ' || scratchargs[i] == '\0') { in exec_init()
226 scratchargs[i] = '\0'; in exec_init()
235 error |= copyout(scratchargs, (caddr_t)(uintptr_t)ucp, alen); in exec_init()
246 kmem_free(scratchargs, alen); in exec_init()
252 kmem_free(scratchargs, alen); in exec_init()
/titanic_44/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c283 char scratchargs[BOOTARGS_MAX], *sargs; in filter_bootargs() local
321 (void) strlcpy(scratchargs, inargs, sizeof (scratchargs)); in filter_bootargs()
322 sargs = scratchargs; in filter_bootargs()
336 (void) strlcpy(scratchargs, inargs, sizeof (scratchargs)); in filter_bootargs()
337 sargs = scratchargs; in filter_bootargs()