Searched refs:fs_smfs (Results 1 – 1 of 1) sorted by relevance
114 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_smfs_matcher_get() local122 matchers = nat ? &fs_smfs->matchers_nat : &fs_smfs->matchers; in mlx5_ct_fs_smfs_matcher_get()128 mutex_lock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_get()148 tbl = nat ? fs_smfs->ct_nat_tbl : fs_smfs->ct_tbl; in mlx5_ct_fs_smfs_matcher_get()165 mutex_unlock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_get()172 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_smfs_matcher_put() local174 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()179 mutex_unlock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_put()187 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_smfs_init() local192 fs_smfs->ct_nat = ct_nat; in mlx5_ct_fs_smfs_init()[all …]