fipsec            279 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c static inline bool is_v2_sadb_supported(struct mlx5_fpga_ipsec *fipsec)
fipsec            281 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fipsec->caps, v2_command))
fipsec            676 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_fpga_ipsec *fipsec = fdev->ipsec;
fipsec            708 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_lock(&fipsec->sa_hash_lock);
fipsec            710 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	err = rhashtable_lookup_insert_fast(&fipsec->sa_hash, &sa_ctx->hash,
fipsec            732 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_unlock(&fipsec->sa_hash_lock);
fipsec            743 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, &sa_ctx->hash,
fipsec            746 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_unlock(&fipsec->sa_hash_lock);
fipsec            826 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_fpga_ipsec *fipsec = fdev->ipsec;
fipsec            839 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_lock(&fipsec->sa_hash_lock);
fipsec            840 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, &sa_ctx->hash,
fipsec            842 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_unlock(&fipsec->sa_hash_lock);
fipsec           1051 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_fpga_ipsec *fipsec = fdev->ipsec;
fipsec           1075 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	WARN_ON(rule_insert(fipsec, rule));
fipsec           1081 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		_rule_delete(fipsec, rule);
fipsec           1131 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_fpga_ipsec *fipsec = fdev->ipsec;
fipsec           1143 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	rule = rule_search(fipsec, fte);
fipsec           1148 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	rule_delete(fipsec, rule);
fipsec           1473 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_fpga_ipsec *fipsec = fdev->ipsec;
fipsec           1487 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (is_v2_sadb_supported(fipsec)) {
fipsec           1502 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_lock(&fipsec->sa_hash_lock);
fipsec           1504 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash,
fipsec           1510 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	err = rhashtable_insert_fast(&fipsec->sa_hash,
fipsec           1520 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash,
fipsec           1528 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		WARN_ON(rhashtable_insert_fast(&fipsec->sa_hash,
fipsec           1532 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mutex_unlock(&fipsec->sa_hash_lock);