Searched refs:sgt_cache (Results 1 – 2 of 2) sorted by relevance
870 sgt_cache = this_cpu_ptr(priv->sgt_cache); in dpaa2_eth_sgt_get()874 if (sgt_cache->count == 0) in dpaa2_eth_sgt_get()877 sgt_buf = sgt_cache->buf[--sgt_cache->count]; in dpaa2_eth_sgt_get()890 sgt_cache = this_cpu_ptr(priv->sgt_cache); in dpaa2_eth_sgt_recycle()894 sgt_cache->buf[sgt_cache->count++] = sgt_buf; in dpaa2_eth_sgt_recycle()1907 sgt_cache = per_cpu_ptr(priv->sgt_cache, k); in dpaa2_eth_sgt_cache_drain()1908 count = sgt_cache->count; in dpaa2_eth_sgt_cache_drain()1912 sgt_cache->count = 0; in dpaa2_eth_sgt_cache_drain()4948 priv->sgt_cache = alloc_percpu(*priv->sgt_cache); in dpaa2_eth_probe()4949 if (!priv->sgt_cache) { in dpaa2_eth_probe()[all …]
562 struct dpaa2_eth_sgt_cache __percpu *sgt_cache; member
Completed in 18 milliseconds