Home
last modified time | relevance | path

Searched refs:ps_strings (Results 1 – 25 of 102) sorted by relevance

12345

/netbsd/lib/csu/common/
H A Dcrt0-common.c218 relocate_self(struct ps_strings *ps_strings) in relocate_self() argument
220 AuxInfo *aux = (AuxInfo *)(ps_strings->ps_argvstr + ps_strings->ps_nargvstr + in relocate_self()
221 ps_strings->ps_nenvstr + 2); in relocate_self()
298 struct ps_strings *ps_strings) in ___start() argument
301 relocate_self(ps_strings); in ___start()
304 if (ps_strings == NULL) in ___start()
306 __ps_strings = ps_strings; in ___start()
308 environ = ps_strings->ps_envstr; in ___start()
310 if (ps_strings->ps_argvstr[0] != NULL) { in ___start()
312 __progname = ps_strings->ps_argvstr[0]; in ___start()
[all …]
H A Dcsu-common.h38 extern struct ps_strings *__ps_strings __common;
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/i386/
H A Ddragonfly-unwind.h67 unsigned long ps_strings; in x86_64_outside_sigtramp_range()
68 size_t len = sizeof (ps_strings); in x86_64_outside_sigtramp_range()
72 if (sysctl (mib, 2, &ps_strings, &len, NULL, 0) == 0) in x86_64_outside_sigtramp_range()
75 sigtramp_start = (unsigned char *)ps_strings - 32; in x86_64_outside_sigtramp_range()
76 sigtramp_end = (unsigned char *)ps_strings; in x86_64_outside_sigtramp_range()
150 unsigned long ps_strings; in x86_sigtramp_range() local
156 len = sizeof (ps_strings); in x86_sigtramp_range()
157 sysctl (mib, 2, &ps_strings, &len, NULL, 0); in x86_sigtramp_range()
159 *start = (unsigned char *)ps_strings - 128; in x86_sigtramp_range()
160 *end = (unsigned char *)ps_strings; in x86_sigtramp_range()
/netbsd/external/gpl3/gcc/dist/libgcc/config/i386/
H A Ddragonfly-unwind.h67 unsigned long ps_strings; in x86_64_outside_sigtramp_range()
68 size_t len = sizeof (ps_strings); in x86_64_outside_sigtramp_range()
72 if (sysctl (mib, 2, &ps_strings, &len, NULL, 0) == 0) in x86_64_outside_sigtramp_range()
75 sigtramp_start = (unsigned char *)ps_strings - 32; in x86_64_outside_sigtramp_range()
76 sigtramp_end = (unsigned char *)ps_strings; in x86_64_outside_sigtramp_range()
150 unsigned long ps_strings; in x86_sigtramp_range() local
156 len = sizeof (ps_strings); in x86_sigtramp_range()
157 sysctl (mib, 2, &ps_strings, &len, NULL, 0); in x86_sigtramp_range()
159 *start = (unsigned char *)ps_strings - 128; in x86_sigtramp_range()
160 *end = (unsigned char *)ps_strings; in x86_sigtramp_range()
/netbsd/sys/sys/
H A Dexec.h111 struct ps_strings { struct
165 struct ps_strings *, char **, void *);
265 struct ps_strings *, char **, void *);
266 int copyin_psstrings (struct proc *, struct ps_strings *);
H A Dcompat_stub.h296 struct ps_strings;
298 (struct proc *, struct ps_strings *));
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_exec.h67 struct ps_strings *, char **, void *);
71 struct ps_strings *, char **, void *);
85 struct ps_strings *arginfo, char **stackp, void *argp) in netbsd32_copyargs()
/netbsd/lib/csu/arch/m68k/
H A Dcrt0.S43 movl %a2,-(%sp) | ps_strings
45 | call: ___start(cleanup, ps_strings)
/netbsd/lib/csu/arch/sh3/
H A Dcrt0.S55 mov r9, r5 ! struct ps_strings *ps_strings
/netbsd/lib/csu/arch/sparc/
H A Dcrt0.S46 ! %g1 = ps_strings
47 ! call: ___start(cleanup, ps_strings)
/netbsd/lib/csu/arch/sparc64/
H A Dcrt0.S51 ! %g1 = ps_strings
52 ! call: ___start(cleanup, ps_strings)
/netbsd/sys/compat/linux/common/
H A Dlinux_exec.h127 struct ps_strings *, char **, void *);
143 struct ps_strings *, char **, void *);
167 struct ps_strings *, char **, void *);
/netbsd/lib/csu/arch/hppa/
H A Dcrt0.S60 copy %arg0, %arg2 ; ps_strings -> tmp
63 copy %arg2, %arg1 ; ps_strings -> arg1
/netbsd/libexec/ld.elf_so/arch/riscv/
H A Drtld_start.S52 mv s1, a1 # save ps_strings pointer
69 mv a1, s1 # restore ps_strings
72 jr t0 # _start(cleanup, ps_strings);
/netbsd/libexec/ld.elf_so/arch/or1k/
H A Drtld_start.S51 l.ori r30, r5, 0 # ps_strings
73 l.ori r5, r30, 0 # ps_strings
76 l.jalr r11 # _start(obj, cleanup, ps_strings)
/netbsd/libexec/ld.elf_so/arch/powerpc/
H A Drtld_start.S45 stw %r8,32(%r1) # ps_strings
70 lwz %r8,32(%r1) # ps_strings
73 blrl # _start(argc, argv, envp, obj, cleanup, ps_strings)
/netbsd/libexec/ld.elf_so/arch/i386/
H A Drtld_start.S41 pushl %ebx # save ps_strings
61 popl %ebx # %ebx = ps_strings
/netbsd/libexec/ld.elf_so/arch/x86_64/
H A Drtld_start.S48 pushq %rbx # save ps_strings
65 popq %rbx # %rbx = ps_strings
/netbsd/libexec/ld.elf_so/arch/hppa/
H A Drtld_start.S85 ldw HPPA_FRAME_ARG(0)(%r3), %arg0 ; ps_strings
103 ldw HPPA_FRAME_ARG(0)(%r3), %arg0 ; ps_strings
/netbsd/sys/compat/linux32/common/
H A Dlinux32_exec_elf32.c67 int linux32_copyinargs(struct exec_package *, struct ps_strings *,
113 struct ps_strings *arginfo, char **stackp, void *argp) in linux32_elf32_copyargs()
H A Dlinux32_exec.h55 struct ps_strings *, char **, void *);
/netbsd/libexec/ld.elf_so/arch/mips/
H A Drtld_start.S49 move s3, a3 # save ps_strings pointer
72 move a3, s3 # restore ps_strings
/netbsd/tests/kernel/
H A Dh_ps_strings2.c45 extern struct ps_strings *__ps_strings;
H A Dh_ps_strings1.c39 extern struct ps_strings *__ps_strings;
/netbsd/lib/libc/misc/
H A Dinitfini.c79 struct ps_strings *__ps_strings __common;

12345