| /src/lib/libc/gen/ |
| H A D | setproctitle.c | 69 static struct ps_strings *ps_strings; in setproctitle_internal() local 121 if (ps_strings == NULL) in setproctitle_internal() 122 (void)_elf_aux_info(AT_PS_STRINGS, &ps_strings, in setproctitle_internal() 123 sizeof(ps_strings)); in setproctitle_internal() 125 if (ps_strings == NULL) { in setproctitle_internal() 130 ps_strings = (struct ps_strings *)ul_ps_strings; in setproctitle_internal() 133 if (ps_strings == NULL) in setproctitle_internal() 140 if (ps_strings->ps_argvstr == NULL) in setproctitle_internal() 146 oargc = ps_strings->ps_nargvstr; in setproctitle_internal() 147 oargv = ps_strings->ps_argvstr; in setproctitle_internal() [all …]
|
| /src/lib/csu/arm/ |
| H A D | crt1_c.c | 51 struct ps_strings; 54 void (*)(void), struct ps_strings *) __dead2; 56 struct ps_strings *__ps_strings; 58 void __start(int, char **, char **, struct ps_strings *, 62 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, in __start() argument 65 if (ps_strings != (struct ps_strings *)0) in __start() 66 __ps_strings = ps_strings; in __start()
|
| /src/lib/csu/powerpc64/ |
| H A D | crt1_c.c | 52 struct ps_strings; 55 void (*)(void), struct ps_strings *) __dead2; 57 struct ps_strings *__ps_strings; 67 struct ps_strings *ps_strings) in _start() argument 69 if (ps_strings != (struct ps_strings *)0) in _start() 70 __ps_strings = ps_strings; in _start()
|
| /src/lib/csu/powerpc/ |
| H A D | crt1_c.c | 51 struct ps_strings; 53 struct ps_strings *__ps_strings; 56 void (*)(void), struct ps_strings *) __dead2; 67 struct ps_strings *ps_strings) in _start() argument 69 if (ps_strings != (struct ps_strings *)0) in _start() 70 __ps_strings = ps_strings; in _start()
|
| /src/lib/libsys/ |
| H A D | auxv.c | 74 static void *ps_strings, *timekeep; variable 161 ps_strings = aux->a_un.a_ptr; in init_aux() 401 if (ps_strings != NULL) { in _elf_aux_info() 402 *(void **)buf = ps_strings; in _elf_aux_info()
|
| /src/sys/sys/ |
| H A D | exec.h | 53 struct ps_strings { struct 76 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
|
| H A D | imgact.h | 71 void *ps_strings; /* pointer to ps_string (user space) */ member
|
| /src/sys/riscv/include/ |
| H A D | vmparam.h | 209 #define PS_STRINGS_SV39 (USRSTACK_SV39 - sizeof(struct ps_strings)) 210 #define PS_STRINGS_SV48 (USRSTACK_SV48 - sizeof(struct ps_strings))
|
| /src/sys/amd64/include/ |
| H A D | vmparam.h | 236 #define PS_STRINGS_LA57 (USRSTACK_LA57 - sizeof(struct ps_strings)) 237 #define PS_STRINGS_LA48 (USRSTACK_LA48 - sizeof(struct ps_strings))
|
| /src/sys/kern/ |
| H A D | imgact_aout.c | 71 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings)) 87 .sv_psstringssz = sizeof(struct ps_strings), 217 imgp->ps_strings = (void *)aout_sysvec.sv_psstrings; in exec_aout_imgact()
|
| H A D | kern_exec.c | 131 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD| 167 vm_offset_t ps_strings; in sysctl_kern_ps_strings() local 177 ps_strings = PROC_PS_STRINGS(p); in sysctl_kern_ps_strings() 178 return (SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings))); in sysctl_kern_ps_strings() 1686 struct ps_strings *arginfo; in exec_copyout_strings() 1697 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
|
| H A D | imgact_elf.c | 1509 AUXARGS_ENTRY_PTR(pos, AT_PS_STRINGS, imgp->ps_strings); in freebsd_copyout_auxargs() 2689 elf_ps_strings_t ps_strings; in note_procstat_psstrings() local 2694 size = sizeof(structsize) + sizeof(ps_strings); in note_procstat_psstrings() 2697 structsize = sizeof(ps_strings); in note_procstat_psstrings() 2699 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in note_procstat_psstrings() 2701 ps_strings = PROC_PS_STRINGS(p); in note_procstat_psstrings() 2704 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in note_procstat_psstrings()
|
| /src/contrib/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;
|
| /src/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 74 .sv_psstringssz = sizeof(struct ps_strings), 117 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/powerpc/powerpc/ |
| H A D | elf64_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings), 125 .sv_psstringssz = sizeof(struct ps_strings),
|
| H A D | elf32_machdep.c | 119 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/compat/linux/ |
| H A D | linux_elf.c | 333 struct ps_strings *arginfo; in copyout_strings() 341 arginfo = imgp->ps_strings = (void *)destp; in copyout_strings()
|
| /src/sys/i386/linux/ |
| H A D | linux_sysvec.c | 85 #define LINUX_PS_STRINGS (LINUX_USRSTACK - sizeof(struct ps_strings)) 593 .sv_psstringssz = sizeof(struct ps_strings), 636 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/i386/i386/ |
| H A D | elf_machdep.c | 70 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/arm/arm/ |
| H A D | elf_machdep.c | 80 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/arm64/linux/ |
| H A D | linux_sysvec.c | 82 sizeof(struct ps_strings)) 444 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 95 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 89 sizeof(struct ps_strings)) 695 .sv_psstringssz = sizeof(struct ps_strings),
|
| /src/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 78 .sv_psstringssz = sizeof(struct ps_strings),
|