Home
last modified time | relevance | path

Searched refs:line (Results 1 – 18 of 18) sorted by relevance

/kvm-unit-tests/scripts/
H A Dpretty_print_stacks.py16 def pretty_print_stack(binary, line): argument
17 addrs = line.split()[1:]
37 puts(line)
40 for line in out.splitlines():
41 m = re.match(rb'(.*) at (.*):(([0-9]+)|\?)([^:]*)', line)
43 puts('%s\n' % line)
46 head, path, maybeline, line, tail = m.groups()
49 if line:
50 line = int(line)
55 if line > 1:
[all …]
H A Dcommon.bash27 while read -r -u $fd line; do
28 if [[ "$line" =~ ^\[(.*)\]$ ]]; then
49 elif [[ $line =~ ^file\ *=\ *(.*)$ ]]; then
51 elif [[ $line =~ ^smp\ *=\ *(.*)$ ]]; then
53 elif [[ $line =~ ^test_args\ *=\ *(.*)$ ]]; then
55 elif [[ $line =~ ^$params_name\ *=\ *'"""'(.*)$ ]]; then
71 elif [[ $line =~ ^$params_name\ *=\ *(.*)$ ]]; then
73 elif [[ $line =~ ^groups\ *=\ *(.*)$ ]]; then
75 elif [[ $line =~ ^arch\ *=\ *(.*)$ ]]; then
77 elif [[ $line =~ ^machine\ *=\ *(.*)$ ]]; then
[all …]
H A Dcheckpatch.pl232 my $line = $_;
234 $line =~ s/\s*\n?$//g;
235 $line =~ s/^\s*//g;
236 $line =~ s/\s+/ /g;
238 next if ($line =~ m/^\s*#/);
239 next if ($line =~ m/^\s*$/);
241 my @words = split(" ", $line);
261 my $line = $_;
262 $line =~ s/\s+$//;
264 if ($line =~ /^\s*\*\*(.+)\*\*$/) {
[all …]
H A Dget_maintainer.pl176 my $line = $_;
178 $line =~ s/\s*\n?$//g;
179 $line =~ s/^\s*//g;
180 $line =~ s/\s+/ /g;
182 next if ($line =~ m/^\s*#/);
183 next if ($line =~ m/^\s*$/);
185 my @words = split(" ", $line);
201 my $line = $_;
203 $line =~ s/\s*\n?$//;
204 $line =~ s/^\s*//;
[all …]
H A Darch-run.bash467 local line var
471 … '^[[:blank:]]*[[:alpha:]_][[:alnum:]_]*=' "$KVM_UNIT_TESTS_ENV_OLD" | while IFS= read -r line ; do
472 var=${line%%=*}
474 eval export "$line"
498 local line commit minver errata rest v p s x have
500 for line in $(grep -v '^#' "$ERRATATXT" | tr -d '[:blank:]' | cut -d: -f1,2); do
501 commit=${line%:*}
502 minver=${line#*:}
H A Dkernel-doc531 my $line;
544 foreach $line (split "\n", $contents) {
546 $line =~ s/^\s*//;
548 if ($line eq ""){
553 if ($output_mode eq "man" && substr($line, 0, 1) eq ".") {
554 print "\\&$line";
556 print $lineprefix, $line;
766 my $line;
771 foreach $line (split "\n",$input) {
777 if (! ($line =~ /^\s*$/)) {
[all …]
/kvm-unit-tests/lib/x86/
H A Dapic.c197 void ioapic_write_redir(unsigned line, ioapic_redir_entry_t e) in ioapic_write_redir() argument
199 ioapic_write_reg(0x10 + line * 2 + 0, ((u32 *)&e)[0]); in ioapic_write_redir()
200 ioapic_write_reg(0x10 + line * 2 + 1, ((u32 *)&e)[1]); in ioapic_write_redir()
203 ioapic_redir_entry_t ioapic_read_redir(unsigned line) in ioapic_read_redir() argument
207 ((u32 *)&e)[0] = ioapic_read_reg(0x10 + line * 2 + 0); in ioapic_read_redir()
208 ((u32 *)&e)[1] = ioapic_read_reg(0x10 + line * 2 + 1); in ioapic_read_redir()
213 void ioapic_set_redir(unsigned line, unsigned vec, in ioapic_set_redir() argument
222 ioapic_write_redir(line, e); in ioapic_set_redir()
225 void set_mask(unsigned line, int mask) in set_mask() argument
227 ioapic_redir_entry_t e = ioapic_read_redir(line); in set_mask()
[all …]
H A Dapic.h39 void ioapic_write_redir(unsigned line, ioapic_redir_entry_t e);
41 ioapic_redir_entry_t ioapic_read_redir(unsigned line);
44 void ioapic_set_redir(unsigned line, unsigned vec,
47 void set_mask(unsigned line, int mask);
49 void set_irq_line(unsigned line, int val);
H A Dintel-iommu.c337 uint8_t line; in vtd_setup_ioapic_irq() local
351 line = pci_intx_line(dev); in vtd_setup_ioapic_irq()
352 ioapic_write_redir(line, *entry_2); in vtd_setup_ioapic_irq()
/kvm-unit-tests/
H A Drun_tests.sh113 while read -r line; do
114 line="${line%"$CR"}"
128 echo "${line}"
133 while read -r line; do
134 case "${line}" in
138 *) echo "${line}" ;;
H A D.shellcheckrc12 # In run_tests.sh line 67:
H A DMAINTAINERS37 One pattern per line. Multiple F: lines acceptable.
51 One regex pattern per line. Multiple K: lines acceptable.
H A DREADME115 Unit tests use QEMU's '-append args...' parameter for command line
H A DREADME.md115 Unit tests use QEMU's '-append args...' parameter for command line
H A DLICENSE291 the "copyright" line and a pointer to where the full notice is found.
293 <one line to give the program's name and a brief idea of what it does.>
/kvm-unit-tests/x86/
H A Dioapic.c9 static void poll_remote_irr(unsigned line) in poll_remote_irr() argument
11 while (ioapic_read_redir(line).remote_irr) in poll_remote_irr()
15 static void toggle_irq_line(unsigned line) in toggle_irq_line() argument
17 set_irq_line(line, 1); in toggle_irq_line()
18 set_irq_line(line, 0); in toggle_irq_line()
378 static void ioapic_reconfigure_dest(int line) in ioapic_reconfigure_dest() argument
382 set_irq_line(line, 0); in ioapic_reconfigure_dest()
384 e = ioapic_read_redir(line); in ioapic_reconfigure_dest()
391 ioapic_write_reg(0x10 + line * 2 + 1, ((u32 *)&e)[1]); in ioapic_reconfigure_dest()
H A Daccess.c897 char line[5000]; in ac_test_show() local
899 *line = 0; in ac_test_show()
900 strcat(line, "test"); in ac_test_show()
903 strcat(line, " "); in ac_test_show()
904 strcat(line, ac_names[i]); in ac_test_show()
907 strcat(line, ": "); in ac_test_show()
908 printf("%s", line); in ac_test_show()
/kvm-unit-tests/docs/
H A Dunittests.txt16 # is the comment symbol, all following contents of the line is ignored.
18 Each unit test is defined with a [unit-test-name] line, followed by
84 'qemu_params', but uses kvmtool's syntax for command line arguments. The
120 Check a file for a particular value before running a test. The check line