Lines Matching defs:as
50 struct as *kvm_kas;
179 kd->kvm_kas = (struct as *)nl[0].n_value;
208 kvm_lookup(kvm_t *kd, struct as *as, uint64_t addr)
215 fprintf(stderr, "kvm_lookup(%p, %llx):", (void *)as, addr);
217 if (as == NULL) { /* physical addressing mode */
238 long hash = DUMP_HASH(&kd->kvm_dump, as, page);
253 if (dmp->dm_va == page && dmp->dm_as == as) {
267 struct as *as, ssize_t (*prw)(int, void *, size_t, offset_t))
283 if (as == kd->kvm_kas)
285 if (as == NULL)
288 (void) sprintf(procbuf, "/proc/%ld/as", kd->kvm_pid);
300 if ((off = kvm_lookup(kd, as, addr)) == 0)
333 kvm_aread(kvm_t *kd, uintptr_t addr, void *buf, size_t size, struct as *as)
335 return (kvm_rw(kd, addr, buf, size, as, PREAD));
364 struct as *as)
366 return (kvm_rw(kd, addr, (void *)buf, size, as, PWRITE));
376 kvm_physaddr(kvm_t *kd, struct as *as, uintptr_t addr)
382 mem_vtop.m_as = as;
388 if ((off = kvm_lookup(kd, as, addr)) != 0) {