| /freebsd-14.2/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() 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() 168 ps_strings->ps_nargvstr = nargc; in setproctitle_internal() [all …]
|
| H A D | auxv.c | 69 static void *ps_strings, *timekeep; variable 138 ps_strings = aux->a_un.a_ptr; in init_aux() 360 if (ps_strings != NULL) { in _elf_aux_info() 361 *(void **)buf = ps_strings; in _elf_aux_info()
|
| /freebsd-14.2/lib/csu/arm/ |
| H A D | crt1_c.c | 52 struct ps_strings; 55 void (*)(void), struct ps_strings *) __dead2; 57 struct ps_strings *__ps_strings; 59 void __start(int, char **, char **, struct ps_strings *, 63 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, in __start() argument 66 if (ps_strings != (struct ps_strings *)0) in __start() 67 __ps_strings = ps_strings; in __start()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/sys/sys/ |
| H A D | exec.h | 55 struct ps_strings { struct 88 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
|
| H A D | imgact.h | 71 void *ps_strings; /* pointer to ps_string (user space) */ member
|
| /freebsd-14.2/sys/riscv/include/ |
| H A D | vmparam.h | 211 #define PS_STRINGS_SV39 (USRSTACK_SV39 - sizeof(struct ps_strings)) 212 #define PS_STRINGS_SV48 (USRSTACK_SV48 - sizeof(struct ps_strings))
|
| /freebsd-14.2/sys/amd64/include/ |
| H A D | vmparam.h | 233 #define PS_STRINGS_LA57 (USRSTACK_LA57 - sizeof(struct ps_strings)) 234 #define PS_STRINGS_LA48 (USRSTACK_LA48 - sizeof(struct ps_strings))
|
| /freebsd-14.2/sys/kern/ |
| H A D | imgact_aout.c | 72 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings)) 88 .sv_psstringssz = sizeof(struct ps_strings), 220 imgp->ps_strings = (void *)aout_sysvec.sv_psstrings; in exec_aout_imgact()
|
| H A D | kern_exec.c | 125 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD| 161 vm_offset_t ps_strings; in sysctl_kern_ps_strings() local 171 ps_strings = PROC_PS_STRINGS(p); in sysctl_kern_ps_strings() 172 return (SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings))); in sysctl_kern_ps_strings() 1659 struct ps_strings *arginfo; in exec_copyout_strings() 1670 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
|
| H A D | imgact_elf.c | 1487 AUXARGS_ENTRY_PTR(pos, AT_PS_STRINGS, imgp->ps_strings); in __elfN() 2657 elf_ps_strings_t ps_strings; in __elfN() local 2662 size = sizeof(structsize) + sizeof(ps_strings); in __elfN() 2665 structsize = sizeof(ps_strings); in __elfN() 2667 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in __elfN() 2669 ps_strings = PROC_PS_STRINGS(p); in __elfN() 2672 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in __elfN()
|
| /freebsd-14.2/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;
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 75 .sv_psstringssz = sizeof(struct ps_strings), 118 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/powerpc/powerpc/ |
| H A D | elf64_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings), 123 .sv_psstringssz = sizeof(struct ps_strings),
|
| H A D | elf32_machdep.c | 119 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_elf.c | 333 struct ps_strings *arginfo; in __linuxN() 341 arginfo = imgp->ps_strings = (void *)destp; in __linuxN()
|
| /freebsd-14.2/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), 634 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | elf_machdep.c | 70 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | elf_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/arm64/linux/ |
| H A D | linux_sysvec.c | 82 sizeof(struct ps_strings)) 442 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 82 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 89 sizeof(struct ps_strings)) 695 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 79 .sv_psstringssz = sizeof(struct ps_strings),
|