Searched refs:action_mem (Results 1 – 2 of 2) sorted by relevance
578 struct mlx5dr_rule_action_member *action_mem; in dr_rule_remove_action_members() local581 list_for_each_entry_safe(action_mem, tmp, &rule->rule_actions_list, list) { in dr_rule_remove_action_members()582 list_del(&action_mem->list); in dr_rule_remove_action_members()583 refcount_dec(&action_mem->action->refcount); in dr_rule_remove_action_members()584 kvfree(action_mem); in dr_rule_remove_action_members()592 struct mlx5dr_rule_action_member *action_mem; in dr_rule_add_action_members() local596 action_mem = kvzalloc(sizeof(*action_mem), GFP_KERNEL); in dr_rule_add_action_members()597 if (!action_mem) in dr_rule_add_action_members()600 action_mem->action = actions[i]; in dr_rule_add_action_members()601 INIT_LIST_HEAD(&action_mem->list); in dr_rule_add_action_members()[all …]
209 struct mlx5dr_rule_action_member *action_mem) in dr_dump_rule_action_mem() argument211 struct mlx5dr_action *action = action_mem->action; in dr_dump_rule_action_mem()547 struct mlx5dr_rule_action_member *action_mem; in dr_dump_rule() local579 list_for_each_entry(action_mem, &rule->rule_actions_list, list) { in dr_dump_rule()580 ret = dr_dump_rule_action_mem(file, buff, rule_id, action_mem); in dr_dump_rule()