Lines Matching refs:realfile
2551 my ($realfile) = @_;
2554 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2555 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2556 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2603 my $realfile = '';
2789 $realfile = $1;
2790 $realfile =~ s@^([^/]*)/@@ if (!$file);
2794 $realfile = $1;
2795 $realfile =~ s@^([^/]*)/@@ if (!$file);
2805 if ($realfile =~ m@^include/asm/@) {
2814 $prefix = "$realfile:$realline: "
2824 if (is_maintained_obsolete($realfile)) {
2826 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2828 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2835 if ($realfile !~ /^MAINTAINERS/) {
2838 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2850 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2883 my $permhere = $here . "FILE: $realfile\n";
2884 if ($realfile !~ m@scripts/@ &&
2885 $realfile !~ /\.(py|pl|awk|sh)$/) {
3125 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3266 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3279 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3293 if ($in_header_lines && $realfile =~ /^$/ &&
3309 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3452 if ($realfile =~ /Kconfig/ &&
3501 if ($realfile =~ /^MAINTAINERS$/) {
3540 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3556 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3557 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3591 if ($realfile =~ /\.(h|s|S)$/) {
3593 } elsif ($realfile =~ /\.(c|dts|dtsi)$/) {
3595 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3597 } elsif ($realfile =~ /\.rst$/) {
3602 if ($realfile =~ /\.[chsS]$/ &&
3606 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3619 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3635 if ($rawline =~ /^\+.*\Q$realfile\E/) {
3641 next if ($realfile !~ /\.(h|c|s|S|sh|dtsi|dts)$/);
3725 if ($realfile =~ /\.S$/ &&
3732 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
3848 if ($realfile =~ m@^(drivers/net/|net/)@ &&
3993 next if ($realfile !~ /\.(h|c)$/);
4417 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4484 !exclude_global_initialisers($realfile)) {
5170 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5360 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5689 seed_camelcase_file($realfile);
5717 $realfile ne $checkfile &&
5722 if ($realfile =~ m{^arch/}) {
5736 if ($realfile !~ m@/vmlinux.lds.h$@ &&
5899 $realfile !~ m@/vmlinux.lds.h$@ &&
6393 if ($realfile !~ m@^include/uapi/@ &&
6496 if ($realfile !~ m@^include/asm-generic/@ &&
6497 $realfile !~ m@/barrier\.h$@ &&
6521 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6549 if ($realfile !~ m@\binclude/uapi/@ &&
6560 if ($realfile !~ m@\binclude/uapi/@ &&
6634 if ($realfile !~ m@\binclude/uapi/@ &&
6635 $realfile !~ m@\btools/@ &&
6897 if ($realfile =~ /\.h$/ &&
6907 if ($realfile =~ /\.c$/ && defined $stat &&
6928 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7049 if ($realfile !~ m@^include/uapi/@ &&
7245 if ($realfile =~ m@^drivers/@) {
7248 } elsif ($realfile !~ m@^kernel/@) {
7257 if ($realfile !~ m@^kernel/lockdep@ &&
7258 $realfile !~ m@^include/linux/lockdep@ &&
7259 $realfile !~ m@^drivers/base/core@) {