Lines Matching defs:vcaps
573 struct vas_caps *vcaps;
576 vcaps = &vascaps[type];
577 memset(vcaps, 0, sizeof(*vcaps));
578 INIT_LIST_HEAD(&vcaps->list);
580 vcaps->feat = feat;
581 caps = &vcaps->caps;
631 static int reconfig_open_windows(struct vas_caps *vcaps, int creds,
635 struct vas_cop_feat_caps *caps = &vcaps->caps;
643 if (!vcaps->nr_close_wins)
660 if ((vcaps->nr_close_wins > creds) && !migrate)
661 mv_ents = vcaps->nr_close_wins - creds;
663 list_for_each_entry_safe(win, tmp, &vcaps->list, win_list) {
679 list_for_each_entry_safe_from(win, tmp, &vcaps->list, win_list) {
717 if (!--vcaps->nr_close_wins)
835 struct vas_caps *vcaps;
843 vcaps = &vascaps[type];
844 caps = &vcaps->caps;
863 rc = reconfig_open_windows(vcaps, new_nr_creds - old_nr_creds,
871 nr_active_wins = vcaps->nr_open_windows - vcaps->nr_close_wins;
873 rc = reconfig_close_windows(vcaps,
958 struct vas_caps *vcaps;
975 vcaps = &vascaps[i];
976 caps = &vcaps->caps;
980 vcaps->feat,
996 vcaps->nr_open_windows - vcaps->nr_close_wins);
1015 rc = reconfig_close_windows(vcaps, vcaps->nr_open_windows,
1023 while (vcaps->nr_open_wins_progress) {
1033 rc = reconfig_open_windows(vcaps, new_nr_creds, true);