Searched refs:sc_buf_pool (Results 1 – 2 of 2) sorted by relevance
734 STAILQ_INIT(&oct->sc_buf_pool.head); in lio_setup_sc_buffer_pool()761 mtx_lock(&oct->sc_buf_pool.lock); in lio_free_sc_buffer_pool()764 sc = LIO_STAILQ_FIRST_ENTRY(&oct->sc_buf_pool.head, in lio_free_sc_buffer_pool()772 STAILQ_INIT(&oct->sc_buf_pool.head); in lio_free_sc_buffer_pool()774 mtx_unlock(&oct->sc_buf_pool.lock); in lio_free_sc_buffer_pool()794 mtx_lock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()796 if (STAILQ_EMPTY(&oct->sc_buf_pool.head)) { in lio_alloc_soft_command()797 mtx_unlock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()806 mtx_unlock(&oct->sc_buf_pool.lock); in lio_alloc_soft_command()851 mtx_lock(&oct->sc_buf_pool.lock); in lio_free_soft_command()[all …]
423 struct lio_sc_buffer_pool sc_buf_pool; member