Lines Matching refs:ls
450 RtldLockState ls[2]; in _rtld_atfork_pre() local
463 wlock_acquire(rtld_phdr_lock, &ls[0]); in _rtld_atfork_pre()
464 wlock_acquire(rtld_bind_lock, &ls[1]); in _rtld_atfork_pre()
467 locks[0] = ls[1].lockstate; in _rtld_atfork_pre()
468 locks[2] = ls[0].lockstate; in _rtld_atfork_pre()
474 RtldLockState ls[2]; in _rtld_atfork_post() local
479 bzero(ls, sizeof(ls)); in _rtld_atfork_post()
480 ls[0].lockstate = locks[2]; in _rtld_atfork_post()
481 ls[1].lockstate = locks[0]; in _rtld_atfork_post()
482 lock_release(rtld_bind_lock, &ls[1]); in _rtld_atfork_post()
483 lock_release(rtld_phdr_lock, &ls[0]); in _rtld_atfork_post()