Lines Matching refs:realfile
2402 my $realfile = '';
2588 $realfile = $1;
2589 $realfile =~ s@^([^/]*)/@@ if (!$file);
2593 $realfile = $1;
2594 $realfile =~ s@^([^/]*)/@@ if (!$file);
2604 if ($realfile =~ m@^include/asm/@) {
2613 $prefix = "$realfile:$realline: "
2623 if (is_maintained_obsolete($realfile)) {
2625 "$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.\n");
2627 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2634 if ($realfile !~ /^MAINTAINERS/) {
2637 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2649 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2682 my $permhere = $here . "FILE: $realfile\n";
2683 if ($realfile !~ m@scripts/@ &&
2684 $realfile !~ /\.(py|pl|awk|sh)$/) {
2847 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
2959 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
2972 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
2986 if ($in_header_lines && $realfile =~ /^$/ &&
3002 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3124 if ($realfile =~ /Kconfig/ &&
3173 if ($realfile =~ /^MAINTAINERS$/) {
3213 if ($realfile =~ /Kconfig/ &&
3219 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3235 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3236 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3270 if ($realfile =~ /\.(h|s|S)$/) {
3272 } elsif ($realfile =~ /\.(c|dts|dtsi)$/) {
3274 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3276 } elsif ($realfile =~ /\.rst$/) {
3281 if ($realfile =~ /\.[chsS]$/ &&
3285 "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3298 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3314 if ($rawline =~ /^\+.*\Q$realfile\E/) {
3320 next if ($realfile !~ /\.(h|c|s|S|sh|dtsi|dts)$/);
3401 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
3503 if ($realfile =~ m@^(drivers/net/|net/)@ &&
3643 next if ($realfile !~ /\.(h|c)$/);
4063 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4988 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5311 seed_camelcase_file($realfile);
5339 $realfile ne $checkfile &&
5344 if ($realfile =~ m{^arch/}) {
5358 if ($realfile !~ m@/vmlinux.lds.h$@ &&
5521 $realfile !~ m@/vmlinux.lds.h$@ &&
5981 if ($realfile !~ m@^include/uapi/@ &&
6028 # if ($line =~ /^.\s*\#\s*if(|n)def/ && ($realfile =~ /\.c$/)) {
6084 if ($realfile !~ m@^include/asm-generic/@ &&
6085 $realfile !~ m@/barrier\.h$@ &&
6109 if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@include/asm-@) {
6137 if ($realfile !~ m@\binclude/uapi/@ &&
6148 if ($realfile !~ m@\binclude/uapi/@ &&
6155 if ($realfile !~ m@\binclude/uapi/@ &&
6162 if ($realfile !~ m@\binclude/uapi/@ &&
6174 if ($realfile !~ m@\binclude/uapi/@ &&
6185 if ($realfile !~ m@\binclude/uapi/@ &&
6204 if ($realfile !~ m@\binclude/uapi/@ &&
6205 $realfile !~ m@\btools/@ &&
6459 if ($realfile =~ /\.h$/ &&
6469 if ($realfile =~ /\.c$/ && defined $stat &&
6490 } elsif ($realfile =~ /\.c$/ && defined $stat &&
6611 if ($realfile !~ m@^include/uapi/@ &&
6794 if ($realfile =~ m@^drivers/@) {
6797 } elsif ($realfile !~ m@^kernel/@) {
6812 if ($realfile !~ m@^kernel/lockdep@ &&
6813 $realfile !~ m@^include/linux/lockdep@ &&
6814 $realfile !~ m@^drivers/base/core@) {