Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c2006 atomic_set(&ctx->num_inflight, 1); in mlx5_cmd_init_async_ctx()
2021 atomic_dec(&ctx->num_inflight); in mlx5_cmd_cleanup_async_ctx()
2022 wait_event(ctx->wait, atomic_read(&ctx->num_inflight) == 0); in mlx5_cmd_cleanup_async_ctx()
2034 if (atomic_dec_and_test(&ctx->num_inflight)) in mlx5_cmd_exec_cb_handler()
2048 if (WARN_ON(!atomic_inc_not_zero(&ctx->num_inflight))) in mlx5_cmd_exec_cb()
2052 if (ret && atomic_dec_and_test(&ctx->num_inflight)) in mlx5_cmd_exec_cb()
/linux-5.19.10/include/linux/mlx5/
Ddriver.h970 atomic_t num_inflight; member