Home
last modified time | relevance | path

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

12

/freebsd-14.2/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()
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 Dauxv.c69 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 Dcrt1_c.c52 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 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-14.2/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-14.2/sys/sys/
H A Dexec.h55 struct ps_strings { struct
88 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
H A Dimgact.h71 void *ps_strings; /* pointer to ps_string (user space) */ member
/freebsd-14.2/sys/riscv/include/
H A Dvmparam.h211 #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 Dvmparam.h233 #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 Dimgact_aout.c72 #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 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()
1659 struct ps_strings *arginfo; in exec_copyout_strings()
1670 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
H A Dimgact_elf.c1487 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 Dh_ps_strings2.c45 extern struct ps_strings *__ps_strings;
H A Dh_ps_strings1.c39 extern struct ps_strings *__ps_strings;
/freebsd-14.2/sys/amd64/amd64/
H A Delf_machdep.c75 .sv_psstringssz = sizeof(struct ps_strings),
118 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/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-14.2/sys/compat/linux/
H A Dlinux_elf.c333 struct ps_strings *arginfo; in __linuxN()
341 arginfo = imgp->ps_strings = (void *)destp; in __linuxN()
/freebsd-14.2/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-14.2/sys/i386/i386/
H A Delf_machdep.c70 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/sys/arm/arm/
H A Delf_machdep.c81 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/sys/arm64/linux/
H A Dlinux_sysvec.c82 sizeof(struct ps_strings))
442 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/sys/arm64/arm64/
H A Delf_machdep.c82 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/sys/amd64/linux/
H A Dlinux_sysvec.c89 sizeof(struct ps_strings))
695 .sv_psstringssz = sizeof(struct ps_strings),
/freebsd-14.2/sys/riscv/riscv/
H A Delf_machdep.c79 .sv_psstringssz = sizeof(struct ps_strings),

12