Lines Matching refs:program
74 * Report an error using printf style arguments. "program" is kd->program
80 _kvm_err(kvm_t *kd, const char *program, const char *fmt, ...)
85 if (program != NULL) {
86 (void)fprintf(stderr, "%s: ", program);
97 _kvm_syserr(kvm_t *kd, const char *program, const char *fmt, ...)
103 if (program != NULL) {
104 (void)fprintf(stderr, "%s: ", program);
124 _kvm_err(kd, kd->program, "can't allocate %zu bytes: %s",
169 _kvm_err(kd, kd->program, "%s", elf_errmsg(0));
173 _kvm_err(kd, kd->program, "invalid core");
177 _kvm_err(kd, kd->program, "invalid core");
181 _kvm_err(kd, kd->program, "%s", elf_errmsg(0));
185 _kvm_err(kd, kd->program, "invalid core");
189 _kvm_err(kd, kd->program, "invalid core");
194 _kvm_err(kd, kd->program, "%s", elf_errmsg(0));
200 _kvm_err(kd, kd->program, "failed to allocate phdrs");
207 _kvm_err(kd, kd->program, "%s", elf_errmsg(0));
305 _kvm_err(kd, kd->program, "cannot allocate %zu bytes for bitmap",
311 _kvm_err(kd, kd->program, "cannot read %zu bytes for bitmap",
333 _kvm_err(kd, kd->program, "cannot allocate popcount bins");
365 _kvm_err(kd, kd->program, "cannot map %" PRIu64
383 _kvm_err(kd, kd->program, "cannot allocate %u bytes "
388 _kvm_err(kd, kd->program, "cannot read %d bytes from "
698 _kvm_syserr(kd, kd->program, "kvm_nlist");