| /freebsd-13.1/lib/libc/gen/ |
| H A D | setproctitle.c | 62 static struct ps_strings *ps_strings; in setproctitle_internal() local 114 if (ps_strings == NULL) in setproctitle_internal() 116 sizeof(ps_strings)); in setproctitle_internal() 118 if (ps_strings == NULL) { in setproctitle_internal() 123 ps_strings = (struct ps_strings *)ul_ps_strings; in setproctitle_internal() 126 if (ps_strings == NULL) in setproctitle_internal() 133 if (ps_strings->ps_argvstr == NULL) in setproctitle_internal() 139 oargc = ps_strings->ps_nargvstr; in setproctitle_internal() 140 oargv = ps_strings->ps_argvstr; in setproctitle_internal() 161 ps_strings->ps_nargvstr = nargc; in setproctitle_internal() [all …]
|
| H A D | auxv.c | 73 static void *ps_strings, *timekeep; variable 141 ps_strings = aux->a_un.a_ptr; in init_aux() 355 if (ps_strings != NULL) { in _elf_aux_info() 356 *(void **)buf = ps_strings; in _elf_aux_info()
|
| /freebsd-13.1/lib/csu/arm/ |
| H A D | crt1_c.c | 55 struct ps_strings; 58 void (*)(void), struct ps_strings *); 67 struct ps_strings *__ps_strings; 69 void __start(int, char **, char **, struct ps_strings *, 74 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, in __start() argument 80 if (ps_strings != (struct ps_strings *)0) in __start() 81 __ps_strings = ps_strings; in __start()
|
| /freebsd-13.1/lib/csu/powerpc/ |
| H A D | crt1_c.c | 53 struct ps_strings; 62 struct ps_strings *__ps_strings; 65 void (*)(void), struct ps_strings *); 76 struct ps_strings *ps_strings) in _start() argument 82 if (ps_strings != (struct ps_strings *)0) in _start() 83 __ps_strings = ps_strings; in _start()
|
| /freebsd-13.1/lib/csu/powerpc64/ |
| H A D | crt1_c.c | 58 struct ps_strings; 61 void (*)(void), struct ps_strings *); 70 struct ps_strings *__ps_strings; 105 struct ps_strings *ps_strings) in _start() argument 110 if (ps_strings != (struct ps_strings *)0) in _start() 111 __ps_strings = ps_strings; in _start()
|
| /freebsd-13.1/lib/csu/mips/ |
| H A D | crt1_c.c | 46 struct ps_strings; 55 void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strings *); 62 struct ps_strings *ps_strings __unused) in __start()
|
| /freebsd-13.1/sys/sys/ |
| H A D | exec.h | 56 struct ps_strings { struct 79 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
|
| H A D | imgact.h | 73 void *ps_strings; /* pointer to ps_string (user space) */ member
|
| /freebsd-13.1/sys/amd64/include/ |
| H A D | vmparam.h | 230 #define PS_STRINGS_LA57 (USRSTACK_LA57 - sizeof(struct ps_strings)) 231 #define PS_STRINGS_LA48 (USRSTACK_LA48 - sizeof(struct ps_strings))
|
| /freebsd-13.1/sys/kern/ |
| H A D | imgact_aout.c | 74 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings)) 92 .sv_psstringssz = sizeof(struct ps_strings), 222 imgp->ps_strings = (void *)aout_sysvec.sv_psstrings; in exec_aout_imgact()
|
| H A D | kern_exec.c | 127 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD| 163 vm_offset_t ps_strings; in sysctl_kern_ps_strings() local 173 ps_strings = PROC_PS_STRINGS(p); in sysctl_kern_ps_strings() 174 return (SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings))); in sysctl_kern_ps_strings() 1685 struct ps_strings *arginfo; in exec_copyout_strings() 1696 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
|
| H A D | imgact_elf.c | 1468 AUXARGS_ENTRY_PTR(pos, AT_PS_STRINGS, imgp->ps_strings); in __elfN() 2665 elf_ps_strings_t ps_strings; in __elfN() local 2670 size = sizeof(structsize) + sizeof(ps_strings); in __elfN() 2673 structsize = sizeof(ps_strings); in __elfN() 2675 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in __elfN() 2677 ps_strings = PROC_PS_STRINGS(p); in __elfN() 2680 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in __elfN()
|
| /freebsd-13.1/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-13.1/sys/i386/linux/ |
| H A D | linux_sysvec.c | 78 #define LINUX_PS_STRINGS (LINUX_USRSTACK - sizeof(struct ps_strings)) 196 struct ps_strings *arginfo; in linux_copyout_auxargs() 201 arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); in linux_copyout_auxargs() 275 struct ps_strings *arginfo; in linux_copyout_strings() 281 arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); in linux_copyout_strings() 853 .sv_psstringssz = sizeof(struct ps_strings), 892 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/arm64/linux/ |
| H A D | linux_sysvec.c | 229 struct ps_strings *arginfo; in linux_copyout_strings() 236 arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); in linux_copyout_strings() 413 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 75 .sv_psstringssz = sizeof(struct ps_strings), 113 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/powerpc/powerpc/ |
| H A D | elf64_machdep.c | 78 .sv_psstringssz = sizeof(struct ps_strings), 117 .sv_psstringssz = sizeof(struct ps_strings),
|
| H A D | elf32_machdep.c | 118 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 326 struct ps_strings *arginfo; in linux_copyout_strings() 332 arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); in linux_copyout_strings() 743 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | elf_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 77 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | elf_machdep.c | 70 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings),
|
| /freebsd-13.1/lib/libprocstat/ |
| H A D | core.c | 346 struct ps_strings pss; in get_args()
|