Lines Matching refs:new_nr_creds
851 int vas_reconfig_capabilties(u8 type, int new_nr_creds) in vas_reconfig_capabilties() argument
870 atomic_set(&caps->nr_total_credits, new_nr_creds); in vas_reconfig_capabilties()
877 if (old_nr_creds < new_nr_creds) { in vas_reconfig_capabilties()
883 rc = reconfig_open_windows(vcaps, new_nr_creds - old_nr_creds, in vas_reconfig_capabilties()
892 if (nr_active_wins > new_nr_creds) in vas_reconfig_capabilties()
894 nr_active_wins - new_nr_creds, in vas_reconfig_capabilties()
904 int new_nr_creds, rc; in pseries_vas_dlpar_cpu() local
917 new_nr_creds = be16_to_cpu(hv_cop_caps.target_lpar_creds); in pseries_vas_dlpar_cpu()
918 rc = vas_reconfig_capabilties(VAS_GZIP_DEF_FEAT_TYPE, new_nr_creds); in pseries_vas_dlpar_cpu()
977 int old_nr_creds, new_nr_creds = 0; in vas_migration_handler() local
1003 new_nr_creds = be16_to_cpu(hv_cop_caps.target_lpar_creds); in vas_migration_handler()
1010 if (old_nr_creds != new_nr_creds) { in vas_migration_handler()
1013 action, old_nr_creds, new_nr_creds); in vas_migration_handler()
1052 atomic_set(&caps->nr_total_credits, new_nr_creds); in vas_migration_handler()
1053 rc = reconfig_open_windows(vcaps, new_nr_creds, true); in vas_migration_handler()