Home
last modified time | relevance | path

Searched refs:exec_lock (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c114 static rwlock_t exec_lock; in _exec_files_XY_all() local
119 (rw_rdlock(&exec_lock) != 0)) { in _exec_files_XY_all()
128 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
142 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
143 if (rw_wrlock(&exec_lock) != 0) { in _exec_files_XY_all()
149 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
157 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
163 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
167 (void) rw_unlock(&exec_lock); in _exec_files_XY_all()
172 if (rw_rdlock(&exec_lock) != 0) { in _exec_files_XY_all()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dexec.h67 #define LOADABLE_EXEC(e) ((e)->exec_lock)
182 krwlock_t *exec_lock; member
/titanic_41/usr/src/uts/common/os/
H A Dmodconf.c1342 rw_enter(eswp->exec_lock, RW_WRITER); in mod_installexec()
1345 rw_exit(eswp->exec_lock); in mod_installexec()
1369 !rw_tryenter(eswp->exec_lock, RW_WRITER)) in mod_removeexec()
1373 rw_exit(eswp->exec_lock); in mod_removeexec()
H A Dexec.c759 rw_exit(eswp->exec_lock); in gexec()
986 rw_enter(eswp->exec_lock, RW_READER); in hold_execsw()
988 rw_exit(eswp->exec_lock); in hold_execsw()
993 rw_enter(eswp->exec_lock, RW_READER); in hold_execsw()
H A Dcore.c445 rw_exit(eswp->exec_lock); in do_core()
H A Dmodctl.c341 execsw[exectype].exec_lock = in mod_setup()
343 rw_init(execsw[exectype].exec_lock, NULL, RW_DEFAULT, NULL); in mod_setup()