Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c57 static kvm_t *kvm_p; /* Handle for kvm_open, kvm_read, ... */ variable
113 kvm_p = kvm_open(namelist, dumpfile, NULL, O_RDONLY, program_name); in dumpfile_init()
114 if (kvm_p == NULL) { in dumpfile_init()
118 if (kvm_nlist(kvm_p, kvm_syms) != 0) { in dumpfile_init()
123 if (kvm_read(kvm_p, kvm_syms[0].n_value, (char *) &dump_bufaddr, in dumpfile_init()
125 kvm_read(kvm_p, kvm_syms[1].n_value, (char *) &tnf_bufsize, in dumpfile_init()
165 if (kvm_read(kvm_p, dump_bufaddr, addr, 512) != 512) { in read_tnf_header()
188 if (kvm_read(kvm_p, dump_bufaddr + offset, (char *) addr, in read_tnf_block()
220 if (kvm_read(kvm_p, dump_bufaddr + offset, (char *) dest, in read_tnf_fwzone()