MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_ipool_lock

Function mlx5_ipool_lock

dpdk/drivers/net/mlx5/mlx5_utils.c:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11/********************* Indexed pool **********************/
12
13static inline void
14mlx5_ipool_lock(struct mlx5_indexed_pool *pool)
15{
16 if (pool->cfg.need_lock)
17 rte_spinlock_lock(&pool->rsz_lock);
18}
19
20static inline void
21mlx5_ipool_unlock(struct mlx5_indexed_pool *pool)

Callers 7

_mlx5_ipool_free_cacheFunction · 0.85
mlx5_ipool_mallocFunction · 0.85
mlx5_ipool_freeFunction · 0.85
mlx5_ipool_getFunction · 0.85
mlx5_ipool_destroyFunction · 0.85

Calls 1

rte_spinlock_lockFunction · 0.50

Tested by

no test coverage detected