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

/osnet-11/usr/src/lib/libkvm/common/
H A Dtest.c165 tst_open(char *namelist, char *corefile, char *swapfile, int flag) argument
169 (corefile == NULL) ? "LIVE_KERNEL" : corefile,
171 ((corefile == NULL) ? "LIVE_KERNEL" : "(none)") : swapfile,
175 if ((cookie = kvm_open(namelist, corefile,
H A Dkvm.c79 kvm_open(const char *namelist, const char *corefile, const char *swapfile, argument
95 if (corefile == NULL)
96 corefile = "/dev/kmem";
98 if (stat64(corefile, &corestat) == -1)
99 return (fail(kd, err, "cannot stat %s", corefile));
122 if ((kd->kvm_corefd = open64(corefile, flag)) == -1)
123 return (fail(kd, err, "cannot open %s", corefile));
129 "(bad magic number %x)", corefile,
143 "corefile version (%u)",
149 "cannot examine with %d-bit libkvm", corefile,
[all...]

Completed in 91 milliseconds