Home
last modified time | relevance | path

Searched refs:pmfd (Results 1 – 16 of 16) sorted by relevance

/netbsd/lib/libkvm/
H A Dkvm.c255 kd->pmfd = -1; in _kvm_open()
353 if ((kd->pmfd = open(mf, flag | O_CLOEXEC, 0)) < 0) { in _kvm_open()
357 if (fstat(kd->pmfd, &st) < 0) { in _kvm_open()
401 MAP_FILE|MAP_PRIVATE, kd->pmfd, 0); in _kvm_open()
541 sz = Pread(kd, kd->pmfd, &cpu_hdr, sizeof(cpu_hdr), dump_off); in kvm_dump_mkheader()
569 sz = Pread(kd, kd->pmfd, kd->cpu_data, cpu_hdr.c_size, in kvm_dump_mkheader()
582 if (Lseek(kd, kd->pmfd, kd->dump_off, SEEK_SET) == -1) { in kvm_dump_mkheader()
758 if (kd->pmfd >= 0) in kvm_close()
759 error |= close(kd->pmfd); in kvm_close()
849 if (pwrite(kd->pmfd, kd->iobuf, dsize, doff) == -1) { in kvm_dump_inval()
[all …]
H A Dkvm_m68k_cmn.c217 if (_kvm_pread(kd, kd->pmfd, &ste, sizeof(ste), in vatop_030()
232 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in vatop_030()
279 if (_kvm_pread(kd, kd->pmfd, &ste, sizeof(ste), in vatop_040()
297 if (_kvm_pread(kd, kd->pmfd, &ste, sizeof(ste), in vatop_040()
312 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in vatop_040()
H A Dkvm_x86_64.c116 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop()
130 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop()
149 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop()
168 if (_kvm_pread(kd, kd->pmfd, (void *) &pte, sizeof(pte), in _kvm_kvatop()
H A Dkvm_alpha.c100 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in _kvm_kvatop()
113 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in _kvm_kvatop()
126 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in _kvm_kvatop()
H A Dkvm_sparc64.c172 if (_kvm_pread(kd, kd->pmfd, &pdir, sizeof(pdir), in _kvm_kvatop()
184 if (_kvm_pread(kd, kd->pmfd, &ptbl, sizeof(ptbl), in _kvm_kvatop()
196 if (_kvm_pread(kd, kd->pmfd, &data, sizeof(data), in _kvm_kvatop()
H A Dkvm_i386pae.c87 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop_i386pae()
110 if (_kvm_pread(kd, kd->pmfd, (void *) &pte, sizeof(pte), in _kvm_kvatop_i386pae()
H A Dkvm_hppa.c125 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop()
139 if (_kvm_pread(kd, kd->pmfd, (void *) &pte, sizeof(pte), in _kvm_kvatop()
H A Dkvm_arm.c110 if (_kvm_pread(kd, kd->pmfd, (void *) &pde, sizeof(pd_entry_t), in _kvm_kvatop()
138 if (_kvm_pread(kd, kd->pmfd, (void *) &pte, sizeof(pt_entry_t), in _kvm_kvatop()
H A Dkvm_i386.c152 if (_kvm_pread(kd, kd->pmfd, (void *)&pde, sizeof(pde), in _kvm_kvatop_i386()
174 if (_kvm_pread(kd, kd->pmfd, (void *) &pte, sizeof(pte), in _kvm_kvatop_i386()
H A Dkvm_powerpc.c233 if (_kvm_pread(kd, kd->pmfd, (void *) &pteg, sizeof(pteg), in _kvm_match_sr()
251 if (_kvm_pread(kd, kd->pmfd, (void *) &pteg, sizeof(pteg), in _kvm_match_sr()
H A Dkvm_vax.c88 if (fstat(kd->pmfd, &st) < 0) in _kvm_initvtop()
H A Dkvm_private.h47 int pmfd; /* physical memory file (or crash dump) */ member
H A Dkvm_mips.c181 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in _kvm_kvatop()
H A Dkvm_aarch64.c136 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), in _kvm_kvatop()
H A Dkvm_sparc.c261 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte), foff) != sizeof(pte)) { in _kvm_kvatop4m()
H A Dkvm_proc.c266 if (_kvm_pread(kd, kd->pmfd, kd->swapspc, (size_t)kd->nbpg, in _kvm_ureadm()