Lines Matching refs:action_value

127 				       struct devlink_dpipe_value *action_value,  in mlxsw_sp_erif_entry_prepare()  argument
133 entry->action_values = action_value; in mlxsw_sp_erif_entry_prepare()
142 action_value->action = action; in mlxsw_sp_erif_entry_prepare()
143 action_value->value_size = sizeof(u32); in mlxsw_sp_erif_entry_prepare()
144 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare()
145 if (!action_value->value) in mlxsw_sp_erif_entry_prepare()
159 u32 *action_value; in mlxsw_sp_erif_entry_get() local
171 action_value = entry->action_values->value; in mlxsw_sp_erif_entry_get()
172 *action_value = 1; in mlxsw_sp_erif_entry_get()
195 struct devlink_dpipe_value match_value, action_value; in mlxsw_sp_dpipe_table_erif_entries_dump() local
205 memset(&action_value, 0, sizeof(action_value)); in mlxsw_sp_dpipe_table_erif_entries_dump()
209 &action_value, &action); in mlxsw_sp_dpipe_table_erif_entries_dump()
404 struct devlink_dpipe_value *action_value, in mlxsw_sp_dpipe_table_host_entry_prepare() argument
414 entry->action_values = action_value; in mlxsw_sp_dpipe_table_host_entry_prepare()
446 action_value->action = action; in mlxsw_sp_dpipe_table_host_entry_prepare()
447 action_value->value_size = sizeof(u64); in mlxsw_sp_dpipe_table_host_entry_prepare()
448 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_dpipe_table_host_entry_prepare()
449 if (!action_value->value) in mlxsw_sp_dpipe_table_host_entry_prepare()
623 struct devlink_dpipe_value action_value; in mlxsw_sp_dpipe_table_host_entries_dump() local
632 memset(&action_value, 0, sizeof(action_value)); in mlxsw_sp_dpipe_table_host_entries_dump()
636 matches, &action_value, in mlxsw_sp_dpipe_table_host_entries_dump()
973 { struct devlink_dpipe_value *action_value; in mlxsw_sp_dpipe_table_adj_entry_prepare() local
1012 action_value = &action_values[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_DST_MAC]; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1014 action_value->action = action; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1015 action_value->value_size = sizeof(u64); in mlxsw_sp_dpipe_table_adj_entry_prepare()
1016 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_dpipe_table_adj_entry_prepare()
1017 if (!action_value->value) in mlxsw_sp_dpipe_table_adj_entry_prepare()
1021 action_value = &action_values[MLXSW_SP_DPIPE_TABLE_ADJ_ACTION_ERIF_PORT]; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1023 action_value->action = action; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1024 action_value->value_size = sizeof(u32); in mlxsw_sp_dpipe_table_adj_entry_prepare()
1025 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_dpipe_table_adj_entry_prepare()
1026 if (!action_value->value) in mlxsw_sp_dpipe_table_adj_entry_prepare()