Home
last modified time | relevance | path

Searched refs:envc (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_stack.h105 for (i = 0; i < bprm->envc; ++i) { in setup_initial_stack()
114 p = argvp = destp - (bprm->argc + bprm->envc + 2) * sizeof(abi_ulong); in setup_initial_stack()
150 ps_strs.ps_nenvstr = tswap32(bprm->envc); in setup_initial_stack()
151 for (i = 0; i < bprm->envc; ++i) { in setup_initial_stack()
H A Dtarget_os_elf.h69 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument
88 size += envc + argc + 2; in target_create_elf_tables()
135 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
H A Dos-proc.c36 int argc, envc; in freebsd_exec_common() local
54 envc = 0; in freebsd_exec_common()
62 envc++; in freebsd_exec_common()
69 envp = g_new0(char *, envc + 1); in freebsd_exec_common()
/openbmc/qemu/bsd-user/
H A Dbsdload.c98 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp, in loader_build_argptr() argument
105 sp -= (envc + 1) * n; in loader_build_argptr()
121 while (envc-- > 0) { in loader_build_argptr()
186 bprm->envc = count(envp); in loader_exec()
H A Dqemu.h152 int argc, envc; member
161 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp,
H A Delfload.c627 bprm->p = copy_elf_strings(bprm->envc, bprm->envp, bprm->page, bprm->p); in load_elf_binary()
810 bprm->p = target_create_elf_tables(bprm->p, bprm->argc, bprm->envc, in load_elf_binary()
/openbmc/qemu/bsd-user/openbsd/
H A Dtarget_os_elf.h66 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument
101 size += envc + argc + 2; in target_create_elf_tables()
144 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
/openbmc/qemu/bsd-user/netbsd/
H A Dtarget_os_elf.h66 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument
101 size += envc + argc + 2; in target_create_elf_tables()
144 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
/openbmc/qemu/linux-user/
H A Dflatload.c484 for (i = 0; i < bprm->envc; ++i) { in load_flt_binary()
489 stack_len += (bprm->envc + 1) * 4; /* the envp array */ in load_flt_binary()
521 p = copy_strings(p, bprm->envc, bprm->envp); in load_flt_binary()
527 stack_len = bprm->envc + bprm->argc + 2; in load_flt_binary()
532 sp = loader_build_argptr(bprm->envc, bprm->argc, sp, p, in load_flt_binary()