Home
last modified time | relevance | path

Searched refs:sla_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_rl.c81 static int validate_sla_id(struct adf_accel_dev *accel_dev, int sla_id) in validate_sla_id() argument
85 if (sla_id <= RL_SLA_EMPTY_ID || sla_id >= RL_NODES_CNT_MAX) { in validate_sla_id()
90 sla = accel_dev->rate_limiting->sla[sla_id]; in validate_sla_id()
686 sla->sla_id = ret; in add_new_sla_entry()
768 int i, sla_id, node_id; in clear_sla() local
771 sla_id = sla->sla_id; in clear_sla()
787 rl_data->sla[sla_id] = NULL; in clear_sla()
794 int sla_id; in free_all_sla() local
798 for (sla_id = 0; sla_id < RL_NODES_CNT_MAX; sla_id++) { in free_all_sla()
799 if (!rl_data->sla[sla_id]) in free_all_sla()
[all …]
Dadf_rl.h64 int sla_id; member
145 u32 sla_id; member
163 enum adf_base_services srv, int sla_id);
164 int adf_rl_remove_sla(struct adf_accel_dev *accel_dev, u32 sla_id);
Dadf_sysfs_rl.c98 data->input.sla_id = set; in set_param_s()
152 ret = data->input.sla_id; in get_param_s()
376 data->input.sla_id = 0; in sla_op_store()
387 ret = adf_rl_remove_sla(accel_dev, data->input.sla_id); in sla_op_store()