Lines Matching defs:core

106 #include "core.h"
117 static struct kinfo_vmentry * kinfo_getvmmap_core(struct procstat_core *core,
119 static Elf_Auxinfo *procstat_getauxv_core(struct procstat_core *core,
151 static gid_t *procstat_getgroups_core(struct procstat_core *core,
158 static int procstat_getosrel_core(struct procstat_core *core,
163 static int procstat_getpathname_core(struct procstat_core *core,
167 static int procstat_getrlimit_core(struct procstat_core *core, int which,
173 static int procstat_getumask_core(struct procstat_core *core,
188 procstat_core_close(procstat->core);
235 struct procstat_core *core;
242 core = procstat_core_open(filename);
243 if (core == NULL) {
248 procstat->core = core;
316 p = procstat_core_get(procstat->core, PSC_TYPE_PROC, NULL,
791 kinfo_getfile_core(struct procstat_core *core, int *cntp)
798 buf = procstat_core_get(core, PSC_TYPE_FILES, NULL, &len);
868 files = kinfo_getfile_core(procstat->core, &cnt);
1806 if (procstat_core_get(procstat->core, type, av->buf, &len)
1880 kinfo_getvmmap_core(struct procstat_core *core, int *cntp)
1887 buf = procstat_core_get(core, PSC_TYPE_VMMAP, NULL, &len);
1949 return (kinfo_getvmmap_core(procstat->core, cntp));
2031 procstat_getgroups_core(struct procstat_core *core, unsigned int *cntp)
2036 groups = procstat_core_get(core, PSC_TYPE_GROUPS, NULL, &len);
2053 return (procstat_getgroups_core(procstat->core, cntp));
2104 procstat_getumask_core(struct procstat_core *core, unsigned short *maskp)
2109 buf = procstat_core_get(core, PSC_TYPE_UMASK, NULL, &len);
2131 return (procstat_getumask_core(procstat->core, maskp));
2188 procstat_getrlimit_core(struct procstat_core *core, int which,
2199 rlimits = procstat_core_get(core, PSC_TYPE_RLIMIT, NULL, &len);
2222 return (procstat_getrlimit_core(procstat->core, which, rlimit));
2249 procstat_getpathname_core(struct procstat_core *core, char *pathname,
2255 files = kinfo_getfile_core(core, &cnt);
2284 return (procstat_getpathname_core(procstat->core, pathname,
2327 procstat_getosrel_core(struct procstat_core *core, int *osrelp)
2332 buf = procstat_core_get(core, PSC_TYPE_OSREL, NULL, &len);
2353 return (procstat_getosrel_core(procstat->core, osrelp));
2479 procstat_getauxv_core(struct procstat_core *core, unsigned int *cntp)
2484 auxv = procstat_core_get(core, PSC_TYPE_AUXV, NULL, &len);
2502 return (procstat_getauxv_core(procstat->core, cntp));
2517 procstat_getptlwpinfo_core(struct procstat_core *core, unsigned int *cntp)
2524 cnt = procstat_core_note_count(core, PSC_TYPE_PTLWPINFO);
2530 pl = procstat_core_get(core, PSC_TYPE_PTLWPINFO, buf, &len);
2550 return (procstat_getptlwpinfo_core(procstat->core, cntp));
2616 warnx("core method is not supported");
2745 warnx("core method is not supported");
2806 warnx("core method is not supported");