Lines Matching refs:f
56 my $f = $doc_ref;
59 $f =~ s,.*\<([^\>]+)\>,$1,;
61 $f ="$d$f.rst";
63 next if (grep -e, glob("$f"));
70 print STDERR "$f: :doc:`$doc_ref`\n";
79 my $f = $1;
83 next if ($f =~ m,^Next/,);
86 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
89 next if ($f eq $scriptname);
129 if ($f =~ m/tools/) {
130 my $path = $f;
136 if (defined($false_positives{$f})) {
137 next if ($false_positives{$f} eq $fulref);
145 print STDERR "Warning: $f references a file that doesn't exist: $fulref\n";
147 print STDERR "$f: $fulref\n";
168 my $f="";
173 if (!$f) {
176 $f=$new_ref if (-f $new_ref);
179 if (!$f) {
182 $f = qx(find doc/device-tree-bindings/ -iname "*$search*") if ($search);
183 if (!$f) {
186 $f = qx(find doc/device-tree-bindings/ -iname "*$search*") if ($search);
192 if (!$f) {
194 $f=qx(find $basedir -iname $new) if ($new);
198 if (!$f) {
200 $f=qx(find $basedir -iname $new) if ($new);
204 if (!$f) {
205 $f = qx(find $basedir -iname $new) if ($new);
208 my @find = split /\s+/, $f;
210 if (!$f) {
219 $f = $find[0];
220 $f =~ s,^./,,;
221 print "INFO: Replacing $ref to $f\n";
223 qx(sed "s\@$ref\@$f\@g" -i $j);