Repository Analysis

torvalds/linux

Linux kernel source tree

3.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of torvalds/linux, a C project with 239,394 GitHub stars. SynthScan v2.0 examined 34,602,828 lines of code across 73499 source files, recording 135521 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 3.2 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.2
Adjusted Score
3.2
Raw Score
100%
Time Factor
2026-07-13
Last Push
239.4K
Stars
C
Language
34.6M
Lines of Code
73.5K
Files
135.5K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 11HIGH 43MEDIUM 379LOW 135088

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 135521 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block133505 hits · 107978 pts
SeverityFileLineSnippetContext
LOW.rustfmt.toml1edition = "2021"COMMENT
LOWinit/initramfs_internal.h1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/do_mounts_rd.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/do_mounts.c1// SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWinit/initramfs.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/initramfs_test.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/init_task.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/init_task.c241#ifdef CONFIG_TRACE_IRQFLAGSCOMMENT
LOWinit/main.c21#include <linux/kernel.h>COMMENT
LOWinit/main.c41#include <linux/kernel_stat.h>COMMENT
LOWinit/main.c61#include <linux/delayacct.h>COMMENT
LOWinit/main.c81#include <linux/async.h>COMMENT
LOWinit/main.c101#include <linux/kcsan.h>COMMENT
LOWinit/do_mounts.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWcrypto/md4.c21 *COMMENT
LOWcrypto/internal.h1/* SPDX-License-Identifier: GPL-2.0-or-later */COMMENT
LOWcrypto/aead.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/pcrypt.c1// SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWcrypto/zstd.c1// SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWcrypto/xts.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/tcrypt.c21COMMENT
LOWcrypto/rsa-pkcs1pad.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/gcm.c1// SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWcrypto/ecc.c21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYCOMMENT
LOWcrypto/ccm.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/algapi.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/af_alg.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/testmgr.c21#include <crypto/skcipher.h>COMMENT
LOWcrypto/authencesn.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/aegis128-core.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/crypto_user.c1// SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWcrypto/algboss.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/scompress.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/cts.c41 */COMMENT
LOWcrypto/akcipher.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/acompress.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/wp512.c21 */COMMENT
LOWcrypto/ripemd.h21#define RMD_K2 0x5a827999ULCOMMENT
LOWcrypto/authenc.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/crypto_engine.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/chacha20poly1305.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/camellia_generic.c301/* key constants */COMMENT
LOWcrypto/rmd160.c21COMMENT
LOWcrypto/rng.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/x509_cert_parser.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/public_key.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/pkcs7_parser.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/pkcs7_trust.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/x509_public_key.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/pkcs8_parser.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/verify_pefile.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/asymmetric_type.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/asymmetric_keys/pkcs7_verify.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/krb5/rfc3961_simplified.c61COMMENT
LOWDocumentation/conf.py341# The reST default role (used for this markup: `text`) to use for allCOMMENT
LOW…ation/trace/postprocess/trace-pagealloc-postprocess.pl1#!/usr/bin/env perlCOMMENT
LOW…entation/trace/postprocess/trace-vmscan-postprocess.pl1#!/usr/bin/env perlCOMMENT
LOWDocumentation/admin-guide/aoe/udev.txt1# These rules tell udev what device nodes to create for aoe support.COMMENT
LOWDocumentation/admin-guide/kdump/gdbmacros.txt1#COMMENT
LOWDocumentation/admin-guide/cifs/winucase_convert.pl1#!/usr/bin/perl -wCOMMENT
133445 more matches not shown…
Decorative Section Separators194 hits · 672 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/conf.py60# -------------------------------------------------COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py82# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py84# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py116# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py403# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py513# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py42# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py44# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py51# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py53# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py57# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py59# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py71# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py73# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py82# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py84# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py94# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py97# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py99# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py101# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py135# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/rstFlatTable.py137# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kfigure.py72# -------------COMMENT
MEDIUMDocumentation/sphinx/kfigure.py109# -------------------------------------------COMMENT
MEDIUMDocumentation/sphinx/kfigure.py235# --------------------------COMMENT
MEDIUMDocumentation/sphinx/kfigure.py434# ---------------------COMMENT
MEDIUMDocumentation/sphinx/kfigure.py471# ---------------------COMMENT
MEDIUMDocumentation/sphinx/kfigure.py509# ---------------------COMMENT
MEDIUM…ation/devicetree/bindings/net/ethernet-controller.yaml271# ===========COMMENT
MEDIUM…on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml65# --------------------COMMENT
MEDIUM…on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml83# ==========================COMMENT
MEDIUM…on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml197# --------------------COMMENT
MEDIUM…devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml88# --------------------COMMENT
MEDIUM…on/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml75# --------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71828-regulator.yaml85 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71828-regulator.yaml87 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71828-regulator.yaml89 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71837-regulator.yaml85 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71837-regulator.yaml87 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71837-regulator.yaml89 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71837-regulator.yaml91 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71837-regulator.yaml93 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71847-regulator.yaml84 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71847-regulator.yaml86 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd71847-regulator.yaml88 # ----------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml69 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml71 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml73 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml133 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml135 # --------------------------------------------------------------COMMENT
MEDIUM…icetree/bindings/regulator/rohm,bd72720-regulator.yaml137 # --------------------------------------------------------------COMMENT
MEDIUM…umentation/devicetree/bindings/sound/renesas,rsnd.yaml283 # --------------------COMMENT
MEDIUM…umentation/devicetree/bindings/sound/renesas,rsnd.yaml285 # --------------------COMMENT
MEDIUM…umentation/devicetree/bindings/sound/renesas,rsnd.yaml340 # --------------------COMMENT
MEDIUM…umentation/devicetree/bindings/sound/renesas,rsnd.yaml342 # --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml278# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml280# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml307# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml309# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml350# --------------------COMMENT
134 more matches not shown…
Unused Imports440 hits · 382 pts
SeverityFileLineSnippetContext
LOWDocumentation/conf.py400CODE
LOWDocumentation/sphinx/kernel_feat.py34CODE
LOWDocumentation/sphinx/kernel_feat.py39CODE
LOWDocumentation/sphinx/kernel_abi.py36CODE
LOWDocumentation/sphinx/translations.py14CODE
LOWDocumentation/sphinx/translations.py16CODE
LOWDocumentation/sphinx/parser_yaml.py15CODE
LOWDocumentation/sphinx/automarkup.py8CODE
LOWDocumentation/sphinx/kerneldoc.py29CODE
LOWDocumentation/sphinx/kerneldoc.py31CODE
LOWDocumentation/sphinx/kerneldoc.py39CODE
LOWDocumentation/sphinx/kfigure.py61CODE
LOWtools/power/pm-graph/bootgraph.py30CODE
LOWtools/power/pm-graph/sleepgraph.py56CODE
LOW…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py36CODE
LOW…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py37CODE
LOWtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py21CODE
LOWtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py30CODE
LOWtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py31CODE
LOWtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py32CODE
LOWtools/crypto/ccp/test_dbc.py13CODE
LOWtools/crypto/ccp/dbc_cli.py7CODE
LOWtools/net/sunrpc/xdrgen/generators/header_bottom.py6CODE
LOWtools/net/sunrpc/xdrgen/generators/header_bottom.py7CODE
LOWtools/net/sunrpc/xdrgen/generators/source_top.py11CODE
LOWtools/net/sunrpc/xdrgen/generators/source_top.py11CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py5CODE
LOWtools/net/ynl/pyynl/lib/__init__.py8CODE
LOWtools/net/ynl/pyynl/lib/__init__.py8CODE
LOWtools/net/ynl/pyynl/lib/__init__.py8CODE
LOWtools/net/ynl/pyynl/lib/__init__.py8CODE
LOWtools/net/ynl/pyynl/lib/__init__.py8CODE
LOWtools/net/ynl/pyynl/lib/__init__.py10CODE
LOWtools/workqueue/wq_dump.py50CODE
LOWtools/workqueue/wq_monitor.py40CODE
LOWtools/unittests/test_kdoc_parser.py19CODE
LOWtools/unittests/test_tokenizer.py13CODE
LOWtools/unittests/test_kdoc_test_schema.py25CODE
LOWtools/unittests/test_kdoc_test_schema.py28CODE
LOWtools/unittests/test_kdoc_test_schema.py28CODE
LOWtools/unittests/test_kdoc_test_schema.py28CODE
LOWtools/unittests/test_cmatch.py24CODE
LOWtools/sched/root_domains_dump.py14CODE
LOWtools/sched/root_domains_dump.py19CODE
LOWtools/sched/root_domains_dump.py20CODE
LOWtools/sched/dl_bw_dump.py13CODE
LOWtools/sched/dl_bw_dump.py18CODE
LOWtools/sched/dl_bw_dump.py19CODE
LOWtools/cgroup/memcg_slabinfo.py12CODE
LOWtools/cgroup/memcg_slabinfo.py13CODE
LOWtools/cgroup/iocost_monitor.py16CODE
LOWtools/docs/gen-renames.py15CODE
380 more matches not shown…
Hyper-Verbose Identifiers357 hits · 363 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/kfigure.py626def add_kernel_figure_to_std_domain(app, doctree):CODE
LOW…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py100def plot_perf_busy_with_sample(cpu_index):CODE
LOW…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py171def plot_pstate_cpu_with_sample():CODE
LOW…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py288def common_all_gnuplot_settings(output_png):CODE
LOWtools/crypto/ccp/test_dbc.py58 def test_unauthenticated_nonce(self) -> None:CODE
LOWtools/crypto/ccp/test_dbc.py87 def test_invalid_setuid_ioctl(self) -> None:CODE
LOWtools/crypto/ccp/test_dbc.py96 def test_invalid_setuid_rw_ioctl(self) -> None:CODE
LOWtools/crypto/ccp/test_dbc.py130 def test_unauthenticated_nonce(self) -> None:CODE
LOWtools/crypto/ccp/test_dbc.py134 def test_multiple_unauthenticated_nonce(self) -> None:CODE
LOWtools/net/sunrpc/xdrgen/xdr_ast.py758def _merge_consecutive_passthru(definitions: List[Definition]) -> List[Definition]:CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py34def emit_version_declarations(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py59def emit_version_argument_decoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py73def emit_version_result_decoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py87def emit_version_argument_encoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py101def emit_version_result_encoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/pointer.py25def emit_pointer_member_definition(CODE
LOWtools/net/sunrpc/xdrgen/generators/pointer.py93def emit_pointer_member_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/pointer.py173def emit_pointer_member_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/struct.py25def emit_struct_member_definition(CODE
LOWtools/net/sunrpc/xdrgen/generators/struct.py93def emit_struct_member_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/struct.py173def emit_struct_member_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py22def emit_union_switch_spec_definition(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py37def emit_union_case_spec_definition(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py78def emit_union_switch_spec_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py112def emit_union_case_spec_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py147def emit_union_default_spec_decoder(environment: Environment, node: _XdrUnion) -> None:CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py208def emit_union_switch_spec_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py239def emit_union_case_spec_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py269def emit_union_default_spec_encoder(environment: Environment, node: _XdrUnion) -> None:CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2333def parse_rsp_nested_prototype(ri, struct, suffix=';'):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2729def free_rsp_nested_prototype(ri):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2808def kernel_can_gen_family_struct(family):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2816def print_kernel_policy_ranges(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2845def print_kernel_policy_sparse_enum_validates(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2883def print_kernel_op_table_fwd(family, cw, terminate):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2950def print_kernel_op_table_hdr(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py3059def print_kernel_family_struct_hdr(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py3071def print_kernel_family_struct_src(family, cw):CODE
LOWtools/unittests/test_kdoc_parser.py408 def test_with_unfilled_expected(self):STRING
LOWtools/unittests/test_kdoc_parser.py415 def test_with_default_expected(self):STRING
LOWtools/unittests/test_kdoc_test_schema.py70 def test_kdoc_test_yaml_followsschema(self):CODE
LOWtools/unittests/test_cmatch.py51 def test_search_acquires_simple(self):CODE
LOWtools/unittests/test_cmatch.py56 def test_search_acquires_multiple(self):CODE
LOWtools/unittests/test_cmatch.py61 def test_search_acquires_nested_paren(self):CODE
LOWtools/unittests/test_cmatch.py71 def test_search_must_hold_shared(self):CODE
LOWtools/unittests/test_cmatch.py76 def test_search_no_false_positive(self):CODE
LOWtools/unittests/test_cmatch.py81 def test_search_no_macro_remains(self):CODE
LOWtools/unittests/test_cmatch.py151 def test_acquires_nested_paren(self):CODE
LOWtools/unittests/test_cmatch.py240 def test_sub_zero_placeholder(self):CODE
LOWtools/unittests/test_cmatch.py248 def test_sub_single_placeholder(self):CODE
LOWtools/unittests/test_cmatch.py255 def test_sub_multiple_placeholders(self):CODE
LOWtools/unittests/test_cmatch.py262 def test_sub_mixed_placeholders(self):CODE
LOWtools/unittests/test_cmatch.py284 def test_strip_multiple_acquires(self):CODE
LOWtools/unittests/test_cmatch.py298 def test_rise_multiple_greedy(self):CODE
LOWtools/unittests/test_cmatch.py551 def test_raw_struct_group_tagged(self):STRING
LOWtools/unittests/test_cmatch.py628 def test_struct_group_tagged_with_private(self):STRING
LOWtools/unittests/test_cmatch.py759 def test_functions_with_acquires_and_releases(self):STRING
LOWtools/cgroup/iocost_coef_gen.py106def restore_elevator_nomerges():STRING
LOWtools/docs/checktransupdate.py75def get_origin_from_trans_smartly(origin_path, t_from_head):CODE
LOWtools/docs/checktransupdate.py107def get_commits_count_between(opath, commit1, commit2):CODE
297 more matches not shown…
Self-Referential Comments109 hits · 332 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/conf.py285# The following code tries to extract the information by reading the Makefile,COMMENT
MEDIUMDocumentation/sphinx/maintainers_include.py351 # Create a hidden TOC table with all profiles. That allows addingCOMMENT
MEDIUMDocumentation/sphinx/templates/kernel-toc.html3{# Create a local TOC the kernel way #}CODE
MEDIUMDocumentation/sphinx/templates/translations.html4{# Create a language menu for translations #}CODE
MEDIUMtools/power/pm-graph/bootgraph.py514# Create the output html file from the resident test dataCOMMENT
MEDIUMtools/power/pm-graph/sleepgraph.py2961 # Create the timescale for a timeline blockCOMMENT
MEDIUMtools/power/pm-graph/sleepgraph.py4627# Create the output html file from the resident test dataCOMMENT
MEDIUM…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py46# Define the csv file columnsCOMMENT
MEDIUMtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py39# Define the csv file columnsCOMMENT
MEDIUMtools/tracing/rtla/tests/engine.sh58 # Create a temporary directory to contain rtla outputCOMMENT
MEDIUMtools/memory-model/scripts/newlitmushist.sh39# Create a list of the C-language litmus tests previously run.COMMENT
MEDIUMtools/memory-model/scripts/checklitmushist.sh31# Create the results directory and populate it with subdirectories.COMMENT
MEDIUMtools/memory-model/scripts/checklitmushist.sh37# Create the list of litmus tests already run, then remove those thatCOMMENT
MEDIUMtools/memory-model/scripts/checkghlitmus.sh36# Create a list of the specified litmus tests previously run.COMMENT
MEDIUMtools/memory-model/scripts/checkghlitmus.sh42# Create a list of C-language litmus tests with "Result:" commands andCOMMENT
MEDIUMtools/memory-model/scripts/initlitmushist.sh61# Create a list of the C-language litmus tests with no more than theCOMMENT
MEDIUM…ols/testing/selftests/net/arp_ndisc_evict_nocarrier.sh6# Create a veth pair and set IPs/routes on both. Then ping to establishCOMMENT
MEDIUMtools/testing/selftests/net/fib_tests.sh749# Create a new dummy_10 to remove all associated routes.COMMENT
MEDIUMtools/testing/selftests/net/fib_tests.sh939 # Create a pair of veth devices to send a RA message from oneCOMMENT
MEDIUMtools/testing/selftests/net/fib_tests.sh1553 # Create a pair of veth devices to send a RA message from oneCOMMENT
MEDIUMtools/testing/selftests/net/fib_tests.sh1631 # Create a pair of veth devices to send a RA message from oneCOMMENT
MEDIUMtools/testing/selftests/net/bridge_stp_mode.sh63# Create a bridge in NS1, bring it up, and defer its deletion.COMMENT
MEDIUMtools/testing/selftests/net/test_vxlan_mdb.sh2382 # Create the MDB entries that will be continuously deleted / replaced.COMMENT
MEDIUMtools/testing/selftests/net/bareudp.sh127# Create the four network namespaces used by the script (NS0, NS1, NS2 and NS3)COMMENT
MEDIUMtools/testing/selftests/net/bareudp.sh362 # Create the bareudp devices in the intermediate namespacesCOMMENT
MEDIUMtools/testing/selftests/net/gre_ipv6_lladdr.sh60# Create a GRE device and verify that it gets an IPv6 link-local address asCOMMENT
MEDIUMtools/testing/selftests/net/forwarding/router_nh.sh111 # Create the nexthops as AF_INET6, so that IPv4 and IPv6 routes couldCOMMENT
MEDIUMtools/testing/selftests/net/forwarding/sch_ets.sh25 # Create a bottleneck so that the DWRR process can kick in.COMMENT
MEDIUMtools/testing/selftests/net/ppp/ppp_async.sh23# Create the virtual serial deviceCOMMENT
MEDIUMtools/testing/selftests/net/ppp/pppol2tp.sh27# Create the veth pairCOMMENT
MEDIUMtools/testing/selftests/net/ppp/pppoe.sh30# Create the veth pairCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/diag.sh30# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/simult_flows.sh37# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/userspace_pm.sh96# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/mptcp_sockopt.sh97# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/pm_netlink.sh34# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/pm_netlink.sh82# This function is invoked indirectlyCOMMENT
MEDIUMtools/testing/selftests/net/mptcp/mptcp_connect.sh136# This function is used in the cleanup trapCOMMENT
MEDIUMtools/testing/selftests/net/netfilter/nf_nat_edemux.sh60# Create a server in one namespaceCOMMENT
MEDIUMtools/testing/selftests/drivers/net/shaper.py313 # Create the nested node and validate the hierarchyCOMMENT
MEDIUMtools/testing/selftests/drivers/net/psp.py809 # Create a temporary netkit pairCOMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_drv.py244 # Create an extra context with a periodic (foldable) table so thatCOMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py800 # Create a new RSS context that uses queues 2 and 3COMMENT
MEDIUMtools/testing/selftests/drivers/net/mlxsw/vxlan.sh445 # Create a simple setup with two bridges, each with a VxLAN deviceCOMMENT
MEDIUMtools/testing/selftests/drivers/net/mlxsw/vxlan.sh929 # Create a simple setup with two VxLAN devices and a single VLAN-awareCOMMENT
MEDIUMtools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh90 # Create a FID RIFCOMMENT
MEDIUM…ng/selftests/drivers/net/mlxsw/rif_mac_profiles_occ.sh113 # Create a VLAN netdevice that has the same MAC as the first one.COMMENT
MEDIUM…ftests/drivers/net/mlxsw/devlink_trap_l3_exceptions.sh533 # Create a VRF without a default routeCOMMENT
MEDIUM…ftests/drivers/net/mlxsw/devlink_trap_l3_exceptions.sh560 # Create a VRF without a default routeCOMMENT
MEDIUM…ls/testing/selftests/drivers/net/mlxsw/sch_red_core.sh582 # Create a bit of a backlog and observe no mirroring due to marks.COMMENT
MEDIUM…ls/testing/selftests/drivers/net/mlxsw/sch_red_core.sh635 # Create a bit of a backlog and observe no mirroring due to drops.COMMENT
MEDIUMtools/testing/selftests/drivers/net/mlxsw/sch_ets.sh21 # Create a bottleneck so that the DWRR process can kick in.COMMENT
MEDIUM…sting/selftests/drivers/net/team/teamd_activebackup.sh83# Create the network namespaces, veth pair, and team devices in the specifiedCOMMENT
MEDIUM…esting/selftests/drivers/net/team/transmit_failover.sh61# Create the network namespaces, veth pair, and team devices in the specifiedCOMMENT
MEDIUM…esting/selftests/drivers/net/team/transmit_failover.sh74 # Create the interfaces.COMMENT
MEDIUMtools/testing/selftests/drivers/net/team/team_lib.sh12# Create a team interface inside of a given network namespace with a givenCOMMENT
MEDIUM…ing/selftests/drivers/net/team/decoupled_enablement.sh71# Create the network namespaces, veth pair, and team devices in the specifiedCOMMENT
MEDIUM…ing/selftests/drivers/net/team/decoupled_enablement.sh84 # Create the interfaces.COMMENT
MEDIUM…testing/selftests/drivers/net/microchip/ksz9477_qos.sh521 # Create a modified old_json with the expected change for comparisonCOMMENT
MEDIUM…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh4# This file contains functions and helpers to support the netconsoleCOMMENT
49 more matches not shown…
Deep Nesting333 hits · 306 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/kernel_include.py409CODE
LOWDocumentation/sphinx/maintainers_include.py85CODE
LOWDocumentation/sphinx/maintainers_include.py203CODE
LOWDocumentation/sphinx/rstFlatTable.py228CODE
LOWDocumentation/sphinx/rstFlatTable.py295CODE
LOWDocumentation/sphinx/rstFlatTable.py316CODE
LOWDocumentation/sphinx/automarkup.py130CODE
LOWDocumentation/sphinx/automarkup.py152CODE
LOWDocumentation/sphinx/kerneldoc.py99CODE
LOWDocumentation/sphinx/kfigure.py244CODE
LOWDocumentation/sphinx/kfigure.py626CODE
LOWtools/power/pm-graph/bootgraph.py292CODE
LOWtools/power/pm-graph/bootgraph.py378CODE
LOWtools/power/pm-graph/bootgraph.py519CODE
LOWtools/power/pm-graph/bootgraph.py753CODE
LOWtools/power/pm-graph/bootgraph.py144CODE
LOWtools/power/pm-graph/bootgraph.py254CODE
LOWtools/power/pm-graph/sleepgraph.py3256CODE
LOWtools/power/pm-graph/sleepgraph.py3290CODE
LOWtools/power/pm-graph/sleepgraph.py3392CODE
LOWtools/power/pm-graph/sleepgraph.py3450CODE
LOWtools/power/pm-graph/sleepgraph.py3989CODE
LOWtools/power/pm-graph/sleepgraph.py4272CODE
LOWtools/power/pm-graph/sleepgraph.py4333CODE
LOWtools/power/pm-graph/sleepgraph.py4504CODE
LOWtools/power/pm-graph/sleepgraph.py4614CODE
LOWtools/power/pm-graph/sleepgraph.py4632CODE
LOWtools/power/pm-graph/sleepgraph.py5485CODE
LOWtools/power/pm-graph/sleepgraph.py5738CODE
LOWtools/power/pm-graph/sleepgraph.py5780CODE
LOWtools/power/pm-graph/sleepgraph.py5881CODE
LOWtools/power/pm-graph/sleepgraph.py6019CODE
LOWtools/power/pm-graph/sleepgraph.py6174CODE
LOWtools/power/pm-graph/sleepgraph.py6322CODE
LOWtools/power/pm-graph/sleepgraph.py6470CODE
LOWtools/power/pm-graph/sleepgraph.py6491CODE
LOWtools/power/pm-graph/sleepgraph.py6540CODE
LOWtools/power/pm-graph/sleepgraph.py473CODE
LOWtools/power/pm-graph/sleepgraph.py683CODE
LOWtools/power/pm-graph/sleepgraph.py791CODE
LOWtools/power/pm-graph/sleepgraph.py994CODE
LOWtools/power/pm-graph/sleepgraph.py1119CODE
LOWtools/power/pm-graph/sleepgraph.py1158CODE
LOWtools/power/pm-graph/sleepgraph.py1272CODE
LOWtools/power/pm-graph/sleepgraph.py1341CODE
LOWtools/power/pm-graph/sleepgraph.py1567CODE
LOWtools/power/pm-graph/sleepgraph.py1647CODE
LOWtools/power/pm-graph/sleepgraph.py1750CODE
LOWtools/power/pm-graph/sleepgraph.py1774CODE
LOWtools/power/pm-graph/sleepgraph.py1807CODE
LOWtools/power/pm-graph/sleepgraph.py1850CODE
LOWtools/power/pm-graph/sleepgraph.py1916CODE
LOWtools/power/pm-graph/sleepgraph.py1927CODE
LOWtools/power/pm-graph/sleepgraph.py1945CODE
LOWtools/power/pm-graph/sleepgraph.py2087CODE
LOWtools/power/pm-graph/sleepgraph.py2307CODE
LOWtools/power/pm-graph/sleepgraph.py2448CODE
LOWtools/power/pm-graph/sleepgraph.py2638CODE
LOWtools/power/pm-graph/sleepgraph.py2677CODE
LOWtools/power/pm-graph/sleepgraph.py2803CODE
273 more matches not shown…
Redundant / Tautological Comments104 hits · 158 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/automarkup.py134 # Check if this document has a namespace, and if so, tryCOMMENT
LOWDocumentation/sphinx/automarkup.py167 # Check if this document has a namespace, and if so, tryCOMMENT
LOWtools/power/pm-graph/bootgraph.py377# Check if trace is available and copy to a temp fileCOMMENT
LOW…ls/power/pm-graph/config/custom-timeline-functions.cfg62# Set this to true if you intend to only use the ones defined in this configCOMMENT
LOW…ls/power/pm-graph/config/custom-timeline-functions.cfg67# Set this to true if you intend to only use the ones defined in this configCOMMENT
LOWtools/power/pm-graph/config/example.cfg56# Print results to text fileCOMMENT
LOWtools/power/pm-graph/config/example.cfg111# Set this to true if you intend to only use the ones defined in the configCOMMENT
LOWtools/power/pm-graph/config/example.cfg116# Set this to true if you intend to only use the ones defined in the configCOMMENT
LOWtools/net/ynl/pyynl/lib/ynl.py1406 # Check if this is a reply to our requestCOMMENT
LOWtools/net/ynl/tests/test_ynl_ethtool.sh201# Check if ynl-ethtool command is availableCOMMENT
LOWtools/net/ynl/tests/test_ynl_cli.sh305# Check if ynl command is availableCOMMENT
LOWtools/unittests/test_tokenizer.py47 # Check if logger is workingCOMMENT
LOWtools/unittests/test_tokenizer.py63 # Check if tokenizer is producing expected resultsCOMMENT
LOWtools/unittests/test_cmatch.py212# Check if the diff is logically equivalent. To simplify, the tests hereCOMMENT
LOWtools/sched/root_domains_dump.py38 # Check if we've already processed this root domain to avoid duplicatesSTRING
LOWtools/testing/selftests/cpufreq/main.sh107 # Check if CPUs are managed by cpufreq or notCOMMENT
LOWtools/testing/selftests/net/ipv6_force_forwarding.sh58 # Check if force_forwarding sysctl existsCOMMENT
LOWtools/testing/selftests/net/fcnal-test.sh88# Check if FIPS mode is enabledCOMMENT
LOW…testing/selftests/net/ipv6_route_update_soft_lockup.sh123 # Check if any iperf3 instances are still running. This could happenCOMMENT
LOW…testing/selftests/net/ipv6_route_update_soft_lockup.sh230# Check if we are running on a multi-core machine, skip the test otherwiseCOMMENT
LOWtools/testing/selftests/net/bpf_offload.py735# Check if iproute2 is built with libmnl (needed by extack support)COMMENT
LOWtools/testing/selftests/net/bpf_offload.py743# Check if net namespaces seem to workCOMMENT
LOWtools/testing/selftests/net/packetdrill/set_sysctls.py22# Open file for restoring sysctl valuesCOMMENT
LOWtools/testing/selftests/net/hsr/hsr_redbox.sh70 # Check if iproute2 supports adding interlink port to hsrX deviceCOMMENT
LOWtools/testing/selftests/net/openvswitch/openvswitch.sh460 # Check if psample actions can be configured.COMMENT
LOWtools/testing/selftests/net/openvswitch/openvswitch.sh564 # Check if drop reasons can be sentCOMMENT
LOWtools/testing/selftests/drivers/net/hw/rss_api.py220 # Set key to randomCOMMENT
LOWtools/testing/selftests/drivers/net/hw/rss_api.py227 # Set key to random and indir tbl to something at onceCOMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh198 # Set enabled to true.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh208 # Set enabled to false.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh228 # Set enabled to true.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh232 # Set rx_enabled to false.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh240 # Set rx_enabled to true.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh258 # Set enabled to true.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh262 # Set tx_enabled to false.COMMENT
LOWtools/testing/selftests/drivers/net/team/options.sh270 # Set tx_enabled to true.COMMENT
LOW…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh261 # Check if the file existsCOMMENT
LOW…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh373# Check if netconsole was compiled as a module, otherwise exitCOMMENT
LOW…tests/drivers/net/netconsole/netcons_fragmented_msg.sh108# Check if the message was not corruptedCOMMENT
LOW…ng/selftests/drivers/net/netconsole/netcons_sysdata.sh109 # Check if cpu=XX exists in the file and matches the one usedCOMMENT
LOW…g/selftests/drivers/platform/x86/intel/ifs/test_ifs.sh303 # Set IFS_IMAGE_NEED_RESTORE to true before corrupt the origin ifs image fileCOMMENT
LOWtools/testing/selftests/livepatch/functions.sh47# Check if we can compile the modules before loading themCOMMENT
LOWtools/testing/selftests/dt/test_unprobed_devices.sh34 # Check if node is availableCOMMENT
LOWtools/testing/selftests/ublk/test_generic_16.sh10# Check if SAFE_STOP_DEV feature is supportedCOMMENT
LOWtools/testing/selftests/rcutorture/bin/kvm.sh406 # Read file of tests and corresponding required numbers of CPUs.COMMENT
LOWtools/testing/selftests/rcutorture/bin/jitter.sh73 # Set affinity to randomly selected online CPUCOMMENT
LOWtools/testing/selftests/amd-pstate/run.sh321 # Check if CPUs are managed by cpufreq or notCOMMENT
LOWtools/testing/kunit/kunit_parser.py415 # Check if line matches test result line formatCOMMENT
LOWtools/testing/ktest/ktest.pl3181 # Check if a bisect was runningCOMMENT
LOWtools/verification/rvgen/rvgen/dot2k.py432 # Check if we should stopSTRING
LOWtools/lib/python/unittest_helper.py175 # Print resultsCOMMENT
LOWtools/lib/python/kdoc/kdoc_output.py368 # Print the output with the line prefixCOMMENT
LOWtools/lib/python/kdoc/kdoc_parser.py808 # Output the result and we are done.COMMENT
LOWtools/lib/python/kdoc/kdoc_parser.py1455 # Check if it's a SYSCALL_DEFINE0COMMENT
LOWtools/perf/check-headers.sh164# Check if we have the kernel headers (tools/perf/../../include), elseCOMMENT
LOWtools/perf/pmu-events/jevents.py1447 # Check if the model matches one in _args.model.COMMENT
LOWtools/perf/util/setup.py9# Check if CC has options, as is the case in yocto, where it uses CC="cc --sysroot..."COMMENT
LOWtools/perf/tests/shell/record.sh184 # Check if the branch counter feature is supportedCOMMENT
LOWtools/perf/tests/shell/record.sh285 # Check if the two instruction counts are equal in each record.COMMENT
LOWtools/perf/tests/shell/stat.sh289 # Check if onlineCOMMENT
44 more matches not shown…
Verbosity Indicators80 hits · 127 pts
SeverityFileLineSnippetContext
LOWtools/perf/builtin-trace.c5596 * This is important because we need to check if strace-like mode isCOMMENT
LOWtools/perf/util/symbol-elf.c597 * We need to check if we have a .dynsym, so that we can handle theCOMMENT
LOWtools/perf/util/color.h28 * This variable stores the value of color.uiCOMMENT
LOWtools/perf/arch/arm64/util/arm-spe.c558 * head has numerically wrapped around. To find we need to check if we have data at theCOMMENT
LOWnet/core/dev.c7936 /* We need to check if ____napi_schedule()COMMENT
LOWnet/bridge/br_multicast.c259/* when snooping we need to check if the contexts should be usedCOMMENT
LOWnet/mptcp/ctrl.c445/* The following code block is to deal with middle box issues with MPTCP,COMMENT
LOWnet/ipv4/tcp_fastopen.c564 * The following code block is to deal with middle box issues with TFO:COMMENT
LOWnet/ipv6/route.c664 * for now, however, we need to check if itCOMMENT
LOWnet/ipv6/route.c4040 * we need to check if the last sibling has a next route or notCOMMENT
LOWdrivers/infiniband/ulp/ipoib/ipoib_ib.c1136 * not to break userspace applications, We need to check if theCOMMENT
LOWdrivers/acpi/acpica/exmisc.c159 * We need to check if the shiftcount is larger than the integer bitCOMMENT
LOWdrivers/acpi/acpica/exmisc.c170 * We need to check if the shiftcount is larger than the integer bitCOMMENT
LOWdrivers/tty/serial/imx.c1876 * particular order. One consequence is that we need to check if any ofCOMMENT
LOWdrivers/tty/serial/atmel_serial.c1637 * If the current buffer is full, we need to check ifCOMMENT
LOWdrivers/staging/rtl8723bs/hal/sdio_halinit.c638 /* 2010/08/09 MH We need to check if we need to turnon or off RF after detecting */COMMENT
LOWdrivers/staging/media/atomisp/pci/atomisp_v4l2.c452 * So, here we need to check if there is any pendingCOMMENT
LOW…vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c203 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOW…vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c225 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c794 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c815 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1768 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1790 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/net/fddi/skfp/ess.c20 * PURPOSE: The purpose of this function is to controlCOMMENT
LOWdrivers/net/dsa/microchip/ksz_common.c2238 * We need to check if "other" port [i] and "third" portCOMMENT
LOWdrivers/net/ethernet/intel/igc/igc_mac.c535 /* Now we need to check if the user selected RX ONLYCOMMENT
LOWdrivers/net/ethernet/intel/igb/e1000_mac.c999 /* Now we need to check if the user selected RX ONLYCOMMENT
LOWdrivers/net/ethernet/intel/igb/e1000_mac.c1154 /* Now we need to check if the user selected Rx ONLYCOMMENT
LOWdrivers/net/ethernet/intel/e1000/e1000_hw.c2144 /* Now we need to check if the user selected RxCOMMENT
LOWdrivers/net/ethernet/intel/ice/ice_vf_lib.c173 * The purpose of this function is to make sure the VF is not in reset, notCOMMENT
LOWdrivers/net/ethernet/intel/ice/ice_vlan_mode.c400 * The purpose of this function is to print that QinQ is not supported due toCOMMENT
LOWdrivers/net/ethernet/intel/ixgbe/ixgbe_common.c2276 * Now we need to check if the user selected Rx ONLYCOMMENT
LOWdrivers/net/ethernet/intel/e1000e/mac.c1108 /* Now we need to check if the user selected Rx ONLYCOMMENT
LOWdrivers/net/ethernet/intel/e1000e/mac.c1241 /* Now we need to check if the user selected Rx ONLYCOMMENT
LOWdrivers/net/wireless/realtek/rtw89/util.h24/* Before adding rtwvif to list, we need to check if it already exist, beacaseCOMMENT
LOWdrivers/net/wireless/intel/iwlwifi/mvm/sta.c721 * we need to check if the numerical value of X is LARGER than of Y.COMMENT
LOWdrivers/scsi/isci/remote_device.c822 /* we need to check if this request is still valid to continue. */COMMENT
LOWdrivers/accel/habanalabs/common/hwmon.c85 /* If f/w is using it's own enum, we need to check if the properties values are aligned.COMMENT
LOWdrivers/accel/habanalabs/gaudi2/gaudi2_coresight.c2081 /* in pldm we need to check if unit is not stubCOMMENT
LOWdrivers/accel/habanalabs/gaudi2/gaudi2_coresight.c2321 /* in pldm we need to check if unit is not stubCOMMENT
LOWdrivers/accel/habanalabs/gaudi2/gaudi2_coresight.c2359 /* in pldm we need to check if unit is not stubCOMMENT
LOWdrivers/accel/habanalabs/gaudi2/gaudi2_coresight.c2461 /* in pldm we need to check if unit is not stubCOMMENT
LOWdrivers/rtc/rtc-ac100.c167 * Thus we need to check if the parent exists beforeCOMMENT
LOWdrivers/mtd/devices/spear_smi.c596 * The purpose of this function is to ensure a memcpy_toio() with byte writesCOMMENT
LOWdrivers/iio/gyro/fxas21002c_core.c239 /* We need to check if FS_DOUBLE is enabled to offset the value */COMMENT
LOWdrivers/iio/adc/ti-ads1018.c537 * We need to check if the "drdy" pin is actually active or if it's aCOMMENT
LOWdrivers/media/platform/chips-media/coda/coda-bit.c1962 * After updating the read pointer, we need to check ifCOMMENT
LOWdrivers/media/platform/microchip/microchip-isc-base.c315 * channels. We need to check if sensor is outputting RAW BAYERCOMMENT
LOWinclude/linux/auxiliary_bus.h117 * // Step 1:COMMENT
LOWinclude/linux/auxiliary_bus.h123 * // Step 2:COMMENT
LOWinclude/linux/auxiliary_bus.h127 * // Step 3:COMMENT
LOWarch/mips/include/asm/octeon/cvmx-helper-util.h140 * not a dynamic short packet. We need to check if it is aCOMMENT
LOWarch/arm/mach-omap2/prm3xxx.c221 * The purpose of this function is to clear any wake-up events latchedCOMMENT
LOWarch/arm/mach-omap2/omap-mpuss-lowpower.c214 * The purpose of this function is to manage low power programmingCOMMENT
LOWarch/arm/mach-omap1/board-ams-delta.c608 * The purpose of this function is to take care of proper initialization ofCOMMENT
LOWscripts/recordmcount.pl537# Step 3: Compile the file that holds the list of call sites to mcount.COMMENT
LOWscripts/recordmcount.pl544# Step 4: Do we have sections that started with local functions?COMMENT
LOWscripts/recordmcount.pl559 # Step 5: set up each local function as a globalCOMMENT
LOWscripts/recordmcount.pl564 # Step 6: Link the global version to our list.COMMENT
LOWscripts/recordmcount.pl569 # Step 7: Convert the local functions back into local symbolsCOMMENT
20 more matches not shown…
Cross-Language Confusion25 hits · 124 pts
SeverityFileLineSnippetContext
HIGHDocumentation/sphinx/maintainers_include.py43 const cellText = (tds[j].textContent || tds[j].innerText);CODE
HIGHtools/power/pm-graph/sleepgraph.py5189 if((cpu >= 0 && dname.match("CPU_O[NF]*\\[*"+cpu+"\\]")) ||CODE
HIGHtools/power/pm-graph/sleepgraph.py5226 if(total[1] > 0 && total[2] > 0)CODE
HIGHtools/power/pm-graph/sleepgraph.py5251 if((cpu >= 0 && dname.match("CPU_O[NF]*\\[*"+cpu+"\\]")) ||CODE
HIGHtools/power/pm-graph/sleepgraph.py5406 } else if(i > idx1 && i <= idx2) {CODE
HIGHtools/power/pm-graph/sleepgraph.py5434 document.onmousemove = null;CODE
HIGHtools/power/pm-graph/sleepgraph.py5438 if(c != 42 && c != 43 && c != 45) return;CODE
HIGHtools/crypto/tcrypt/tcrypt_speed_compare.py31lsmod | grep pcrypt && modprobe -r pcryptSTRING
HIGHtools/crypto/tcrypt/tcrypt_speed_compare.py38lsmod | grep pcrypt && modprobe -r pcryptSTRING
HIGHtools/crypto/tcrypt/tcrypt_speed_compare.py43lsmod | grep pcrypt && modprobe -r pcryptSTRING
HIGHtools/testing/selftests/drivers/net/hw/tso.py43 listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{listen_opts} /dev/null,ignoreeof"CODE
HIGHtools/testing/selftests/turbostat/smi_aperf_mperf.py9# Calling it with None (null), we get handle to the our own image (python interpreter).COMMENT
HIGHtools/verification/rvgen/rvgen/automata.py237 Get a list of strings of the type constr1 && constr2 and returns a list ofCODE
HIGHtools/perf/pmu-events/jevents.py990\t\tif (!pe.name && name) {CODE
HIGHtools/perf/pmu-events/jevents.py1115\t\tif (!pm.metric_name && metric) {CODE
HIGHtools/perf/pmu-events/jevents.py1192\tif (has_last_result && last_result.cpu.cpu == cpu.cpu)CODE
HIGHtools/perf/tests/shell/lib/perf_metric_validation.py372 if "metric-unit" in result and result["metric-unit"] != "(null)" and result["metric-unit"] != "":CODE
HIGHscripts/checkkconfigsymbols.py179 undefined, defined = check_symbols(args.ignore)CODE
HIGHscripts/checkkconfigsymbols.py182 for symbol in sorted(undefined):CODE
HIGHscripts/checkkconfigsymbols.py373 return undefined, defined_symbolsCODE
HIGHscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py39 cmd = r"""{ printf 'static char tomoyo_builtin_profile[] __initdata =\n'; sed -e 's/\\/\\\\/g' -e 's/\"/\\"/g' CODE
HIGHscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py44 cmd = """(echo "static char tomoyo_builtin_profile[] __initdata ="; ./scripts/bin2c </dev/null; echo ";"; echo "CODE
HIGHscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py159 cmd = """ld -o arch/x86/entry/vdso/vdso64.so.dbg -shared --hash-style=both --build-id=sha1 --eh-frame-hdr -BsymCODE
HIGHscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py226 cmd = """OBJTREE=/workspace/linux/kernel_build rustc -Zbinary_dep_depinfo=y -Astable_features -Dnon_ascii_identsCODE
HIGHscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py437 cmd = "mkdir -p drivers/gpu/drm/msm/generated && python3 ../drivers/gpu/drm/msm/registers/gen_header.py --no-valCODE
Slop Phrases66 hits · 122 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/sound/cards/multisound.sh82# you can use isapnptools. These are described briefly here.COMMENT
MEDIUMDocumentation/sound/cards/multisound.sh84# pinnaclecfg is not required; you can use the snd-msnd-pinnacle moduleCOMMENT
MEDIUMDocumentation/sound/cards/multisound.sh192# -- OR you can use the following sequence without pinnaclecfg in non-PnP mode:COMMENT
MEDIUMDocumentation/sound/cards/multisound.sh256# trouble, you can try the setdigital.c programCOMMENT
MEDIUMDocumentation/sound/cards/multisound.sh268# When the Pinnacle is in non-PnP mode, you can use the followingCOMMENT
MEDIUMDocumentation/sound/cards/multisound.sh349# want to set it as the input source, you can use this program if youCOMMENT
LOWDocumentation/sound/cards/multisound.sh218# WARNING--probing isn't supported so try to make sure you have theCOMMENT
MEDIUM…dings/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml30 As mentioned earlier, role of some partitions may depend on extraCODE
LOWtools/include/linux/gfp_types.h22 * In case of changes, please don't forget to updateCOMMENT
MEDIUMtools/testing/selftests/zram/zram02.sh22# or you can use mem suffixes. But in some old kernels, memCOMMENT
MEDIUMtools/testing/selftests/zram/zram01.sh23# or you can use mem suffixes. But in some old kernels, memCOMMENT
MEDIUMtools/testing/selftests/x86/test_vsyscall.c379 * It's worth noting that this ABI is a bit nutty. write(2) can'tCOMMENT
LOWtools/testing/selftests/bpf/netlink_helpers.c210 /* Don't forget to skip that message. */COMMENT
MEDIUMtools/testing/ktest/config-bisect.pl318# It returns B's config values, but you can use A to see what A was.COMMENT
MEDIUMtools/perf/perf-archive.sh100# buildids file, you can use the following command:COMMENT
LOWtools/perf/trace/beauty/include/uapi/sound/asound.h103 /* Don't forget to change the following: */COMMENT
LOWtools/perf/trace/beauty/include/uapi/sound/asound.h155 /* Don't forget to change the following: */COMMENT
LOWtools/perf/trace/beauty/include/uapi/sound/asound.h162 /* Don't forget to change the following: */COMMENT
LOWnet/mac80211/mlme.c8182 * element (which carries the beacon interval). Don't forget to add aCOMMENT
LOWdrivers/misc/lattice-ecp3-config.c179 * Don't forget to release the firmware againCOMMENT
MEDIUMdrivers/mmc/host/usdhi6rol0.c1845 /* Set .max_segs to some random number. Feel free to adjust. */COMMENT
LOWdrivers/video/fbdev/macmodes.c29 * Order IS important! If you change these, don't forget to updateCOMMENT
LOWdrivers/gpu/drm/vc4/vc4_drv.h34/* Don't forget to update vc4_bo.c: bo_type_names[] when adding toCOMMENT
MEDIUMdrivers/gpu/drm/i915/i915_perf.c2812 * feature it's worth noting that clock ratio reports have to beCOMMENT
LOWdrivers/net/plip/plip.c563 * so don't forget to remove it.COMMENT
LOWdrivers/net/ethernet/xircom/xirc2ps_cs.c1076 * Note: don't forget to change the ALLOC_SKB to .. +3COMMENT
LOWdrivers/net/ethernet/toshiba/tc35815.c1238 /* Reset the hardware here. Don't forget to set the station address. */COMMENT
LOWdrivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c3858 (don't forget to mark the last one as last,CODE
LOWdrivers/net/wireless/ath/ath10k/mac.c9980 * Allow software encryption for all chips. Don't forget toCOMMENT
LOWdrivers/platform/surface/surface_gpe.c50 * Note: When changing this, don't forget to check that the MODULE_ALIAS belowCOMMENT
LOWdrivers/usb/storage/unusual_uas.h28 * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>COMMENT
LOWdrivers/usb/dwc2/hcd.c4009 * Return: a pointer to a struct dwc2_tt. Don't forget to callCOMMENT
LOWdrivers/dma/sun4i-dma.c988 * may still trigger, so don't forget to disable them.COMMENT
LOWdrivers/edac/amd64_edac.c766 pr_notice_once("Don't forget to decrease MCE polling interval in\n"CODE
MEDIUMdrivers/media/pci/cx23885/cx23885-cards.c1939 /* For documentation purposes, it's worth noting that thisCOMMENT
LOWinclude/uapi/drm/drm_mode.h72 * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAXCOMMENT
LOWinclude/uapi/sound/asound.h103 /* Don't forget to change the following: */COMMENT
LOWinclude/uapi/sound/asound.h155 /* Don't forget to change the following: */COMMENT
LOWinclude/uapi/sound/asound.h162 /* Don't forget to change the following: */COMMENT
LOWinclude/linux/hmm.h45 * don't forget to update HMM_PFN_INOUT_FLAGSCOMMENT
LOWinclude/linux/gfp_types.h22 * In case of changes, please don't forget to updateCOMMENT
LOWinclude/linux/init.h38 * Don't forget to initialize data not at file scope, i.e. within a function,COMMENT
LOWinclude/linux/ipmi.h326 * Base device for the interface. Don't forget to put this whenCOMMENT
LOWinclude/sound/pcm.h108/* If you change this don't forget to change rates[] table in pcm_native.c */COMMENT
LOWarch/m68k/include/asm/mac_via.h19 * instead (and don't forget to check rbv_present when using via2!)COMMENT
LOWarch/um/include/shared/init.h33 * Don't forget to initialize data not at file scope, i.e. within a function,COMMENT
LOWarch/x86/include/asm/perf_event_p4.h107 * with a special bit. (Don't forget to checkCOMMENT
MEDIUMarch/x86/kernel/cpu/amd.c258 * bit. It's worth noting that the A5 stepping (662) of someCOMMENT
LOWarch/arm64/kvm/nested.c818 /* Make sure we don't forget to do the laundry */COMMENT
LOWmm/memcontrol.c2714 * If the allocation has to be enforced, don't forget to raiseCOMMENT
LOWmm/memcontrol.c4872 * Note: don't forget to update the 'samples/cgroup/memcg_event_listener'COMMENT
LOWfs/xfs/libxfs/xfs_format.h282 * NOTE: Don't forget to update secondary_sb_whack in xfs_repair whenCOMMENT
LOWfs/proc/task_mmu.c1169 * Don't forget to update Documentation/ on changes.COMMENT
LOWfs/btrfs/relocation.c1937 /* Don't forget to queue this reloc root for cleanup */COMMENT
LOWfs/btrfs/inode.c669 * Don't forget to free the reserved space, as for inlined extentCOMMENT
LOWfs/btrfs/fs.h247 * Note: don't forget to add new options to btrfs_show_options()COMMENT
LOWfs/ubifs/tnc.c3093 * Don't forget to update clean znode count afterCOMMENT
LOWfs/ntfs3/attrib.c891 /* Don't forget to update duplicate information in parent. */COMMENT
LOWfs/ext4/super.c4409 /* don't forget to enable journal_csum when metadata_csum is enabled. */COMMENT
LOWfs/overlayfs/params.c324 * early. Don't forget to recheck when the superblock is createdCOMMENT
6 more matches not shown…
Excessive Try-Catch Wrapping85 hits · 114 pts
SeverityFileLineSnippetContext
LOWDocumentation/conf.py299except Exception:CODE
LOWDocumentation/sphinx/parser_yaml.py94 except Exception as e:CODE
LOWDocumentation/sphinx/kerneldoc.py248 except Exception as e: # pylint: disable=W0703CODE
LOWtools/power/pm-graph/bootgraph.py743 except Exception as e:CODE
LOWtools/power/pm-graph/bootgraph.py759 except Exception as e:CODE
LOWtools/power/pm-graph/bootgraph.py806 except Exception as e:CODE
LOWtools/power/pm-graph/sleepgraph.py5569 except Exception as e:CODE
MEDIUM…wer/cpupower/bindings/python/test_raw_pylibcpupower.py58 print(f"Error: could not get cpu topology")CODE
MEDIUM…s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py429 print('Error opening ', filename)CODE
MEDIUMtools/power/x86/amd_pstate_tracer/amd_pstate_trace.py194 print('Error opening ', file_name)CODE
LOWtools/tracing/rtla/example/timerlat_load.py35except Exception as e:CODE
MEDIUMtools/tracing/rtla/example/timerlat_load.py36 print(f"Error setting affinity: {e}")CODE
LOWtools/tracing/rtla/example/timerlat_load.py43 except Exception as e:CODE
MEDIUMtools/tracing/rtla/example/timerlat_load.py44 print(f"Error setting priority: {e}")CODE
MEDIUMtools/tracing/rtla/example/timerlat_load.py54 print("Error opening timerlat fd, did you run timerlat -U?")CODE
LOWtools/tracing/rtla/example/timerlat_load.py59except Exception as e:CODE
MEDIUMtools/tracing/rtla/example/timerlat_load.py60 print(f"Error opening data fd: {e}")CODE
LOWtools/tracing/rtla/example/timerlat_load.py73 except Exception as e:CODE
LOWtools/net/ynl/pyynl/ynl_gen_rst.py76 except Exception as exception:CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2174 except Exception:CODE
MEDIUMtools/net/ynl/pyynl/lib/ynl.py1094 print(f"Error decoding '{attr_spec.name}' from '{space}'")CODE
LOWtools/unittests/test_kdoc_parser.py94 except Exception:CODE
LOWtools/sched/root_domains_dump.py60 except Exception as e:STRING
LOWtools/sched/dl_bw_dump.py49 except Exception as e:STRING
MEDIUMtools/testing/selftests/rseq/rseq-slice-hist.py30 print(f"Error: Permission denied reading {file_path}. Try running with sudo.")CODE
MEDIUMtools/testing/selftests/rseq/rseq-slice-hist.py32 print(f"Error: {file_path} not found.")CODE
LOWtools/testing/selftests/net/lib/py/ksft.py236 except Exception:CODE
LOWtools/testing/selftests/net/lib/py/ksft.py310 except Exception:CODE
LOWtools/testing/selftests/drivers/net/netpoll_basic.py186 except Exception as exception:CODE
LOWtools/testing/selftests/drivers/net/so_txtime.py101 except Exception as e:CODE
LOWtools/testing/selftests/drivers/net/ping.py112 except Exception as e:CODE
LOWtools/testing/selftests/drivers/net/ping.py123 except Exception as e:CODE
MEDIUMtools/testing/selftests/drivers/net/ping.py63def _set_offload_checksum(cfg, netnl, on) -> None:CODE
LOWtools/testing/selftests/drivers/net/hw/rss_ctx.py793 except Exception as exc:CODE
LOWtools/testing/selftests/drivers/net/hw/rss_ctx.py935 except Exception as exc:CODE
LOWtools/testing/selftests/drivers/net/hw/tso.py133 except Exception as e:CODE
LOWtools/testing/selftests/drivers/net/hw/uso.py53 except Exception as exc:CODE
MEDIUM…testing/selftests/drivers/net/hw/devlink_port_split.py37 print("Error sending command: %s" % cmd)CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py113 except Exception as exc:CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py118 except Exception as exc:CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py266 except Exception as exc:CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py271 except Exception as exc:CODE
LOWtools/testing/selftests/tc-testing/tdc.py143 except Exception as ee:CODE
LOWtools/testing/selftests/tc-testing/tdc.py490 except Exception as ee:CODE
MEDIUMtools/testing/selftests/tc-testing/tdc.py271def verify_by_json(procout, res, tidx, args, pm):CODE
LOW…s/testing/selftests/x86/bugs/its_indirect_alignment.py137 except Exception as e:CODE
LOWtools/testing/selftests/x86/bugs/its_ret_alignment.py125 except Exception as e:CODE
LOWtools/testing/selftests/hid/tests/conftest.py27 except Exception:CODE
LOW…ls/testing/selftests/damon/sysfs_no_op_commit_break.py26 except Exception as e:CODE
MEDIUM…ls/testing/selftests/damon/sysfs_no_op_commit_break.py11def dump_damon_status_dict(pid):CODE
LOWtools/testing/selftests/damon/sysfs.py24 except Exception as e:CODE
MEDIUMtools/testing/selftests/damon/sysfs.py10def dump_damon_status_dict(pid):CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py28 except Exception as e:CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py38 except Exception as e:CODE
LOWtools/testing/kunit/kunit_kernel.py377 except Exception as e:CODE
MEDIUMtools/testing/kunit/kunit_kernel.py373def _wait_proc() -> None:CODE
LOWtools/mm/show_page_info.py49 except Exception as e:STRING
LOWtools/mm/show_page_info.py74 except Exception as e:CODE
MEDIUMtools/mm/show_page_info.py84 print(f"Error reading page data: {e}")CODE
MEDIUMtools/mm/show_page_info.py113 print(f"Error retrieving VMA information: {e}")CODE
25 more matches not shown…
AI Slop Vocabulary37 hits · 97 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/sphinx/kerneldoc.py141 # FIXME: make this nicer and more robust against errorsCOMMENT
MEDIUMtools/tracing/rtla/tests/engine.sh4 # Count tests to allow the test harness to double-check if all wereCOMMENT
LOWtools/testing/selftests/net/ipvtap_test.sh88 # If just add/remove IP, nothing interesting will happen.COMMENT
LOWtools/testing/selftests/net/forwarding/lib.sh29: "${PING6:=ping6}" # Some distros just use ping.CODE
MEDIUMtools/testing/selftests/net/hsr/link_faults.sh251 # with access to global variables from the test harness.COMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py721 # utilize context from ntuple filterCOMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py761 # utilize context from ntuple filterCOMMENT
LOWtools/testing/selftests/zram/zram02.sh26# memparse() which supports mem suffixes. So here we just useCOMMENT
LOWtools/testing/selftests/zram/zram01.sh27# memparse() which supports mem suffixes. So here we just useCOMMENT
MEDIUMtools/testing/selftests/mm/ksft_kmemleak_dedup.sh84 # robust to that, or this test should be excluded from the run.COMMENT
MEDIUMtools/arch/sparc/include/asm/barrier_64.h8 * #51. Essentially, if a memory barrier occurs soon after a mispredictedCOMMENT
LOWtools/lib/python/kdoc/c_lex.py207 # While we could just use _tokenize directly via interator,COMMENT
MEDIUMtools/perf/scripts/python/task-analyzer.py1# task-analyzer.py - comprehensive perf tasks analysisCOMMENT
LOWdrivers/gpu/drm/ci/gitlab-ci.yml188 # changed, else we'll just use the already-built containersCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c196 // we want to turn off edp displays if odm is enabled and no seamless bootCOMMENT
MEDIUM…vers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c2114 // Check seamless boot supportCOMMENT
MEDIUM…vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c135 // seamless boot is enabled or not to suppress global syncCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c228 // we want to turn off edp displays if odm is enabled and no seamless bootCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c725 // seamless boot is enabled or not to suppress global syncCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1700 // seamless boot is enabled or not to suppress global syncCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/core/dc.c1999 // or not necessary for seamless boot validation.COMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c740 // The DML spreadsheet assumes that the two cursors utilize the same amount of bandwidth. We'llCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/link/link_dpms.c2053 // check for seamless bootCOMMENT
MEDIUMdrivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h251#define NFP_NET_BPF_CAP_RELO (1 << 0) /* seamless reload */COMMENT
MEDIUMdrivers/usb/gadget/udc/pxa25x_udc.c625 // TODO experiment: how robust can fifo mode tweaking be?COMMENT
LOWinclude/sound/emu10k1.h873#define A_SPDIF_RATE_MASK 0x000000e0 /* Any other values for rates, just use 48000 */COMMENT
MEDIUMrust/pin-init/src/__internal.rs79/// This trait is only implemented via the `#[pin_data]` proc-macro. It is used to facilitateCOMMENT
MEDIUMrust/zerocopy/src/layout.rs351 // We use Kani to prove that this method is robust to future increasesCOMMENT
MEDIUMrust/kernel/build_assert.rs11//! the list are more robust and trigger earlier in the compilation pipeline. Therefore, you shouldCOMMENT
MEDIUMrust/kernel/devres.rs136// leverage `bindgen` to take care of this depending on whether a symbol is (already) exported.COMMENT
MEDIUMrust/kernel/driver.rs300// leverage `bindgen` to take care of this depending on whether a symbol is (already) exported.COMMENT
LOWsamples/pktgen/functions.sh122 # Trick so, program can be run as normal user, will just use "sudo"COMMENT
MEDIUMarch/sparc/include/asm/barrier_64.h6 * #51. Essentially, if a memory barrier occurs soon after a mispredictedCOMMENT
LOWscripts/check_extable.sh26# __ex_table relocation to your new section is expected), simply add yourCOMMENT
MEDIUMscripts/dtc/update-dtc-source.sh21# aren't a big deal. If anyone is interested in making it more robust, theCOMMENT
MEDIUMlib/crypto/mips/poly1305-mips.pl45# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUMfs/affs/amigaffs.h146#define FIBF_OWNER 0x000F /* Bits pertaining to owner */COMMENT
Hallucination Indicators11 hits · 95 pts
SeverityFileLineSnippetContext
CRITICALDocumentation/sphinx/kernel_feat.py80 self.state.document.settings.env.app.warn(message, prefix="")CODE
CRITICALDocumentation/sphinx/kernel_include.py158 self.state.document.settings.record_dependencies.add(path)CODE
CRITICALDocumentation/sphinx/maintainers_include.py307 self.state.document.settings.record_dependencies.add(path)CODE
CRITICALDocumentation/sphinx/maintainers_include.py367 self.state.document.settings.record_dependencies.add(path)CODE
CRITICALtools/cgroup/iocost_monitor.py70 return blkcg.css.cgroup.kn.name.string_().decode('utf-8')STRING
CRITICALtools/cgroup/iocost_monitor.py231 if devname == blkg.q.mq_kobj.parent.name.string_().decode('utf-8'):STRING
CRITICALtools/writeback/wb_monitor.py99 ino = str(wb.memcg_css.cgroup.kn.id.value_())STRING
CRITICALrust/zerocopy-derive/util.rs657 let param_idents = self.ctx.ast.generics.params.iter().map(|param| match param {CODE
CRITICALrust/kernel/gpu/buddy.rs612 (self.blocks.buddy.params.chunk_size.as_usize() as u64) << self.this.order()CODE
CRITICALscripts/crypto/gen-fips-testvecs.py42aes = cryptography.hazmat.primitives.ciphers.algorithms.AES(fips_test_key)CODE
CRITICALscripts/crypto/gen-hash-testvecs.py36 aes = cryptography.hazmat.primitives.ciphers.algorithms.AES(key)CODE
Fake / Example Data59 hits · 74 pts
SeverityFileLineSnippetContext
LOWtools/testing/selftests/tty/tty_tiocsti_test.c254 char dummy_data = 'F';CODE
LOWtools/testing/selftests/tty/tty_tiocsti_test.c255 struct iovec iov = { .iov_base = &dummy_data, .iov_len = 1 };CODE
LOWtools/testing/selftests/tty/tty_tiocsti_test.c278 char dummy_data;CODE
LOWtools/testing/selftests/tty/tty_tiocsti_test.c279 struct iovec iov = { .iov_base = &dummy_data, .iov_len = 1 };CODE
LOWtools/testing/selftests/bpf/uptr_test_common.h14struct user_data *dummy_data;CODE
LOW…esting/selftests/bpf/prog_tests/test_task_local_data.c170 snprintf(dummy_key_name, TLD_NAME_LEN, "dummy_value%d", i);CODE
LOW…esting/selftests/filesystems/epoll/epoll_wakeup_test.c3513 int64_t dummy_data = 99;CODE
LOW…esting/selftests/filesystems/epoll/epoll_wakeup_test.c3527 write(ctx.efd[1], &dummy_data, sizeof(dummy_data));CODE
LOWnet/sched/cls_flower.c106 struct fl_flow_key dummy_key;CODE
LOWnet/sched/cls_flower.c2778 cls_flower.rule->match.key = &tmplt->dummy_key;CODE
LOWnet/sched/cls_flower.c2828 err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key,CODE
LOWnet/sched/cls_flower.c2873 cls_flower.rule->match.key = &tmplt->dummy_key;CODE
LOWnet/sched/cls_flower.c3794 key = &tmplt->dummy_key;CODE
LOWdrivers/pci/slot.c247 * the 'placeholder' slot will not be displayed.COMMENT
LOWdrivers/net/macsec.c4320 char dummy_key[DEFAULT_SAK_LEN] = { 0 };CODE
LOWdrivers/net/macsec.c4323 dummy_tfm = macsec_alloc_tfm(dummy_key,CODE
LOWdrivers/net/netdevsim/dev.c84 void *dummy_data;CODE
LOWdrivers/net/netdevsim/dev.c86 dummy_data = kmalloc(NSIM_DEV_DUMMY_REGION_SIZE, GFP_KERNEL);CODE
LOWdrivers/net/netdevsim/dev.c87 if (!dummy_data)CODE
LOWdrivers/net/netdevsim/dev.c90 get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE);CODE
LOWdrivers/net/netdevsim/dev.c92 *data = dummy_data;COMMENT
LOWdrivers/net/netdevsim/dev.c103 u8 *dummy_data;CODE
LOWdrivers/net/netdevsim/dev.c109 err = nsim_dev_take_snapshot(devlink, NULL, NULL, &dummy_data);CODE
LOWdrivers/net/netdevsim/dev.c116 kfree(dummy_data);CODE
LOWdrivers/net/netdevsim/dev.c120 dummy_data, id);CODE
LOWdrivers/net/netdevsim/dev.c124 kfree(dummy_data);CODE
LOWdrivers/i2c/i2c-core-base.c1109static const struct i2c_device_id dummy_id[] = {CODE
LOWdrivers/i2c/i2c-core-base.c1123 .id_table = dummy_id,CODE
LOWdrivers/spi/spi-stm32-qspi.c584 dev_dbg(qspi->dev, "tx_buf:%p tx_nbits:%d rx_buf:%p rx_nbits:%d len:%d dummy_data:%d\n",CODE
LOWdrivers/spi/spi-stm32-qspi.c587 transfer->len, transfer->dummy_data);CODE
LOWdrivers/spi/spi-stm32-qspi.c594 if (transfer->dummy_data) {CODE
LOWdrivers/spi/spi-mem.c489 xfers[xferpos].dummy_data = 1;CODE
LOWdrivers/spi/spi-stm32-ospi.c682 dev_dbg(ospi->dev, "tx_buf:%p tx_nbits:%d rx_buf:%p rx_nbits:%d len:%d dummy_data:%d\n",CODE
LOWdrivers/spi/spi-stm32-ospi.c685 transfer->len, transfer->dummy_data);CODE
LOWdrivers/spi/spi-stm32-ospi.c692 if (transfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1199 if (xfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1328 if (next_xfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1433 if (xfer->dummy_data != 1)CODE
LOWdrivers/mtd/chips/map_absent.c3 * Common code to handle absent "placeholder" devicesCOMMENT
LOWdrivers/mtd/chips/map_absent.c6 * This map driver is used to allocate "placeholder" MTDCOMMENT
LOWdrivers/mfd/ocelot-spi.c159 xfers[index].dummy_data = 1;CODE
LOWinclude/linux/spi/spi.h994 * @dummy_data: indicates transfer is dummy bytes transfer.COMMENT
LOWinclude/linux/spi/spi.h1120 unsigned dummy_data:1;CODE
LOWarch/x86/kernel/umip.c261 unsigned long dummy_value;CODE
LOWarch/x86/kernel/umip.c264 dummy_value = CR0_STATE;CODE
LOWarch/x86/kernel/umip.c266 dummy_value = GDT_ENTRY_TSS * 8;CODE
LOWarch/x86/kernel/umip.c271 dummy_value = GDT_ENTRY_LDT * 8;CODE
LOWarch/x86/kernel/umip.c273 dummy_value = 0;CODE
LOWarch/x86/kernel/umip.c276 dummy_value = 0;CODE
LOWarch/x86/kernel/umip.c293 memcpy(data, &dummy_value, *data_size);CODE
LOWarch/x86/kernel/umip.c351 unsigned char dummy_data[10] = { 0 };CODE
LOWarch/x86/kernel/umip.c383 if (emulate_umip_insn(&insn, umip_inst, dummy_data, &dummy_data_size,CODE
LOWarch/x86/kernel/umip.c405 memcpy(reg_addr, dummy_data, dummy_data_size);CODE
LOWarch/x86/kernel/umip.c411 nr_copied = copy_to_user(uaddr, dummy_data, dummy_data_size);CODE
LOWmm/hugetlb.c866 * may be a "placeholder" entry in the map which is of the formCOMMENT
LOWfs/ecryptfs/crypto.c1428 char dummy_key[ECRYPTFS_MAX_KEY_BYTES];CODE
LOWfs/ecryptfs/crypto.c1453 get_random_bytes(dummy_key, *key_size);CODE
LOWfs/ecryptfs/crypto.c1454 rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size);CODE
LOWfs/jffs2/nodelist.c44 /* It may have been a 'placeholder' deletion dirent,COMMENT
Synthetic Comment Markers7 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtools/net/ynl/lib/ynl-priv.h112/* YNL specific helpers used by the auto-generated code */COMMENT
HIGHtools/net/ynl/lib/ynl.c934/* YNL specific helpers used by the auto-generated code */COMMENT
HIGHtools/include/uapi/linux/netlink.h59#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
HIGHtools/time/udelay_test.sh8# at least as long as requested (as compared to ktime).COMMENT
HIGHdrivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0_2_pptable.h169 PPTable_t smc_pptable; // PPTable_t in driver_if.h -- as requested by PMFW, this offset shoCODE
HIGHinclude/uapi/linux/netlink.h67#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
HIGHrust/zerocopy/src/lib.rs6981 // preserving the count as requested by the user is the behavior that weCOMMENT
Modern Structural Boilerplate35 hits · 39 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/kernel_include.py105logger = logging.getLogger(__name__)CODE
LOWDocumentation/sphinx/parser_yaml.py27logger = logging.getLogger(__name__)CODE
LOWDocumentation/sphinx/kerneldoc.py56logger = logging.getLogger(__name__)CODE
LOWtools/net/sunrpc/xdrgen/xdr_parse.py44def set_xdr_annotate(set_it: bool) -> None:CODE
LOWtools/net/sunrpc/xdrgen/xdr_parse.py55def set_xdr_enum_validation(set_it: bool) -> None:CODE
LOWtools/net/ynl/pyynl/lib/__init__.py12__all__ = ["SpecAttr", "SpecAttrSet", "SpecEnumEntry", "SpecEnumSet",CODE
LOWtools/testing/selftests/net/lib/py/ynl.py30__all__ = [CODE
LOWtools/testing/selftests/net/lib/py/__init__.py23__all__ = ["KSRC",CODE
LOWtools/testing/selftests/drivers/net/shaper.py36def set_qshapers(cfg, nl_shaper) -> None:CODE
LOWtools/testing/selftests/drivers/net/shaper.py108def set_nshapers(cfg, nl_shaper) -> None:CODE
LOWtools/testing/selftests/drivers/net/napi_threaded.py26def _set_threaded_state(cfg, threaded) -> None:CODE
LOWtools/testing/selftests/drivers/net/napi_threaded.py31def _setup_deferred_cleanup(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py94def set_hds_enable(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py112def set_hds_disable(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py130def set_hds_thresh_zero(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py148def set_hds_thresh_random(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py179def set_hds_thresh_max(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py197def set_hds_thresh_gt(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py213def set_xdp(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/hds.py243def set_xdp(cfg, netnl) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py63def _set_offload_checksum(cfg, netnl, on) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py69def _set_xdp_generic_sb_on(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py78def _set_xdp_generic_mb_on(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py88def _set_xdp_native_sb_on(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py105def _set_xdp_native_mb_on(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py118def _set_xdp_offload_on(cfg) -> None:CODE
LOWtools/testing/selftests/drivers/net/ping.py142def set_interface_init(cfg) -> None:CODE
LOWtools/perf/python/ilist.py253 def set_searched_tree_node(self, previous: bool) -> None:CODE
LOWtools/perf/python/ilist.py283 def set_initial_focus(event: str | None) -> None:CODE
LOWtools/perf/python/ilist.py341 def update_counts(self) -> None:CODE
LOWtools/perf/python/ilist.py383 def set_selected(self, value: TreeValue) -> None:CODE
LOWscripts/sbom/sbom/spdx_graph/__init__.py7__all__ = ["build_spdx_graphs", "SpdxIdGeneratorCollection"]CODE
LOWscripts/sbom/sbom/spdx/__init__.py7__all__ = ["JsonLdSpdxDocument", "SpdxId", "SpdxIdGenerator"]CODE
LOWscripts/sbom/sbom/cmd_graph/__init__.py7__all__ = ["CmdGraph", "CmdGraphNode", "CmdGraphNodeConfig"]CODE
LOWscripts/sbom/sbom/cmd_graph/savedcmd_parser/__init__.py6__all__ = ["parse_inputs_from_commands"]CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtools/net/sunrpc/xdrgen/subcmds/definitions.py0translate an xdr specification into executable code that can be compiled for the linux kernel.STRING
HIGHtools/net/sunrpc/xdrgen/subcmds/source.py0translate an xdr specification into executable code that can be compiled for the linux kernel.STRING
HIGHtools/net/sunrpc/xdrgen/subcmds/declarations.py0translate an xdr specification into executable code that can be compiled for the linux kernel.STRING
HIGHtools/net/sunrpc/xdrgen/subcmds/lint.py0translate an xdr specification into executable code that can be compiled for the linux kernel.STRING
HIGHtools/docs/get_abi.py0parse abi documentation and produce results from it.STRING
HIGHtools/lib/python/abi/abi_parser.py0parse abi documentation and produce results from it.STRING
HIGHtools/lib/python/abi/system_symbols.py0parse abi documentation and produce results from it.STRING
Structural Annotation Overuse16 hits · 29 pts
SeverityFileLineSnippetContext
LOWtools/testing/selftests/net/ioam6.sh111# WARNING: Be careful if you modify the block below - it MUST be kept #COMMENT
LOW…vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c203 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOW…vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c225 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c794 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c815 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1768 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1790 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWscripts/recordmcount.pl537# Step 3: Compile the file that holds the list of call sites to mcount.COMMENT
LOWscripts/recordmcount.pl544# Step 4: Do we have sections that started with local functions?COMMENT
LOWscripts/recordmcount.pl559 # Step 5: set up each local function as a globalCOMMENT
LOWscripts/recordmcount.pl564 # Step 6: Link the global version to our list.COMMENT
LOWscripts/recordmcount.pl569 # Step 7: Convert the local functions back into local symbolsCOMMENT
LOWscripts/recordmcount.pl581 # Step 8: Link the object with our list of call sites object.COMMENT
LOWscripts/recordmcount.pl586 # Step 9: Move the result back to the original object.COMMENT
LOWscripts/recordmcount.pl395# Step 1: find all the local (static functions) and weak symbols.COMMENT
LOWscripts/recordmcount.pl448# Step 2: find the sections and mcount call sitesCOMMENT
Example Usage Blocks19 hits · 28 pts
SeverityFileLineSnippetContext
LOWDocumentation/arch/s390/config3270.sh5# Usage:COMMENT
LOWtools/net/sunrpc/extract.sh7# Usage:COMMENT
LOWtools/memory-model/scripts/simpletest.sh7# Usage:COMMENT
LOWtools/memory-model/scripts/checklitmus.sh7# Usage:COMMENT
LOWtools/memory-model/scripts/checkalllitmus.sh16# Usage:COMMENT
LOWtools/memory-model/scripts/hwfnseg.sh8# Usage:COMMENT
LOWtools/memory-model/scripts/runlitmus.sh15# Usage:COMMENT
LOWtools/memory-model/scripts/judgelitmus.sh21# Usage:COMMENT
LOWtools/memory-model/scripts/checktheselitmus.sh7# Usage:COMMENT
LOWtools/testing/selftests/rcutorture/bin/torture.sh329# Usage:COMMENT
LOWtools/testing/selftests/rcutorture/bin/torture.sh366# Usage:COMMENT
LOWtools/testing/selftests/bpf/test_kmod.sh4# Usage:COMMENT
LOWtools/perf/scripts/python/gecko.py7# Usage:COMMENT
LOWtools/perf/scripts/python/flamegraph.py4# Usage:COMMENT
LOWtools/perf/scripts/python/task-analyzer.py6# Usage:COMMENT
LOWdrivers/tty/vt/gen_ucs_fallback_table.py9# Usage:COMMENT
LOWdrivers/tty/vt/gen_ucs_recompose_table.py9# Usage:COMMENT
LOWscripts/checkstack.pl20# Usage:COMMENT
LOWscripts/checksyscalls.sh9# Usage:COMMENT
AI Structural Patterns25 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/power/pm-graph/sleepgraph.py4326CODE
LOWtools/power/pm-graph/sleepgraph.py659CODE
LOWtools/power/pm-graph/sleepgraph.py993CODE
LOWtools/cgroup/iocost_monitor.py190CODE
LOWtools/cgroup/iocost_monitor.py203CODE
LOWtools/docs/checktransupdate.py115CODE
LOWtools/docs/test_doc_build.py249CODE
LOWtools/testing/selftests/net/bpf_offload.py486CODE
LOWtools/testing/selftests/net/bpf_offload.py502CODE
LOWtools/testing/selftests/net/lib/py/utils.py46CODE
LOWtools/testing/selftests/net/lib/py/utils.py180CODE
LOWtools/testing/selftests/drivers/sdsi/sdsi_test.py51CODE
LOWtools/testing/selftests/tc-testing/tdc.py296CODE
LOWtools/testing/selftests/exec/binfmt_script.py45CODE
LOWtools/testing/selftests/hid/tests/test_wacom_generic.py310CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py142CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py268CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py429CODE
LOWtools/writeback/wb_monitor.py78CODE
LOWtools/lib/python/kdoc/kdoc_files.py232CODE
LOWtools/lib/python/kdoc/kdoc_files.py329CODE
LOWtools/perf/pmu-events/metric.py457CODE
LOWtools/perf/tests/shell/lib/perf_metric_validation.py598CODE
LOWtools/perf/tests/shell/lib/perf_metric_validation.py38CODE
LOWscripts/gdb/linux/slab.py97CODE
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ls/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh11# In this example, hosts hs-1 and hs-2 are connected through an IPv4/IPv6 VPNCOMMENT
HIGH…/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh10# In this example, hosts hs-1 and hs-2 are connected through an L2 VPN service.COMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/testing/selftests/drivers/net/xdp.py132 Retrieves and formats statistics from an XDP map. Args: xdp_map_id: The ID of the XDP map from which tSTRING
HIGHscripts/clang-tools/gen_compile_commands.py153Extracts information from a .cmd line and creates an entry from it. Args: root_directory: The directory thaSTRING
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdrivers/gpu/drm/amd/display/dc/mpc/dcn32/dcn32_mpc.c892 // TODO: implement movable CM locationCOMMENT
LOWdrivers/net/wireless/broadcom/b43/phy_g.c3007 //TODO: implement rev1 workaroundCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtools/unittests/test_cmatch.py398CODE