Lines Matching refs:realfile

2596 	my ($realfile) = @_;
2599 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2600 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2601 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2648 my $realfile = '';
2834 $realfile = $1;
2835 $realfile =~ s@^([^/]*)/@@ if (!$file);
2839 $realfile = $1;
2840 $realfile =~ s@^([^/]*)/@@ if (!$file);
2850 if ($realfile =~ m@^include/asm/@) {
2859 $prefix = "$realfile:$realline: "
2869 if (is_maintained_obsolete($realfile)) {
2871 …"$realfile is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications ple…
2873 if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
2880 if ($realfile !~ /^MAINTAINERS/) {
2883 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;
2895 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
2928 my $permhere = $here . "FILE: $realfile\n";
2929 if ($realfile !~ m@scripts/@ &&
2930 $realfile !~ /\.(py|pl|awk|sh)$/) {
3226 if ($realfile eq '' && !$has_patch_separator && $line =~ /^\s*change-id:/i) {
3385 ($realfile =~ m@^Documentation/devicetree/bindings/.*\.txt$@)) {
3398 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
3412 if ($in_header_lines && $realfile =~ /^$/ &&
3428 if ($in_commit_log && $non_utf8_charset && $realfile =~ /^$/ &&
3571 if ($realfile =~ /Kconfig/ &&
3620 if ($realfile =~ /^MAINTAINERS$/) {
3659 if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
3675 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3676 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3710 if ($realfile =~ /\.(h|s|S)$/) {
3712 } elsif ($realfile =~ /\.(c|rs|dts|dtsi)$/) {
3714 } elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
3716 } elsif ($realfile =~ /\.rst$/) {
3721 if ($realfile =~ /\.[chsS]$/ &&
3725 … "Improper SPDX comment style for '$realfile', please use '$comment' instead\n" . $herecurr);
3738 if ($realfile =~ m@^Documentation/devicetree/bindings/@ &&
3754 if ($rawline =~ /^\+.*\b\Q$realfile\E\b/) {
3760 next if ($realfile !~ /\.(h|c|rs|s|S|sh|dtsi|dts)$/);
3844 if ($realfile =~ /\.S$/ &&
3851 next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/);
3967 if ($realfile =~ m@^(drivers/net/|net/)@ &&
4112 next if ($realfile !~ /\.(h|c)$/);
4536 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
4604 !exclude_global_initialisers($realfile)) {
5290 if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5480 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&
5823 seed_camelcase_file($realfile);
5851 $realfile ne $checkfile &&
5856 if ($realfile =~ m{^arch/}) {
5870 if ($realfile !~ m@/vmlinux.lds.h$@ &&
6034 $realfile !~ m@/vmlinux.lds.h$@ &&
6528 if ($realfile !~ m@^include/uapi/@ &&
6631 if ($realfile !~ m@^include/asm-generic/@ &&
6632 $realfile !~ m@/barrier\.h$@ &&
6656 …if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@inc…
6684 if ($realfile !~ m@\binclude/uapi/@ &&
6695 if ($realfile !~ m@\binclude/uapi/@ &&
6769 if ($realfile !~ m@\binclude/uapi/@ &&
6770 $realfile !~ m@\btools/@ &&
7036 if ($realfile =~ /\.h$/ &&
7046 if ($realfile =~ /\.c$/ && defined $stat &&
7067 } elsif ($realfile =~ /\.c$/ && defined $stat &&
7190 if ($realfile !~ m@^include/uapi/@ &&
7386 if ($realfile =~ m@^drivers/@) {
7389 } elsif ($realfile !~ m@^kernel/@) {
7398 if ($realfile !~ m@^kernel/lockdep@ &&
7399 $realfile !~ m@^include/linux/lockdep@ &&
7400 $realfile !~ m@^drivers/base/core@) {