Lines Matching refs:file
239 my $file = '/boot/config-' . `uname -r`;
240 chomp $file;
241 @config_files = ($file, '/boot/config');
244 foreach my $file (@config_files) {
245 dprint("parsing config file: $file\n");
246 $value = option_from_file($option, $file);
262 my ($option, $file) = @_;
266 open(my $fh, "<", $file) or return "";
429 my ($file) = @_;
434 parse_file($file);
440 printf STDERR "timed out parsing: %s\n", $file;
446 my ($file) = @_;
448 if (! -R $file) {
452 if (! -T $file) {
456 open my $fh, "<", $file or return;
460 printf("$file: $_\n");
486 foreach my $file (@files) {
487 next if ($file eq '.' or $file eq '..');
489 my $path = "$pwd/$file";
513 my ($file) = @_;
517 dump_raw_output($file);
521 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
540 my ($file) = @_;
542 open (my $fh, '<', $file) or die "$0: $file: $!\n";
556 my ($file) = @_;
563 open (my $fh, '<', $file) or die "$0: $file: $!\n";