Lines Matching refs:realfile

2576 	my ($realfile) = @_;
2579 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2580 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2581 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2628 my $realfile = '';
2814 $realfile = $1;
2815 $realfile =~ s@^([^/]*)/@@ if (!$file);
2819 $realfile = $1;
2820 $realfile =~ s@^([^/]*)/@@ if (!$file);
2830 if ($realfile =~ m@^include/asm/@) {
2839 $prefix = "$realfile:$realline: "
2849 if (is_maintained_obsolete($realfile)) {
2851 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2853 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2860 if ($realfile !~ /^MAINTAINERS/) {
2863 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2875 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2908 my $permhere = $here . "FILE: $realfile\n";
2909 if ($realfile !~ m@scripts/@ &&
2910 $realfile !~ /\.(py|pl|awk|sh)$/) {
3150 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3291 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3304 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3318 if ($in_header_lines && $realfile =~ /^$/ &&
3334 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3477 if ($realfile =~ /Kconfig/ &&
3526 if ($realfile =~ /^MAINTAINERS$/) {
3565 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3581 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3582 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3616 if ($realfile =~ /\.(h|s|S)$/) {
3618 } elsif ($realfile =~ /\.(c|dts|dtsi)$/) {
3620 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3622 } elsif ($realfile =~ /\.rst$/) {
3627 if ($realfile =~ /\.[chsS]$/ &&
3631 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3644 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3660 if ($rawline =~ /^\+.*\Q$realfile\E/) {
3666 next if ($realfile !~ /\.(h|c|s|S|sh|dtsi|dts)$/);
3750 if ($realfile =~ /\.S$/ &&
3757 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
3873 if ($realfile =~ m@^(drivers/net/|net/)@ &&
4018 next if ($realfile !~ /\.(h|c)$/);
4442 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4510 !exclude_global_initialisers($realfile)) {
5196 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5386 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5715 seed_camelcase_file($realfile);
5743 $realfile ne $checkfile &&
5748 if ($realfile =~ m{^arch/}) {
5762 if ($realfile !~ m@/vmlinux.lds.h$@ &&
5925 $realfile !~ m@/vmlinux.lds.h$@ &&
6419 if ($realfile !~ m@^include/uapi/@ &&
6522 if ($realfile !~ m@^include/asm-generic/@ &&
6523 $realfile !~ m@/barrier\.h$@ &&
6547 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6575 if ($realfile !~ m@\binclude/uapi/@ &&
6586 if ($realfile !~ m@\binclude/uapi/@ &&
6660 if ($realfile !~ m@\binclude/uapi/@ &&
6661 $realfile !~ m@\btools/@ &&
6923 if ($realfile =~ /\.h$/ &&
6933 if ($realfile =~ /\.c$/ && defined $stat &&
6954 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7075 if ($realfile !~ m@^include/uapi/@ &&
7271 if ($realfile =~ m@^drivers/@) {
7274 } elsif ($realfile !~ m@^kernel/@) {
7283 if ($realfile !~ m@^kernel/lockdep@ &&
7284 $realfile !~ m@^include/linux/lockdep@ &&
7285 $realfile !~ m@^drivers/base/core@) {