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
140 #define AS_ISPGLCK(as) ((as)->a_flags & AS_PAGLCK) argument
141 #define AS_ISCLAIMGAP(as) ((as)->a_flags & AS_CLAIMGAP) argument
142 #define AS_ISUNMAPWAIT(as) ((as)->a_flags & AS_UNMAPWAIT) argument
143 #define AS_ISBUSY(as) ((as)->a_flags & AS_BUSY) argument
144 #define AS_ISNOUNMAPWAIT(as) ((as)->a_flags & AS_NOUNMAPWAIT) argument
146 #define AS_SETPGLCK(as) ((as)->a_flags |= AS_PAGLCK) argument
147 #define AS_SETCLAIMGAP(as) ((as)->a_flags |= AS_CLAIMGAP) argument
148 #define AS_SETUNMAPWAIT(as) ((as)->a_flags |= AS_UNMAPWAIT) argument
149 #define AS_SETBUSY(as) ((as)->a_flags |= AS_BUSY) argument
150 #define AS_SETNOUNMAPWAIT(as) ((as)->a_flags |= AS_NOUNMAPWAIT) argument
152 #define AS_CLRPGLCK(as) ((as)->a_flags &= ~AS_PAGLCK) argument
153 #define AS_CLRCLAIMGAP(as) ((as)->a_flags &= ~AS_CLAIMGAP) argument
154 #define AS_CLRUNMAPWAIT(as) ((as)->a_flags &= ~AS_UNMAPWAIT) argument
155 #define AS_CLRBUSY(as) ((as)->a_flags &= ~AS_BUSY) argument
156 #define AS_CLRNOUNMAPWAIT(as) ((as)->a_flags &= ~AS_NOUNMAPWAIT) argument
158 #define AS_TYPE_64BIT(as) \ argument
243 #define AS_LOCK_ENTER(as, type) rw_enter(&(as)->a_lock, \ argument
245 #define AS_LOCK_EXIT(as) rw_exit(&(as)->a_lock) argument
246 #define AS_LOCK_DESTROY(as) rw_destroy(&(as)->a_lock) argument
247 #define AS_LOCK_TRYENTER(as, type) rw_tryenter(&(as)->a_lock, \ argument
253 #define AS_LOCK_HELD(as) RW_LOCK_HELD(&(as)->a_lock) argument
254 #define AS_READ_HELD(as) RW_READ_HELD(&(as)->a_lock) argument
255 #define AS_WRITE_HELD(as) RW_WRITE_HELD(&(as)->a_lock) argument
260 #define AS_SEGFIRST(as) avl_first(&(as)->a_segtree) argument
261 #define AS_SEGNEXT(as, seg) AVL_NEXT(&(as)->a_segtree, (seg)) argument
262 #define AS_SEGPREV(as, seg) AVL_PREV(&(as)->a_segtree, (seg)) argument