Home
last modified time | relevance | path

Searched refs:psstrings (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/tests/sys/kern/
H A Dkern_copyin.c78 uintptr_t psstrings; in get_maxuser_address() local
85 len = sizeof(psstrings); in get_maxuser_address()
86 error = sysctl(mib, nitems(mib), &psstrings, &len, NULL, 0); in get_maxuser_address()
90 if (psstrings == PS_STRINGS_LA57) in get_maxuser_address()
92 if (psstrings == PS_STRINGS_LA48) in get_maxuser_address()
95 if (psstrings == PS_STRINGS_LA48 - PAGE_SIZE) in get_maxuser_address()
/freebsd-13.1/lib/libprocstat/
H A Dcore.c85 static void *get_args(struct procstat_core *core, vm_offset_t psstrings,
177 vm_offset_t psstrings; in procstat_core_get() local
242 if (len < sizeof(psstrings)) { in procstat_core_get()
246 psstrings = *(vm_offset_t *)buf; in procstat_core_get()
252 buf = get_args(core, psstrings, type, buf, &len); in procstat_core_get()
343 get_args(struct procstat_core *core, vm_offset_t psstrings, enum psc_type type, in get_args() argument
356 if (core_read_mem(core, &pss, sizeof(pss), psstrings, true) == -1) in get_args()