Home
last modified time | relevance | path

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

12

/freebsd/lib/libc/gen/
H A Dsetproctitle.c69 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 …]
/freebsd/lib/csu/arm/
H A Dcrt1_c.c51 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()
/freebsd/lib/csu/powerpc64/
H A Dcrt1_c.c52 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/lib/csu/powerpc/
H A Dcrt1_c.c51 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/sys/sys/
H A Dexec.h53 struct ps_strings { struct
86 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
H A Dimgact.h71 void *ps_strings; /* pointer to ps_string (user space) */ member
/freebsd/sys/riscv/include/
H A Dvmparam.h209 #define PS_STRINGS_SV39 (USRSTACK_SV39 - sizeof(struct ps_strings))
210 #define PS_STRINGS_SV48 (USRSTACK_SV48 - sizeof(struct ps_strings))
/freebsd/sys/amd64/include/
H A Dvmparam.h233 #define PS_STRINGS_LA57 (USRSTACK_LA57 - sizeof(struct ps_strings))
234 #define PS_STRINGS_LA48 (USRSTACK_LA48 - sizeof(struct ps_strings))
/freebsd/sys/kern/
H A Dimgact_aout.c71 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings))
87 .sv_psstringssz = sizeof(struct ps_strings),
219 imgp->ps_strings = (void *)aout_sysvec.sv_psstrings; in exec_aout_imgact()
H A Dkern_exec.c125 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()
1668 struct ps_strings *arginfo; in exec_copyout_strings()
1679 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
H A Dimgact_elf.c1500 AUXARGS_ENTRY_PTR(pos, AT_PS_STRINGS, imgp->ps_strings); in __elfN()
2670 elf_ps_strings_t ps_strings; in __elfN() local
2675 size = sizeof(structsize) + sizeof(ps_strings); in __elfN()
2678 structsize = sizeof(ps_strings); in __elfN()
2680 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in __elfN()
2682 ps_strings = PROC_PS_STRINGS(p); in __elfN()
2685 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in __elfN()
/freebsd/contrib/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;
/freebsd/sys/amd64/amd64/
H A Delf_machdep.c74 .sv_psstringssz = sizeof(struct ps_strings),
117 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/powerpc/powerpc/
H A Delf64_machdep.c81 .sv_psstringssz = sizeof(struct ps_strings),
123 .sv_psstringssz = sizeof(struct ps_strings),
H A Delf32_machdep.c119 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/compat/linux/
H A Dlinux_elf.c333 struct ps_strings *arginfo; in __linuxN()
341 arginfo = imgp->ps_strings = (void *)destp; in __linuxN()
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c85 #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/sys/i386/i386/
H A Delf_machdep.c70 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/arm/arm/
H A Delf_machdep.c80 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c82 sizeof(struct ps_strings))
442 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/arm64/arm64/
H A Delf_machdep.c85 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/amd64/linux/
H A Dlinux_sysvec.c89 sizeof(struct ps_strings))
695 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/sys/riscv/riscv/
H A Delf_machdep.c78 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd/lib/libprocstat/
H A Dcore.c343 struct ps_strings pss; in get_args()

12