Lines Matching refs:ivec

385 		while (my ($ivec, $ivst) = each %{$cpst->{ivecs}}) {
388 $ivst->{name}), $ivec,
484 my $ivec = $cpst->{ivecs}{$inum};
493 my $time = $newivec->{time} - $ivec->{time};
580 while (my ($inum, $ivec) = each %{$cpu->{ivecs}}) {
582 $newivecs->{$inum}{time} += $ivec->{time};
583 $newivecs->{$inum}{pil} = $ivec->{pil};
584 $newivecs->{$inum}{ino} = $ivec->{ino};
585 $newivecs->{$inum}{buspath} = $ivec->{buspath};
586 $newivecs->{$inum}{name} = $ivec->{name};
587 $newivecs->{$inum}{ihs} = $ivec->{ihs};
588 $newivecs->{$inum}{num_ino} = $ivec->{num_ino};
597 foreach my $ivec (values(%{$cpu->{ivecs}})) {
598 if ($ivec->{time} > $bigintr) {
599 $bigintr = $ivec->{time};
789 my $ivec = $delta->{$oldcpuid}{ivecs}{$inum};
794 $oldcpu->{intrs} -= $ivec->{time};
799 VERIFY($ivec->{time} <= $oldcpu->{bigintr},
802 if ($ivec->{time} >= $oldcpu->{bigintr}) {
805 foreach my $ivec (values(%{$oldcpu->{ivecs}})) {
806 $bigtime = $ivec->{time} if $ivec->{time} > $bigtime;
815 $ivec->{nowcpu} = $newcpuid;
816 $newcpu->{intrs} += $ivec->{time};
818 $newcpu->{ivecs}{$inum} = $ivec;
820 $newcpu->{bigintr} = $ivec->{time}
821 if $ivec->{time} > $newcpu->{bigintr};
837 foreach my $ivec (@_) {
838 $str = "$str $ivec->{inum}";
875 while (my ($inum, $ivec) = each %{$cpu->{ivecs}}) {
876 $ivec->{origcpu} = $cpuid;
877 $ivec->{nowcpu} = $cpuid;
878 $ivec->{inum} = $inum;
936 while (my ($inum, $ivec) = each %{$cpu->{ivecs}}) {
937 next if ($ivec->{origcpu} == $cpuid);
939 if (!intrmove($ivec->{buspath}, $ivec->{origcpu},
940 $ivec->{ino}, $cpuid, $ivec->{num_ino})) {
944 "$ivec->{buspath} ino $ivec->{ino} to ".
1038 foreach my $ivec (@ivecs) {
1039 syslog('debug', "ivec $ivec->{inum} goal $ivec->{goal}");
1040 VERIFY($ivec->{nowcpu} == $srccpuid ||
1041 $ivec->{nowcpu} == $tgtcpuid, "cpu2cpu found an ".
1044 if ($ivec->{goal} && $ivec->{nowcpu} != $srccpuid) {
1045 move_intr($delta, $ivec->{inum}, $ivec->{nowcpu},
1047 } elsif ($ivec->{goal} == 0 && $ivec->{nowcpu} != $tgtcpuid) {
1048 move_intr($delta, $ivec->{inum}, $ivec->{nowcpu},
1099 my $ivec;
1110 foreach $ivec (@$ivecs) {
1111 $tot += $ivec->{time};
1114 foreach $ivec (@$ivecs) {
1116 $tot -= $ivec->{time};
1125 foreach $ivec (@$ivecs) {
1126 if ($#goals > -1 && $ivec == $goals[0]) {
1127 syslog('debug', "inum $ivec->{inum} on source cpu");
1128 $ivec->{goal} = 1;
1131 syslog('debug', "inum $ivec->{inum} on target cpu");
1132 $ivec->{goal} = 0;