Lines Matching defs:as
107 struct as { struct
109 uchar_t a_flags; /* as attributes */ argument
111 kcondvar_t a_cv; /* used by as_rangelock */ argument
114 caddr_t a_userlimit; /* highest allowable address in this as */ argument
115 struct seg *a_seglast; /* last segment hit on the addr space */ argument
118 struct seg *a_lastgap; /* last seg found by as_gap() w/ AS_HI (mmap) */ argument
119 struct seg *a_lastgaphl; /* last seg saved in as_gap() either for */ argument
124 timespec_t a_updatetime; /* time when mappings last changed */ argument
127 struct as_callback *a_callbacks; /* callback list */ argument
138 #define AS_ISPGLCK(as) ((as)->a_flags & AS_PAGLCK) argument
139 #define AS_ISCLAIMGAP(as) ((as)->a_flags & AS_CLAIMGAP) argument
140 #define AS_ISUNMAPWAIT(as) ((as)->a_flags & AS_UNMAPWAIT) argument
141 #define AS_ISNOUNMAPWAIT(as) ((as)->a_flags & AS_NOUNMAPWAIT) argument
143 #define AS_SETPGLCK(as) ((as)->a_flags |= AS_PAGLCK) argument
144 #define AS_SETCLAIMGAP(as) ((as)->a_flags |= AS_CLAIMGAP) argument
145 #define AS_SETUNMAPWAIT(as) ((as)->a_flags |= AS_UNMAPWAIT) argument
146 #define AS_SETNOUNMAPWAIT(as) ((as)->a_flags |= AS_NOUNMAPWAIT) argument
148 #define AS_CLRPGLCK(as) ((as)->a_flags &= ~AS_PAGLCK) argument
149 #define AS_CLRCLAIMGAP(as) ((as)->a_flags &= ~AS_CLAIMGAP) argument
150 #define AS_CLRUNMAPWAIT(as) ((as)->a_flags &= ~AS_UNMAPWAIT) argument
151 #define AS_CLRNOUNMAPWAIT(as) ((as)->a_flags &= ~AS_NOUNMAPWAIT) argument
153 #define AS_TYPE_64BIT(as) \ argument
238 #define AS_LOCK_ENTER(as, type) rw_enter(&(as)->a_lock, \ argument
240 #define AS_LOCK_EXIT(as) rw_exit(&(as)->a_lock) argument
241 #define AS_LOCK_DESTROY(as) rw_destroy(&(as)->a_lock) argument
242 #define AS_LOCK_TRYENTER(as, type) rw_tryenter(&(as)->a_lock, \ argument
248 #define AS_LOCK_HELD(as) RW_LOCK_HELD(&(as)->a_lock) argument
249 #define AS_READ_HELD(as) RW_READ_HELD(&(as)->a_lock) argument
250 #define AS_WRITE_HELD(as) RW_WRITE_HELD(&(as)->a_lock) argument
255 #define AS_SEGFIRST(as) avl_first(&(as)->a_segtree) argument
256 #define AS_SEGNEXT(as, seg) AVL_NEXT(&(as)->a_segtree, (seg)) argument
257 #define AS_SEGPREV(as, seg) AVL_PREV(&(as)->a_segtree, (seg)) argument