/illumos-gate/usr/src/uts/common/vm/ |
H A D | anon.h | 55 typedef unsigned long anoff_t; /* anon offsets */ 58 * Each anonymous page, either in memory or in swap, has an anon structure. 69 * an_hash is a hash list of anon slots. The list is hashed by 72 * associated anon slot. 77 * initialized to 1 when the anon slot is created in anon_alloc(). 78 * If a client obtains an anon slot and allows multiple threads to 82 * destroy the anon slot. E.g., the seg_vn segment type protects 86 struct anon { struct 87 struct vnode *an_vp; /* vnode of anon page */ 89 anoff_t an_off; /* offset of anon pag [all...] |
H A D | Makefile | 31 HDRS= anon.h as.h faultcode.h vpm.h hat.h kpm.h page.h pvn.h rm.h seg.h \
|
H A D | vm_anon.c | 57 * The key data structure here is the anon struct, which contains a 63 * rest of the anon layer need not know it. (See the swap layer for 64 * more details on anon struct layout.) 67 * anon struct and its position on backing store will change so that 74 * Many of the routines defined here take a (struct anon **) argument, 75 * which allows the code at this level to manage anon pages directly, 76 * so that callers can regard anon structs as opaque objects and not be 79 * Clients of this layer refer to anon pages indirectly. That is, they 80 * maintain arrays of pointers to anon structs rather than maintaining 81 * anon struct [all...] |
H A D | seg_vn.h | 44 #include <vm/anon.h> 61 struct anon_map *amp; /* anon mapping to map to */ 95 ulong_t anon_index; /* starting index into anon_map anon array */ 96 struct anon_map *amp; /* pointer to anon share structure, if needed */ 193 * A hash table entry looked up by vnode, off/eoff and szc to find anon map to 207 struct anon_map *tr_amp[NLGRPS_MAX]; /* per lgrp anon maps */
|
H A D | vm_swap.c | 80 #include <vm/anon.h> 302 * by looking through all the anon slots. 350 * Return the anon struct corresponding for the given 352 * Return the anon struct if found, otherwise NULL. 354 struct anon * 357 struct anon *ap; 637 * All this is because we have to hold the anon lock while 932 * All this is because we have to hold the anon lock while 1374 struct anon **app, *ap; 1450 * by walking through the entire anon has [all...] |
H A D | seg_kp.c | 70 #include <vm/anon.h> 145 pgcnt_t anon_segkp_pages_locked; /* See vm/anon.h */ 146 pgcnt_t anon_segkp_pages_resv; /* anon reserved by seg_kp */ 189 * with the per kp segment mutex, anon ptr. array and hash table. 457 TRACE_5(TR_FAC_VM, TR_ANON_SEGKP, "anon segkp:%p %p %lu %u %u", 477 TRACE_5(TR_FAC_VM, TR_ANON_SEGKP, "anon segkp:%p %p %lu %u %u", 485 * Allocate page and anon resources for the virtual address range 515 struct anon *ap; 520 * Determine the "vp" and "off" of the anon slot. 647 struct anon *a [all...] |
H A D | seg_spt.c | 37 #include <vm/anon.h> 300 struct anon *ap; 458 * We are rounding up the size of the anon array 500 * get array of pages for each anon slot in amp 622 struct anon *ap; 805 * Assume starting anon index of 0 836 struct anon *ap; 1017 * to find the anon structures of all 1193 struct anon *ap; 1550 * The calls to acquire and release the anon ma [all...] |
H A D | seg_vn.c | 70 #include <vm/anon.h> 336 * replica's are represented by anon maps (amp). There's one amp per text file 563 * Check arguments. If a shared anon structure is given then 624 TRACE_3(TR_FAC_VM, TR_ANON_PROC, "anon proc:%p %lu %u", 655 "anon proc:%p %lu %u", seg, swresv, 0); 878 * have the anon array dynamically allocated itself so that 879 * we don't always have to allocate all the anon pointer slots. 881 * aren't trying to use an anon pointer slot beyond the end 882 * of the currently allocated anon array. 906 * Make sure that all the needed anon 6487 int anon = (amp != NULL) ? 1 : 0; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vmsystm.h | 122 struct anon; 149 struct anon **, size_t *, int);
|
H A D | swap.h | 44 #include <vm/anon.h> 153 * Stuff to convert an anon slot pointer to a page name. 167 * Convert from an anon slot to associated vnode and offset. 177 * Get a vnode name for an anon slot. 178 * The vnum, offset are derived from anon struct address which is 179 * 16 bytes aligned. anon structs may be kmem_cache_alloc'd concurrently by 200 * Free the page name for the specified anon slot. 210 #define SE_NOANON -2 /* No anon slot for swap slot */ 213 extern struct anon *swap_anon(struct vnode *vp, u_offset_t off);
|
H A D | lgrp.h | 50 #include <vm/anon.h>
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ui-sun.c | 137 smb_browse(struct smb_ctx *ctx, int anon) argument
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 34 #include <vm/anon.h> 1019 mdb_printf(" [ anon ]"); 1043 mdb_printf(" [ anon ]"); 1109 int aw_all; /* report all anon pointers, even NULLs */ 1118 mdb_warn("anon walk doesn't support global walks\n"); 1126 mdb_warn("failed to read anon map at %p", wsp->walk_addr); 1133 mdb_warn("failed to read anon hdr ptr at %p", aw->aw_amp.ahp); 1175 struct anon anon; local 1239 mdb_vread(&anon, sizeo 1523 const struct anon *const anon = wsp->walk_layer; local [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | hgsetup.sh | 163 onnv-gate=ssh://anon@hg.opensolaris.org//hg/onnv/onnv-gate
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | sundep.c | 68 #include <vm/anon.h>
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | vm_subr.c | 68 #include <vm/anon.h> 335 * For cow == 1, if the pages are anonymous pages, it also bumps the anon 353 struct anon **app, size_t *lenp, int cow)
|
H A D | shm.c | 120 #include <vm/anon.h> 885 * these failure points will need to unreserve the anon 888 * Once ipc_commit_begin() is called, the anon reserved 892 * unreserving the above anon, and freeing the below amp. 1126 struct anon *ap; 1203 struct anon *ap;
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_dev.c | 1312 /* anon buffers still pending */ 1883 aio_buf_t *anon = NULL; local 1962 anon = rdc_aio_buf_get(h, krdc->index); 1963 if (anon == NULL) { 1972 anon->rdc_abufp); 1989 if ((anon == NULL) && h && (h->rdc_flags & RDC_ASYNC_VEC)) { 1993 anon = rdc_aio_buf_get(h, krdc->index); 1994 if (anon) { 1995 (void) nsc_free_buf(anon->rdc_abufp); 2189 aio_buf_t *anon; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gcore.h | 28 #include <vm/anon.h>
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | dump.c | 44 #include <vm/anon.h>
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 58 #define FEM_HEAD(_t) femtype[(_t)].head.fn_op.anon 279 *fp = *(void **)((char *)fnod->fn_op.anon + offs0); 280 ptr = (void *)(ap->fa_vnode.anon); 282 } else if ((*fp = *(void **)((char *)fnod->fn_op.anon+offs1)) 2920 sp->feml_nodes[1].fn_op.anon = baseops; 2975 if ((nnode->fn_op.anon == NULL) || (nnode->fn_available == NULL)) { 3065 void *fn_op = list->feml_nodes[i].fn_op.anon; 3080 if (fn_op == nnode->fn_op.anon) { 3086 if ((fn_op == nnode->fn_op.anon) && 3130 if (fn->fn_op.anon [all...] |
/illumos-gate/usr/src/uts/common/fs/swapfs/ |
H A D | swap_vnops.c | 227 struct anon *ap; 241 " null anon"); 297 * Called from large page anon routines only! This is an ugly hack where 298 * the anon layer directly calls into swapfs with a preallocated large page. 413 struct anon *ap; 420 panic("swap_getconpage: null anon"); 422 panic("swap_getconpage: bad anon"); 438 * page we'll let the anon layer handle it.
|
/illumos-gate/usr/src/uts/common/exec/aout/ |
H A D | aout.c | 51 #include <vm/anon.h>
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_tnode.c | 44 #include <vm/anon.h> 95 TRACE_2(TR_FAC_VM, TR_ANON_TMPFS, "anon tmpfs:%p %lu", 122 TRACE_2(TR_FAC_VM, TR_ANON_TMPFS, "anon tmpfs:%p %lu", tp, delta); 128 * Grow the anon pointer array to cover 'newsize' bytes plus slack. 254 * Grow the size of the anon array to the new size 281 /* Free anon pages if shrinking file over page boundary. */ 316 /* Delete anon array for tmpnode */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1021 dtrace_anon_t anon; local 1062 if (mdb_readvar(&anon, "dtrace_anon") == -1) { 1067 md.dtmd_isanon = ((uintptr_t)anon.dta_state == addr); 1662 dtrace_anon_t anon; local 1682 if (mdb_readvar(&anon, "dtrace_anon") == -1) { 1687 if ((uintptr_t)anon.dta_state == addr) { 1689 mdb_warn("failed to read anon at %p", addr);
|