sc_buf_pool 483 drivers/net/ethernet/cavium/liquidio/octeon_device.h struct octeon_sc_buffer_pool sc_buf_pool; sc_buf_pool 749 drivers/net/ethernet/cavium/liquidio/request_manager.c INIT_LIST_HEAD(&oct->sc_buf_pool.head); sc_buf_pool 750 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_lock_init(&oct->sc_buf_pool.lock); sc_buf_pool 751 drivers/net/ethernet/cavium/liquidio/request_manager.c atomic_set(&oct->sc_buf_pool.alloc_buf_count, 0); sc_buf_pool 766 drivers/net/ethernet/cavium/liquidio/request_manager.c list_add_tail(&sc->node, &oct->sc_buf_pool.head); sc_buf_pool 842 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_lock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 844 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each_safe(tmp, tmp2, &oct->sc_buf_pool.head) { sc_buf_pool 852 drivers/net/ethernet/cavium/liquidio/request_manager.c INIT_LIST_HEAD(&oct->sc_buf_pool.head); sc_buf_pool 854 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_unlock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 876 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_lock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 878 drivers/net/ethernet/cavium/liquidio/request_manager.c if (list_empty(&oct->sc_buf_pool.head)) { sc_buf_pool 879 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_unlock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 883 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each(tmp, &oct->sc_buf_pool.head) sc_buf_pool 888 drivers/net/ethernet/cavium/liquidio/request_manager.c atomic_inc(&oct->sc_buf_pool.alloc_buf_count); sc_buf_pool 890 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_unlock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 933 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_lock_bh(&oct->sc_buf_pool.lock); sc_buf_pool 935 drivers/net/ethernet/cavium/liquidio/request_manager.c list_add_tail(&sc->node, &oct->sc_buf_pool.head); sc_buf_pool 937 drivers/net/ethernet/cavium/liquidio/request_manager.c atomic_dec(&oct->sc_buf_pool.alloc_buf_count); sc_buf_pool 939 drivers/net/ethernet/cavium/liquidio/request_manager.c spin_unlock_bh(&oct->sc_buf_pool.lock);