Searched refs:kvm_corefd (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libkvm/common/
H A Dkvm.c43 int kvm_corefd; member in struct:_kvmd
89 kd->kvm_corefd = kd->kvm_kmemfd = kd->kvm_memfd = -1;
122 if ((kd->kvm_corefd = open64(corefile, flag)) == -1)
124 if (pread64(kd->kvm_corefd, &kd->kvm_dump,
159 PROT_READ, MAP_SHARED, kd->kvm_corefd, 0)) == MAP_FAILED) {
162 PROT_READ, MAP_SHARED, kd->kvm_corefd, 0)) ==
191 if (kd->kvm_corefd != -1)
192 (void) close(kd->kvm_corefd);
305 else if ((len = prw(kd->kvm_corefd, buf, len, off)) <= 0)

Completed in 20 milliseconds