Searched refs:exec_lock (Results 1 – 6 of 6) sorted by relevance
114 static rwlock_t exec_lock; in _exec_files_XY_all() local119 (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 …]
67 #define LOADABLE_EXEC(e) ((e)->exec_lock)182 krwlock_t *exec_lock; member
1342 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()
759 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()
445 rw_exit(eswp->exec_lock); in do_core()
341 execsw[exectype].exec_lock = in mod_setup()343 rw_init(execsw[exectype].exec_lock, NULL, RW_DEFAULT, NULL); in mod_setup()