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

/netbsd-6-1-5-RELEASE/sys/uvm/
H A Duvm_amap.c29 * uvm_amap.c: amap operations
54 * avoid an endless loop, the amap cache's allocator cannot allocate
55 * memory from an amap (it currently goes through the kernel uobj, so
67 amap_list_insert(struct vm_amap *amap) argument
71 LIST_INSERT_HEAD(&amap_list, amap, am_list);
76 amap_list_remove(struct vm_amap *amap) argument
80 LIST_REMOVE(amap, am_list);
93 * what is ppref? ppref is an _optional_ amap feature which is used
99 * map (either by unmapping part of the amap, or gaining a reference
100 * to only a part of an amap)
172 struct vm_amap *amap; local
240 struct vm_amap *amap; local
279 amap_free(struct vm_amap *amap) argument
315 struct vm_amap *amap = entry->aref.ar_amap; local
644 struct vm_amap *amap = entry->aref.ar_amap; local
692 amap_wipeout(struct vm_amap *amap) argument
766 struct vm_amap *amap, *srcamap; local
972 struct vm_amap *amap = entry->aref.ar_amap; local
1090 struct vm_amap *amap = origref->ar_amap; local
1120 amap_pp_establish(struct vm_amap *amap, vaddr_t offset) argument
1145 amap_pp_adjref(struct vm_amap *amap, int curslot, vsize_t slotlen, int adjval, struct vm_anon **tofree) argument
1216 amap_wiperange(struct vm_amap *amap, int slotoff, int slots, struct vm_anon **tofree) argument
1405 struct vm_amap *amap = aref->ar_amap; local
1434 struct vm_amap *amap = aref->ar_amap; local
1472 struct vm_amap *amap = aref->ar_amap; local
1514 struct vm_amap *amap = aref->ar_amap; local
1543 amap_adjref_anons(struct vm_amap *amap, vaddr_t offset, vsize_t len, int refv, bool all) argument
1583 amap_ref(struct vm_amap *amap, vaddr_t offset, vsize_t len, int flags) argument
1604 amap_unref(struct vm_amap *amap, vaddr_t offset, vsize_t len, bool all) argument
[all...]
H A Duvm_fault_i.h67 uvmfault_unlockall(struct uvm_faultinfo *ufi, struct vm_amap *amap, argument
73 if (amap)
74 amap_unlock(amap);
H A Duvm_fault.c58 * amap | V | | ---------> new | | | | ^ |
68 * no amap or uobj is present. this is an error.
96 * - if we have an amap lock it and extract the anons
135 * implement (especially with structures like amap that can be referenced
264 * => Map, amap and thus anon should be locked by caller.
276 uvmfault_anonget(struct uvm_faultinfo *ufi, struct vm_amap *amap, argument
284 KASSERT(anon->an_lock == amap->am_lock);
343 uvmfault_unlockall(ufi, amap, NULL);
368 uvmfault_unlockall(ufi, amap, NULL);
379 uvmfault_unlockall(ufi, amap, NUL
556 struct vm_amap *amap = ufi->entry->aref.ar_amap; local
947 struct vm_amap *amap; local
1170 struct vm_amap *amap = ufi->entry->aref.ar_amap; local
1297 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
1398 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
1527 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
1638 struct vm_amap *amap = ufi->entry->aref.ar_amap; local
1878 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
2060 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
2111 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
2198 struct vm_amap * const amap = ufi->entry->aref.ar_amap; local
[all...]
H A Duvm_anon.c99 * => anon must be removed from the amap (if anon was in an amap).
100 * => amap must be locked; we may drop and re-acquire the lock here.
215 uvm_anon_freelst(struct vm_amap *amap, struct vm_anon *anonlst) argument
220 KASSERT(mutex_owned(amap->am_lock));
231 amap_unlock(amap);
340 uvm_anon_pagein(struct vm_amap *amap, struct vm_anon *anon) argument
346 KASSERT(anon->an_lock == amap->am_lock);
352 switch (uvmfault_anonget(NULL, amap, anon)) {
H A Duvm_loan.c166 /* locked: map, amap, uobj */
177 /* locked: if (rv > 0) => map, amap, uobj [o.w. unlocked] */
331 * => called with map, amap, uobj locked
605 * => called with map, amap, uobj locked
616 struct vm_amap *amap = ufi->entry->aref.ar_amap; local
630 /* locked: maps(read), amap(if there) */
632 /* locked: maps(read), amap(if there), uobj */
650 uvmfault_unlockall(ufi, amap, uobj);
659 uvmfault_unlockall(ufi, amap, NULL);
681 if (locked && amap)
838 struct vm_amap *amap = ufi->entry->aref.ar_amap; local
[all...]
H A Duvm_mmap.c153 struct vm_amap *amap; local
222 amap = entry->aref.ar_amap; /* upper layer */
225 if (amap != NULL)
226 amap_lock(amap);
232 if (amap != NULL) {
265 if (amap != NULL)
266 amap_unlock(amap);
1117 /* XXX: defer amap create */
1120 /* shared: create amap now */
H A Duvm_map.c1056 * => XXXCDC: need way to map in external amap?
1320 * can't extend a shared amap. note: no need to lock amap to
1376 * can't extend a shared amap. note: no need to lock amap to
1381 * merged with the previous entry which has an amap,
1382 * and the next entry also has an amap, we give up.
1385 * amap, new, amap -> give up second merge (single fwd extend)
1386 * amap, ne
1544 struct vm_amap *amap = amap_alloc(size, to_add, local
3217 struct vm_amap * const amap = entry->aref.ar_amap; local
3749 struct vm_amap *amap; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/pmap/
H A Dpmap.c314 struct kbit akbit, *amap; local
316 amap = &akbit;
317 P(amap) = vme->aref.ar_amap;
318 S(amap) = sizeof(struct vm_amap);
319 KDEREF(kd, amap);
320 dump_amap(kd, amap);
429 printf("%*s - %p: %#"PRIxVADDR"->%#"PRIxVADDR": obj=%p/0x%" PRIx64 ", amap=%p/%d\n",
529 dump_amap(kvm_t *kd, struct kbit *amap) argument
538 if (S(amap) == (size_t)-1) {
540 S(amap)
[all...]
H A Dpmap.h135 struct vm_amap amap; member in union:kbit::__anon9859
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dsun_map_parse.y96 amap : file label
/netbsd-6-1-5-RELEASE/lib/libkvm/
H A Dkvm_proc.c202 struct vm_amap amap; local
240 if (KREAD(kd, addr, &amap))
246 if (slot > amap.am_nslot)
249 addr = (u_long)amap.am_anon + (offset / kd->nbpg) * sizeof(anonp);
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Delf32-arm.c13235 const elf32_arm_section_map *amap = (const elf32_arm_section_map *) a; local
13238 if (amap->vma > bmap->vma)
13240 else if (amap->vma < bmap->vma)
13242 else if (amap->type > bmap->type)
13247 else if (amap->type < bmap->type)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/
H A Delf32-arm.c14674 const elf32_arm_section_map *amap = (const elf32_arm_section_map *) a; local
14677 if (amap->vma > bmap->vma)
14679 else if (amap->vma < bmap->vma)
14681 else if (amap->type > bmap->type)
14686 else if (amap->type < bmap->type)

Completed in 380 milliseconds