Searched refs:sc_buf_pool (Results 1 – 2 of 2) sorted by relevance
719 STAILQ_INIT(&oct->sc_buf_pool.head); in lio_setup_sc_buffer_pool()746 mtx_lock(&oct->sc_buf_pool.lock); in lio_free_sc_buffer_pool()749 sc = LIO_STAILQ_FIRST_ENTRY(&oct->sc_buf_pool.head, in lio_free_sc_buffer_pool()757 STAILQ_INIT(&oct->sc_buf_pool.head); in lio_free_sc_buffer_pool()759 mtx_unlock(&oct->sc_buf_pool.lock); in lio_free_sc_buffer_pool()779 mtx_lock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()781 if (STAILQ_EMPTY(&oct->sc_buf_pool.head)) { in lio_alloc_soft_command()782 mtx_unlock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()791 mtx_unlock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()836 mtx_lock(&oct->sc_buf_pool.lock); in lio_free_soft_command()[all …]
422 struct lio_sc_buffer_pool sc_buf_pool; member