Lines Matching refs:realfile

2583 	my ($realfile) = @_;
2586 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2587 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2588 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2635 my $realfile = '';
2821 $realfile = $1;
2822 $realfile =~ s@^([^/]*)/@@ if (!$file);
2826 $realfile = $1;
2827 $realfile =~ s@^([^/]*)/@@ if (!$file);
2837 if ($realfile =~ m@^include/asm/@) {
2846 $prefix = "$realfile:$realline: "
2856 if (is_maintained_obsolete($realfile)) {
2858 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2860 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2867 if ($realfile !~ /^MAINTAINERS/) {
2870 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2882 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2915 my $permhere = $here . "FILE: $realfile\n";
2916 if ($realfile !~ m@scripts/@ &&
2917 $realfile !~ /\.(py|pl|awk|sh)$/) {
3201 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3342 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3355 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3369 if ($in_header_lines && $realfile =~ /^$/ &&
3385 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3528 if ($realfile =~ /Kconfig/ &&
3577 if ($realfile =~ /^MAINTAINERS$/) {
3616 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3632 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3633 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3667 if ($realfile =~ /\.(h|s|S)$/) {
3669 } elsif ($realfile =~ /\.(c|rs|dts|dtsi)$/) {
3671 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3673 } elsif ($realfile =~ /\.rst$/) {
3678 if ($realfile =~ /\.[chsS]$/ &&
3682 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3695 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3711 if ($rawline =~ /^\+.*\Q$realfile\E/) {
3717 next if ($realfile !~ /\.(h|c|rs|s|S|sh|dtsi|dts)$/);
3801 if ($realfile =~ /\.S$/ &&
3808 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
3924 if ($realfile =~ m@^(drivers/net/|net/)@ &&
4069 next if ($realfile !~ /\.(h|c)$/);
4493 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4561 !exclude_global_initialisers($realfile)) {
5247 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5437 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5780 seed_camelcase_file($realfile);
5808 $realfile ne $checkfile &&
5813 if ($realfile =~ m{^arch/}) {
5827 if ($realfile !~ m@/vmlinux.lds.h$@ &&
5990 $realfile !~ m@/vmlinux.lds.h$@ &&
6484 if ($realfile !~ m@^include/uapi/@ &&
6587 if ($realfile !~ m@^include/asm-generic/@ &&
6588 $realfile !~ m@/barrier\.h$@ &&
6612 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6640 if ($realfile !~ m@\binclude/uapi/@ &&
6651 if ($realfile !~ m@\binclude/uapi/@ &&
6725 if ($realfile !~ m@\binclude/uapi/@ &&
6726 $realfile !~ m@\btools/@ &&
6992 if ($realfile =~ /\.h$/ &&
7002 if ($realfile =~ /\.c$/ && defined $stat &&
7023 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7146 if ($realfile !~ m@^include/uapi/@ &&
7342 if ($realfile =~ m@^drivers/@) {
7345 } elsif ($realfile !~ m@^kernel/@) {
7354 if ($realfile !~ m@^kernel/lockdep@ &&
7355 $realfile !~ m@^include/linux/lockdep@ &&
7356 $realfile !~ m@^drivers/base/core@) {