Lines Matching refs:is_update
35 bool is_update) in validate_user_input() argument
47 if (!is_update) { in validate_user_input()
370 bool is_update) in can_parent_afford_sla() argument
374 if (is_update) in can_parent_afford_sla()
413 bool is_update) in is_enough_budget() argument
425 is_update); in is_enough_budget()
429 is_update); in is_enough_budget()
431 if (is_update) in is_enough_budget()
436 if (is_update) in is_enough_budget()
448 static void update_budget(struct rl_sla *sla, u32 old_cir, bool is_update) in update_budget() argument
452 if (is_update) in update_budget()
459 if (is_update) { in update_budget()
469 if (is_update) in update_budget()
822 struct adf_rl_sla_input_data *sla_in, bool is_update) in add_update_sla() argument
839 ret = validate_user_input(accel_dev, sla_in, is_update); in add_update_sla()
843 if (is_update) { in add_update_sla()
856 if (!is_enough_budget(rl_data, sla, sla_in, is_update)) { in add_update_sla()
859 is_update ? " or more budget is already in use" : ""); in add_update_sla()
868 ret = adf_rl_send_admin_add_update_msg(accel_dev, sla, is_update); in add_update_sla()
874 update_budget(sla, old_cir, is_update); in add_update_sla()
876 if (!is_update) { in add_update_sla()
887 if (!is_update) { in add_update_sla()