Lines Matching refs:f
60 my $f = $doc_ref;
63 $f =~ s,.*\<([^\>]+)\>,$1,;
65 if ($f =~ m,^/,) {
66 $f = "$f.rst";
67 $f =~ s,^/,Documentation/,;
69 $f = "$d$f.rst";
72 next if (grep -e, glob("$f"));
88 my $f = $1;
92 next if ($f =~ m,^Next/,);
95 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
98 next if ($f eq $scriptname);
144 if ($f =~ m/tools/) {
145 my $path = $f;
151 if (defined($false_positives{$f})) {
152 next if ($false_positives{$f} eq $fulref);
160 print STDERR "Warning: $f references a file that doesn't exist: $fulref\n";
162 print STDERR "$f: $fulref\n";
183 my $f="";
188 if (!$f) {
191 $f=$new_ref if (-f $new_ref);
194 if (!$f) {
197 $f = qx(find Documentation/devicetree/ -iname "*$search*") if ($search);
198 if (!$f) {
201 $f = qx(find Documentation/devicetree/ -iname "*$search*") if ($search);
207 if (!$f) {
209 $f=qx(find $basedir -iname $new) if ($new);
213 if (!$f) {
215 $f=qx(find $basedir -iname $new) if ($new);
219 if (!$f) {
220 $f = qx(find $basedir -iname $new) if ($new);
223 my @find = split /\s+/, $f;
225 if (!$f) {
234 $f = $find[0];
235 $f =~ s,^./,,;
236 print "INFO: Replacing $ref to $f\n";
238 qx(sed "s\@$ref\@$f\@g" -i $j);