/netbsd/lib/csu/common/ |
H A D | crt0-common.c | 218 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 D | csu-common.h | 38 extern struct ps_strings *__ps_strings __common;
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/i386/ |
H A D | dragonfly-unwind.h | 67 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 D | dragonfly-unwind.h | 67 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 D | exec.h | 111 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 D | compat_stub.h | 296 struct ps_strings; 298 (struct proc *, struct ps_strings *));
|
/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_exec.h | 67 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 D | crt0.S | 43 movl %a2,-(%sp) | ps_strings 45 | call: ___start(cleanup, ps_strings)
|
/netbsd/lib/csu/arch/sh3/ |
H A D | crt0.S | 55 mov r9, r5 ! struct ps_strings *ps_strings
|
/netbsd/lib/csu/arch/sparc/ |
H A D | crt0.S | 46 ! %g1 = ps_strings 47 ! call: ___start(cleanup, ps_strings)
|
/netbsd/lib/csu/arch/sparc64/ |
H A D | crt0.S | 51 ! %g1 = ps_strings 52 ! call: ___start(cleanup, ps_strings)
|
/netbsd/sys/compat/linux/common/ |
H A D | linux_exec.h | 127 struct ps_strings *, char **, void *); 143 struct ps_strings *, char **, void *); 167 struct ps_strings *, char **, void *);
|
/netbsd/lib/csu/arch/hppa/ |
H A D | crt0.S | 60 copy %arg0, %arg2 ; ps_strings -> tmp 63 copy %arg2, %arg1 ; ps_strings -> arg1
|
/netbsd/libexec/ld.elf_so/arch/riscv/ |
H A D | rtld_start.S | 52 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 D | rtld_start.S | 51 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 D | rtld_start.S | 45 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 D | rtld_start.S | 41 pushl %ebx # save ps_strings 61 popl %ebx # %ebx = ps_strings
|
/netbsd/libexec/ld.elf_so/arch/x86_64/ |
H A D | rtld_start.S | 48 pushq %rbx # save ps_strings 65 popq %rbx # %rbx = ps_strings
|
/netbsd/libexec/ld.elf_so/arch/hppa/ |
H A D | rtld_start.S | 85 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 D | linux32_exec_elf32.c | 67 int linux32_copyinargs(struct exec_package *, struct ps_strings *, 113 struct ps_strings *arginfo, char **stackp, void *argp) in linux32_elf32_copyargs()
|
H A D | linux32_exec.h | 55 struct ps_strings *, char **, void *);
|
/netbsd/libexec/ld.elf_so/arch/mips/ |
H A D | rtld_start.S | 49 move s3, a3 # save ps_strings pointer 72 move a3, s3 # restore ps_strings
|
/netbsd/tests/kernel/ |
H A D | h_ps_strings2.c | 45 extern struct ps_strings *__ps_strings;
|
H A D | h_ps_strings1.c | 39 extern struct ps_strings *__ps_strings;
|
/netbsd/lib/libc/misc/ |
H A D | initfini.c | 79 struct ps_strings *__ps_strings __common;
|