Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1860 atomic_set(&ctx->num_inflight, 1); in mlx5_cmd_init_async_ctx()
1875 if (!atomic_dec_and_test(&ctx->num_inflight)) in mlx5_cmd_cleanup_async_ctx()
1886 if (atomic_dec_and_test(&ctx->num_inflight)) in mlx5_cmd_exec_cb_handler()
1898 if (WARN_ON(!atomic_inc_not_zero(&ctx->num_inflight))) in mlx5_cmd_exec_cb()
1902 if (ret && atomic_dec_and_test(&ctx->num_inflight)) in mlx5_cmd_exec_cb()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h901 atomic_t num_inflight; member