Home
last modified time | relevance | path

Searched refs:a_lock (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/vm/
H A Das.h116 krwlock_t a_lock; /* protects segment related fields */ member
243 #define AS_LOCK_ENTER(as, type) rw_enter(&(as)->a_lock, \
245 #define AS_LOCK_EXIT(as) rw_exit(&(as)->a_lock)
246 #define AS_LOCK_DESTROY(as) rw_destroy(&(as)->a_lock)
247 #define AS_LOCK_TRYENTER(as, type) rw_tryenter(&(as)->a_lock, \
253 #define AS_LOCK_HELD(as) RW_LOCK_HELD(&(as)->a_lock)
254 #define AS_READ_HELD(as) RW_READ_HELD(&(as)->a_lock)
255 #define AS_WRITE_HELD(as) RW_WRITE_HELD(&(as)->a_lock)
H A Dseg_kmem.c450 ASSERT(RW_READ_HELD(&seg->s_as->a_lock)); in segkmem_fault()
512 ASSERT(RW_LOCK_HELD(&seg->s_as->a_lock)); in segkmem_setprot()
540 ASSERT(RW_LOCK_HELD(&seg->s_as->a_lock)); in segkmem_checkprot()
564 ASSERT(RW_LOCK_HELD(&seg->s_as->a_lock)); in segkmem_kluster()
745 ASSERT(RW_LOCK_HELD(&seg->s_as->a_lock)); in segkmem_getmemid()
807 ASSERT(seg->s_as == &kas && RW_WRITE_HELD(&kas.a_lock)); in segkmem_zio_create()
817 ASSERT(seg->s_as == &kas && RW_WRITE_HELD(&kas.a_lock)); in segkmem_create()
H A Dseg_kpm.c160 ASSERT(seg->s_as && RW_WRITE_HELD(&seg->s_as->a_lock)); in segkpm_create()
H A Dseg_map.c314 ASSERT(seg->s_as && RW_WRITE_HELD(&seg->s_as->a_lock)); in segmap_create()
483 ASSERT(seg->s_as && RW_WRITE_HELD(&seg->s_as->a_lock));
841 ASSERT(seg->s_as && RW_LOCK_HELD(&seg->s_as->a_lock)); in segmap_checkprot()
871 ASSERT(seg->s_as && RW_READ_HELD(&seg->s_as->a_lock)); in segmap_getoffset()
880 ASSERT(seg->s_as && RW_READ_HELD(&seg->s_as->a_lock)); in segmap_gettype()
891 ASSERT(seg->s_as && RW_READ_HELD(&seg->s_as->a_lock)); in segmap_getvp()
H A Dseg_kp.c198 ASSERT(RW_WRITE_HELD(&seg->s_as->a_lock)); in segkp_create()
940 ASSERT(seg->s_as == &kas && RW_READ_HELD(&seg->s_as->a_lock)); in segkp_fault()
H A Dvm_as.c619 rw_init(&as->a_lock, NULL, RW_DEFAULT, NULL); in as_constructor()
633 rw_destroy(&as->a_lock); in as_destructor()
/titanic_44/usr/src/uts/common/os/
H A Dsched.c577 rw_enter(&kas.a_lock, RW_READER); in swapin()
580 rw_exit(&kas.a_lock); in swapin()
716 rw_enter(&kas.a_lock, RW_READER); in swapout()
720 rw_exit(&kas.a_lock); in swapout()
887 rw_enter(&kas.a_lock, RW_READER); in process_swap_queue()
890 rw_exit(&kas.a_lock); in process_swap_queue()
/titanic_44/usr/src/lib/libinstzones/common/
H A Dinstzones_lib.h317 char *a_lock, pid_t a_pid, boolean_t a_wait);
324 boolean_t _z_release_lock(char *a_zoneName, char *a_lock,
H A Dzones_locks.c93 char *a_lock, pid_t a_pid, boolean_t a_wait);
100 boolean_t _z_release_lock(char *a_zoneName, char *a_lock,
/titanic_44/usr/src/uts/sun4/os/
H A Dstartup.c1960 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
1965 rw_exit(&kas.a_lock); in startup_vm()
1974 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
2001 rw_exit(&kas.a_lock); in startup_vm()
2052 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
2061 rw_exit(&kas.a_lock); in startup_vm()
2130 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
2140 rw_exit(&kas.a_lock); in startup_vm()
2778 rw_enter(&kas.a_lock, RW_WRITER); in kvm_init()
2827 rw_exit(&kas.a_lock); in kvm_init()
/titanic_44/usr/src/uts/i86pc/os/
H A Dstartup.c877 rw_enter(&kas.a_lock, RW_WRITER); in kpm_init()
888 rw_exit(&kas.a_lock); in kpm_init()
2083 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
2098 rw_exit(&kas.a_lock); in startup_vm()
2112 rw_enter(&kas.a_lock, RW_WRITER); in startup_vm()
2125 rw_exit(&kas.a_lock); in startup_vm()
2665 rw_enter(&kas.a_lock, RW_WRITER); in kvm_init()
2698 rw_exit(&kas.a_lock); in kvm_init()
/titanic_44/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c180 static FINDLOCK_T lock_acquire(LOCK_T *a_lock, int *a_fd, char *a_root,
198 static FINDLOCK_T _lock_acquire(LOCK_T *a_lock, int a_fd, char *a_key,