Home
last modified time | relevance | path

Searched refs:argvlen (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dmain.c155 size_t argvlen, alen; in exec_init() local
186 argvlen = sizeof (uintptr_t) * (argc + 1); in exec_init()
187 argv = kmem_zalloc(argvlen, KM_SLEEP); in exec_init()
245 argv32 = kmem_zalloc(argvlen / 2, KM_SLEEP); in exec_init()
250 kmem_free(argv, argvlen); in exec_init()
252 argvlen /= 2; in exec_init()
262 error |= copyout(argv, (caddr_t)uap, argvlen); in exec_init()
267 kmem_free(argv, argvlen); in exec_init()
272 kmem_free(argv, argvlen); in exec_init()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1105 struct arrow *arrowp, char ***argv, int *argc, int *argvlen) in arglist2argv() argument
1121 argv, argc, argvlen)) in arglist2argv()
1129 argv, argc, argvlen)) in arglist2argv()
1230 if (*argc >= *argvlen - 2) { in arglist2argv()
1235 *argvlen += 10; in arglist2argv()
1237 sizeof (char *) * *argvlen); in arglist2argv()
1315 int argc, argvlen, envc, envplen; in platform_call() local
1326 argvlen = 0; in platform_call()
1327 if (arglist2argv(np, globals, croot, arrowp, &argv, &argc, &argvlen) || in platform_call()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c610 unsigned int argvlen = START_ARG; in create_argv() local
615 *thisargv = malloc(sizeof (char *) * argvlen); in create_argv()
629 if (*thisargv + argvlen == current) { in create_argv()
631 if (argvlen == TOO_MANY_ARGS) { in create_argv()
637 sizeof (char *) * (argvlen << 1)); in create_argv()
643 current += argvlen; in create_argv()
644 argvlen <<= 1; /* Double the size. */ in create_argv()
678 if (argvlen == *newargc) { in create_argv()
679 current = realloc(*thisargv, sizeof (char *) * (argvlen + 1)); in create_argv()
685 current[argvlen] = NULL; in create_argv()