Lines Matching refs:realfile

2610 	my ($realfile) = @_;
2613 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2614 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2615 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2665 my $realfile = '';
2851 $realfile = $1;
2852 $realfile =~ s@^([^/]*)/@@ if (!$file);
2856 $realfile = $1;
2857 $realfile =~ s@^([^/]*)/@@ if (!$file);
2867 if ($realfile =~ m@^include/asm/@) {
2876 $prefix = "$realfile:$realline: "
2886 if (is_maintained_obsolete($realfile)) {
2888 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2890 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2897 if ($realfile !~ /^MAINTAINERS/) {
2900 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2912 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2945 my $permhere = $here . "FILE: $realfile\n";
2946 if ($realfile !~ m@scripts/@ &&
2947 $realfile !~ /\.(py|pl|awk|sh)$/) {
3249 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3419 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3432 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3446 if ($in_header_lines && $realfile =~ /^$/ &&
3462 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3605 if ($realfile =~ /Kconfig/ &&
3654 if ($realfile =~ /^MAINTAINERS$/) {
3695 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3696 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3730 if ($realfile =~ /\.(h|s|S)$/) {
3732 } elsif ($realfile =~ /\.(c|rs|dts|dtsi)$/) {
3734 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3736 } elsif ($realfile =~ /\.rst$/) {
3741 if ($realfile =~ /\.[chsS]$/ &&
3745 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3758 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3769 if ($realfile =~ m@^include/dt-bindings/@ &&
3779 if ($rawline =~ /^\+.*\b\Q$realfile\E\b/) {
3785 next if ($realfile !~ /\.(h|c|rs|s|S|sh|dtsi|dts)$/);
3869 if ($realfile =~ /\.S$/ &&
3876 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
4127 next if ($realfile !~ /\.(h|c)$/);
4551 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4619 !exclude_global_initialisers($realfile)) {
5305 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5495 if (($realfile !~ m@^(?:drivers/staging/)@) &&
5842 seed_camelcase_file($realfile);
5870 $realfile ne $checkfile &&
5875 if ($realfile =~ m{^arch/}) {
5889 if ($realfile !~ m@/vmlinux.lds.h$@ &&
6045 } elsif ($realfile =~ m@/vmlinux.lds.h$@) {
6062 $realfile !~ m@/vmlinux.lds.h$@ &&
6556 if ($realfile !~ m@^include/uapi/@ &&
6659 if ($realfile !~ m@^include/asm-generic/@ &&
6660 $realfile !~ m@/barrier\.h$@ &&
6684 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6712 if ($realfile !~ m@\binclude/uapi/@ &&
6723 if ($realfile !~ m@\binclude/uapi/@ &&
6797 if ($realfile !~ m@\binclude/uapi/@ &&
6798 $realfile !~ m@\btools/@ &&
7095 if ($realfile =~ /\.h$/ &&
7105 if ($realfile =~ /\.c$/ && defined $stat &&
7126 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7141 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7264 if ($realfile !~ m@^include/uapi/@ &&
7470 if ($realfile =~ m@^drivers/@) {
7473 } elsif ($realfile !~ m@^kernel/@) {
7497 if ($realfile !~ m{^$rcu_trace_paths}) {
7506 if ($realfile !~ m@^kernel/lockdep@ &&
7507 $realfile !~ m@^include/linux/lockdep@ &&
7508 $realfile !~ m@^drivers/base/core@) {