Searched refs:ipsec_dev (Results 1 – 1 of 1) sorted by relevance
879 rule_search(struct mlx5_fpga_ipsec *ipsec_dev, struct fs_fte *fte) in rule_search() argument883 mutex_lock(&ipsec_dev->rules_rb_lock); in rule_search()884 rule = _rule_search(&ipsec_dev->rules_rb, fte); in rule_search()885 mutex_unlock(&ipsec_dev->rules_rb_lock); in rule_search()917 static int rule_insert(struct mlx5_fpga_ipsec *ipsec_dev, in rule_insert() argument922 mutex_lock(&ipsec_dev->rules_rb_lock); in rule_insert()923 ret = _rule_insert(&ipsec_dev->rules_rb, rule); in rule_insert()924 mutex_unlock(&ipsec_dev->rules_rb_lock); in rule_insert()929 static inline void _rule_delete(struct mlx5_fpga_ipsec *ipsec_dev, in _rule_delete() argument932 struct rb_root *root = &ipsec_dev->rules_rb; in _rule_delete()[all …]