Searched refs:action_mem (Results 1 – 2 of 2) sorted by relevance
550 struct mlx5dr_rule_action_member *action_mem; in dr_rule_remove_action_members() local553 list_for_each_entry_safe(action_mem, tmp, &rule->rule_actions_list, list) { in dr_rule_remove_action_members()554 list_del(&action_mem->list); in dr_rule_remove_action_members()555 refcount_dec(&action_mem->action->refcount); in dr_rule_remove_action_members()556 kvfree(action_mem); in dr_rule_remove_action_members()564 struct mlx5dr_rule_action_member *action_mem; in dr_rule_add_action_members() local568 action_mem = kvzalloc(sizeof(*action_mem), GFP_KERNEL); in dr_rule_add_action_members()569 if (!action_mem) in dr_rule_add_action_members()572 action_mem->action = actions[i]; in dr_rule_add_action_members()573 INIT_LIST_HEAD(&action_mem->list); in dr_rule_add_action_members()[all …]
106 struct mlx5dr_rule_action_member *action_mem) in dr_dump_rule_action_mem() argument108 struct mlx5dr_action *action = action_mem->action; in dr_dump_rule_action_mem()256 struct mlx5dr_rule_action_member *action_mem; in dr_dump_rule() local280 list_for_each_entry(action_mem, &rule->rule_actions_list, list) { in dr_dump_rule()281 ret = dr_dump_rule_action_mem(file, rule_id, action_mem); in dr_dump_rule()