Lines Matching refs:ls_threads
601 ls->ls_threads = 1; in lf_advlockasync()
627 MPASS(state->ls_threads >= 0); in lf_advlockasync()
628 state->ls_threads++; in lf_advlockasync()
638 MPASS(state->ls_threads >= 0); in lf_advlockasync()
639 state->ls_threads++; in lf_advlockasync()
651 MPASS(state->ls_threads > 0); in lf_advlockasync()
652 state->ls_threads--; in lf_advlockasync()
720 MPASS(state->ls_threads > 0); in lf_advlockasync()
721 state->ls_threads--; in lf_advlockasync()
722 if (state->ls_threads != 0) { in lf_advlockasync()
771 if (LIST_EMPTY(&state->ls_active) && state->ls_threads == 0) { in lf_purgelocks()
777 MPASS(state->ls_threads >= 0); in lf_purgelocks()
778 state->ls_threads++; in lf_purgelocks()
808 while (state->ls_threads > 1) in lf_purgelocks()
1941 MPASS(ls->ls_threads >= 0); in lf_iteratelocks_vnode()
1942 ls->ls_threads++; in lf_iteratelocks_vnode()
1965 MPASS(ls->ls_threads > 0); in lf_iteratelocks_vnode()
1966 ls->ls_threads--; in lf_iteratelocks_vnode()