Lines Matching refs:realfile
2619 my ($realfile) = @_;
2622 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2623 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2624 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2674 my $realfile = '';
2860 $realfile = $1;
2861 $realfile =~ s@^([^/]*)/@@ if (!$file);
2865 $realfile = $1;
2866 $realfile =~ s@^([^/]*)/@@ if (!$file);
2876 if ($realfile =~ m@^include/asm/@) {
2885 $prefix = "$realfile:$realline: "
2895 if (is_maintained_obsolete($realfile)) {
2897 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2899 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2906 if ($realfile !~ /^MAINTAINERS/) {
2909 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2921 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2954 my $permhere = $here . "FILE: $realfile\n";
2955 if ($realfile !~ m@scripts/@ &&
2956 $realfile !~ /\.(py|pl|awk|sh)$/) {
3263 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3433 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3446 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3460 if ($in_header_lines && $realfile =~ /^$/ &&
3476 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3619 if ($realfile =~ /Kconfig/ &&
3668 if ($realfile =~ /^MAINTAINERS$/) {
3707 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3723 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3724 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3758 if ($realfile =~ /\.(h|s|S)$/) {
3760 } elsif ($realfile =~ /\.(c|rs|dts|dtsi)$/) {
3762 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3764 } elsif ($realfile =~ /\.rst$/) {
3769 if ($realfile =~ /\.[chsS]$/ &&
3773 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3786 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3797 if ($realfile =~ m@^include/dt-bindings/@ &&
3807 if ($rawline =~ /^\+.*\b\Q$realfile\E\b/) {
3813 next if ($realfile !~ /\.(h|c|rs|s|S|sh|dtsi|dts)$/);
3897 if ($realfile =~ /\.S$/ &&
3904 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
4155 next if ($realfile !~ /\.(h|c)$/);
4579 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4647 !exclude_global_initialisers($realfile)) {
5333 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5523 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5868 seed_camelcase_file($realfile);
5896 $realfile ne $checkfile &&
5901 if ($realfile =~ m{^arch/}) {
5915 if ($realfile !~ m@/vmlinux.lds.h$@ &&
6071 } elsif ($realfile =~ m@/vmlinux.lds.h$@) {
6088 $realfile !~ m@/vmlinux.lds.h$@ &&
6582 if ($realfile !~ m@^include/uapi/@ &&
6685 if ($realfile !~ m@^include/asm-generic/@ &&
6686 $realfile !~ m@/barrier\.h$@ &&
6710 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6738 if ($realfile !~ m@\binclude/uapi/@ &&
6749 if ($realfile !~ m@\binclude/uapi/@ &&
6823 if ($realfile !~ m@\binclude/uapi/@ &&
6824 $realfile !~ m@\btools/@ &&
7121 if ($realfile =~ /\.h$/ &&
7131 if ($realfile =~ /\.c$/ && defined $stat &&
7152 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7167 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7290 if ($realfile !~ m@^include/uapi/@ &&
7496 if ($realfile =~ m@^drivers/@) {
7499 } elsif ($realfile !~ m@^kernel/@) {
7523 if ($realfile !~ m{^$rcu_trace_paths}) {
7532 if ($realfile !~ m@^kernel/lockdep@ &&
7533 $realfile !~ m@^include/linux/lockdep@ &&
7534 $realfile !~ m@^drivers/base/core@) {