Lines Matching refs:ls
377 RtldLockState ls[2]; in _rtld_atfork_pre() local
390 wlock_acquire(rtld_phdr_lock, &ls[0]); in _rtld_atfork_pre()
391 wlock_acquire(rtld_bind_lock, &ls[1]); in _rtld_atfork_pre()
394 locks[0] = ls[1].lockstate; in _rtld_atfork_pre()
395 locks[2] = ls[0].lockstate; in _rtld_atfork_pre()
401 RtldLockState ls[2]; in _rtld_atfork_post() local
406 bzero(ls, sizeof(ls)); in _rtld_atfork_post()
407 ls[0].lockstate = locks[2]; in _rtld_atfork_post()
408 ls[1].lockstate = locks[0]; in _rtld_atfork_post()
409 lock_release(rtld_bind_lock, &ls[1]); in _rtld_atfork_post()
410 lock_release(rtld_phdr_lock, &ls[0]); in _rtld_atfork_post()