Lines Matching refs:file
268 my $file = '/boot/config-' . `uname -r`;
269 chomp $file;
270 @config_files = ($file, '/boot/config');
273 foreach my $file (@config_files) {
274 dprint("parsing config file: $file\n");
275 $value = option_from_file($option, $file);
287 my ($option, $file) = @_;
291 open(my $fh, "<", $file) or return "";
460 my ($file) = @_;
465 parse_file($file);
471 printf STDERR "timed out parsing: %s\n", $file;
477 my ($file) = @_;
479 open my $fh, "<:raw", $file or return;
489 printf("$file: $symbol @ $offset\n");
496 my ($file) = @_;
498 if (! -R $file) {
502 if (! -T $file) {
503 if ($file =~ m|^/sys/kernel/btf/| or
504 $file =~ m|^/sys/devices/pci| or
505 $file =~ m|^/sys/firmware/efi/efivars/| or
506 $file =~ m|^/proc/bus/pci/|) {
510 parse_binary($file);
515 open my $fh, "<", $file or return;
518 if (may_leak_address($file, $_)) {
519 printf("$file: $_\n");
545 foreach my $file (@files) {
546 next if ($file eq '.' or $file eq '..');
548 my $path = "$pwd/$file";
572 my ($file) = @_;
576 dump_raw_output($file);
580 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
599 my ($file) = @_;
601 open (my $fh, '<', $file) or die "$0: $file: $!\n";
615 my ($file) = @_;
622 open (my $fh, '<', $file) or die "$0: $file: $!\n";