Home
last modified time | relevance | path

Searched refs:sc_buf_pool (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Drequest_manager.c738 INIT_LIST_HEAD(&oct->sc_buf_pool.head); in octeon_setup_sc_buffer_pool()
739 spin_lock_init(&oct->sc_buf_pool.lock); in octeon_setup_sc_buffer_pool()
740 atomic_set(&oct->sc_buf_pool.alloc_buf_count, 0); in octeon_setup_sc_buffer_pool()
755 list_add_tail(&sc->node, &oct->sc_buf_pool.head); in octeon_setup_sc_buffer_pool()
766 spin_lock_bh(&oct->sc_buf_pool.lock); in octeon_free_sc_buffer_pool()
768 list_for_each_safe(tmp, tmp2, &oct->sc_buf_pool.head) { in octeon_free_sc_buffer_pool()
776 INIT_LIST_HEAD(&oct->sc_buf_pool.head); in octeon_free_sc_buffer_pool()
778 spin_unlock_bh(&oct->sc_buf_pool.lock); in octeon_free_sc_buffer_pool()
797 spin_lock_bh(&oct->sc_buf_pool.lock); in octeon_alloc_soft_command()
799 if (list_empty(&oct->sc_buf_pool.head)) { in octeon_alloc_soft_command()
[all …]
Docteon_device.h442 struct octeon_sc_buffer_pool sc_buf_pool; member