Lines Matching refs:cntp
119 int *cntp);
121 unsigned int *cntp);
122 static Elf_Auxinfo *procstat_getauxv_sysctl(pid_t pid, unsigned int *cntp);
158 int *cntp);
792 kinfo_getfile_core(struct procstat_core *core, int *cntp) in kinfo_getfile_core() argument
844 *cntp = cnt; in kinfo_getfile_core()
1881 kinfo_getvmmap_core(struct procstat_core *core, int *cntp) in kinfo_getvmmap_core() argument
1934 *cntp = cnt; in kinfo_getvmmap_core()
1940 unsigned int *cntp) in procstat_getvmmap() argument
1948 return (kinfo_getvmmap(kp->ki_pid, cntp)); in procstat_getvmmap()
1950 return (kinfo_getvmmap_core(procstat->core, cntp)); in procstat_getvmmap()
1966 procstat_getgroups_kvm(kvm_t *kd, struct kinfo_proc *kp, unsigned int *cntp) in procstat_getgroups_kvm() argument
2001 *cntp = ucred.cr_ngroups; in procstat_getgroups_kvm()
2006 procstat_getgroups_sysctl(pid_t pid, unsigned int *cntp) in procstat_getgroups_sysctl() argument
2027 *cntp = len / sizeof(gid_t); in procstat_getgroups_sysctl()
2032 procstat_getgroups_core(struct procstat_core *core, unsigned int *cntp) in procstat_getgroups_core() argument
2040 *cntp = len / sizeof(gid_t); in procstat_getgroups_core()
2046 unsigned int *cntp) in procstat_getgroups() argument
2050 return (procstat_getgroups_kvm(procstat->kd, kp, cntp)); in procstat_getgroups()
2052 return (procstat_getgroups_sysctl(kp->ki_pid, cntp)); in procstat_getgroups()
2054 return (procstat_getgroups_core(procstat->core, cntp)); in procstat_getgroups()
2392 procstat_getauxv32_sysctl(pid_t pid, unsigned int *cntp) in procstat_getauxv32_sysctl() argument
2441 *cntp = count; in procstat_getauxv32_sysctl()
2449 procstat_getauxv_sysctl(pid_t pid, unsigned int *cntp) in procstat_getauxv_sysctl() argument
2457 return (procstat_getauxv32_sysctl(pid, cntp)); in procstat_getauxv_sysctl()
2475 *cntp = len / sizeof(Elf_Auxinfo); in procstat_getauxv_sysctl()
2480 procstat_getauxv_core(struct procstat_core *core, unsigned int *cntp) in procstat_getauxv_core() argument
2488 *cntp = len / sizeof(Elf_Auxinfo); in procstat_getauxv_core()
2494 unsigned int *cntp) in procstat_getauxv() argument
2501 return (procstat_getauxv_sysctl(kp->ki_pid, cntp)); in procstat_getauxv()
2503 return (procstat_getauxv_core(procstat->core, cntp)); in procstat_getauxv()
2518 procstat_getptlwpinfo_core(struct procstat_core *core, unsigned int *cntp) in procstat_getptlwpinfo_core() argument
2536 *cntp = len / sizeof(*pl); in procstat_getptlwpinfo_core()
2541 procstat_getptlwpinfo(struct procstat *procstat, unsigned int *cntp) in procstat_getptlwpinfo() argument
2551 return (procstat_getptlwpinfo_core(procstat->core, cntp)); in procstat_getptlwpinfo()
2566 procstat_getkstack_sysctl(pid_t pid, int *cntp) in procstat_getkstack_sysctl() argument
2601 *cntp = len / sizeof(*kkstp); in procstat_getkstack_sysctl()
2608 unsigned int *cntp) in procstat_getkstack() argument
2615 return (procstat_getkstack_sysctl(kp->ki_pid, cntp)); in procstat_getkstack()
2768 procstat_getrlimitusage_sysctl(pid_t pid, unsigned *cntp) in procstat_getrlimitusage_sysctl() argument
2792 *cntp = len / sizeof(rlim_t); in procstat_getrlimitusage_sysctl()
2798 unsigned int *cntp) in procstat_getrlimitusage() argument
2805 return (procstat_getrlimitusage_sysctl(kp->ki_pid, cntp)); in procstat_getrlimitusage()
2822 procstat_get_kqueue_info_sysctl(pid_t pid, int kqfd, unsigned int *cntp, in procstat_get_kqueue_info_sysctl() argument
2857 *cntp = len / sizeof(*val); in procstat_get_kqueue_info_sysctl()