Repository Analysis

raspberrypi/linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/

3.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of raspberrypi/linux, a C project with 13,000 GitHub stars. SynthScan v2.0 examined 33,558,898 lines of code across 71251 source files, recording 129471 pattern matches distributed across 23 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-14
Last Push
13.0K
Stars
C
Language
33.6M
Lines of Code
71.3K
Files
129.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 6HIGH 39MEDIUM 415LOW 129011

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 129471 distinct pattern matches across 23 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 Block127680 hits · 103869 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/do_mounts_initrd.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/initramfs.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/init_task.c1// SPDX-License-Identifier: GPL-2.0COMMENT
LOWinit/init_task.c201#endifCOMMENT
LOWinit/main.c21#include <linux/kernel.h>COMMENT
LOWinit/main.c41#include <linux/start_kernel.h>COMMENT
LOWinit/main.c61#include <linux/unistd.h>COMMENT
LOWinit/main.c81#include <linux/shmem_fs.h>COMMENT
LOWinit/main.c101#include <linux/init_syscalls.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/aegis128-neon-inner.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWcrypto/wp512.c21 */COMMENT
LOWcrypto/ripemd.h21#define RMD_K2 0x5a827999ULCOMMENT
LOWcrypto/ansi_cprng.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
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.py261# The master toctree document.COMMENT
LOWDocumentation/conf.py321# for a list of supported languages.COMMENT
LOWDocumentation/conf.py341# unit titles (such as .. function::).COMMENT
LOWDocumentation/conf.py501# The name of an image file (relative to this directory) to place at the top ofCOMMENT
127620 more matches not shown…
Decorative Section Separators263 hits · 898 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/conf.py57# -------------------------------------------------COMMENT
MEDIUMDocumentation/conf.py586# ------------------------------------------------------------------------------STRING
MEDIUMDocumentation/conf.py589# ------------------------------------------------------------------------------STRING
MEDIUMDocumentation/sphinx/kernel_include.py82# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py84# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py112# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py388# ==============================================================================COMMENT
MEDIUMDocumentation/sphinx/kernel_include.py435# ==============================================================================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/load_config.py9# ------------------------------------------------------------------------------COMMENT
MEDIUMDocumentation/sphinx/load_config.py11# ------------------------------------------------------------------------------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.yaml84# ==========================COMMENT
MEDIUM…on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml172# --------------------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…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.yaml288# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml290# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml317# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml319# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml360# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml363# --------------------COMMENT
MEDIUM…cumentation/devicetree/bindings/sound/simple-card.yaml385# --------------------COMMENT
203 more matches not shown…
Unused Imports389 hits · 347 pts
SeverityFileLineSnippetContext
LOWDocumentation/conf.py392CODE
LOWDocumentation/sphinx/kernel_feat.py34CODE
LOWDocumentation/sphinx/kernel_feat.py38CODE
LOWDocumentation/sphinx/kernel_feat.py40CODE
LOWDocumentation/sphinx/maintainers_include.py20CODE
LOWDocumentation/sphinx/maintainers_include.py25CODE
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.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/subcmds/declarations.py13CODE
LOWtools/net/sunrpc/xdrgen/subcmds/declarations.py24CODE
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__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
LOWtools/net/ynl/pyynl/lib/__init__.py3CODE
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__.py7CODE
LOWtools/workqueue/wq_dump.py50CODE
LOWtools/workqueue/wq_monitor.py40CODE
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
LOWtools/docs/gen-renames.py16CODE
LOWtools/docs/gen-renames.py18CODE
LOWtools/testing/selftests/net/nl_netdev.py4CODE
LOWtools/testing/selftests/net/nl_netdev.py6CODE
LOWtools/testing/selftests/net/bpf_offload.py19CODE
LOWtools/testing/selftests/net/bpf_offload.py24CODE
LOWtools/testing/selftests/net/lib/py/ynl.py16CODE
329 more matches not shown…
Self-Referential Comments88 hits · 268 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/conf.py277# The following code tries to extract the information by reading the Makefile,COMMENT
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/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.sh746# Create a new dummy_10 to remove all associated routes.COMMENT
MEDIUMtools/testing/selftests/net/fib_tests.sh881 # Create a pair of veth devices to send a RA message from oneCOMMENT
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/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.sh73# 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.py310 # Create the nested node and validate the hierarchyCOMMENT
MEDIUMtools/testing/selftests/drivers/net/netcons_cmdline.sh35 # Create the command line for netconsole, with the configuration fromCOMMENT
MEDIUMtools/testing/selftests/drivers/net/netcons_basic.sh44 # Create a dynamic target for netconsoleCOMMENT
MEDIUM…esting/selftests/drivers/net/netcons_fragmented_msg.sh90# Create a dynamic target for netconsoleCOMMENT
MEDIUMtools/testing/selftests/drivers/net/netcons_overflow.sh61# Create a dynamic target for netconsoleCOMMENT
MEDIUMtools/testing/selftests/drivers/net/netcons_sysdata.sh221# Create a dynamic target for netconsoleCOMMENT
MEDIUMtools/testing/selftests/drivers/net/netcons_torture.sh103# Create a dynamic target for netconsoleCOMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py781 # 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…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
MEDIUM…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh131 # Create a dynamic targetCOMMENT
MEDIUMtools/testing/selftests/sched/cs_prctl_test.c279 printf("\n## Create a thread/process/process group hierarchy\n");CODE
MEDIUMtools/testing/selftests/cgroup/test_cpuset_v1_hp.sh21# Create a test cpuset, put a CPU and a task there and offline that CPUCOMMENT
MEDIUMtools/testing/selftests/cgroup/test_cpuset_v1_base.sh34# Create a test cpuset, read write testCOMMENT
MEDIUMtools/testing/selftests/rcutorture/bin/mktestid.sh4# Create a testid.txt file in the specified directory.COMMENT
MEDIUM…esting/selftests/rcutorture/bin/kvm-get-cpus-script.sh4# Create an awk script that takes as input numbers of CPUs and outputsCOMMENT
MEDIUMtools/testing/selftests/rcutorture/bin/mkinitrd.sh4# Create an initrd directory if one does not already exist.COMMENT
MEDIUMtools/testing/selftests/rcutorture/bin/mkinitrd.sh22# Create a C-language initrd/init infinite-loop program and staticallyCOMMENT
MEDIUMtools/testing/selftests/rcutorture/bin/kvm-remote.sh120# Create the kvm-remote-N.sh scripts in the bin directory.COMMENT
MEDIUMtools/testing/selftests/rcutorture/bin/kvm.sh299# Create a file of test-name/#cpus pairs, sorted by decreasing #cpus.COMMENT
28 more matches not shown…
Hyper-Verbose Identifiers251 hits · 260 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/generators/program.py33def emit_version_declarations(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py58def emit_version_argument_decoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py72def emit_version_result_decoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py86def emit_version_argument_encoders(CODE
LOWtools/net/sunrpc/xdrgen/generators/program.py100def 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.py71def emit_union_switch_spec_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py80def emit_union_case_spec_decoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py109def emit_union_default_spec_decoder(environment: Environment, node: _XdrUnion) -> None:CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py156def emit_union_switch_spec_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py165def emit_union_case_spec_encoder(CODE
LOWtools/net/sunrpc/xdrgen/generators/union.py192def emit_union_default_spec_encoder(environment: Environment, node: _XdrUnion) -> None:CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2309def parse_rsp_nested_prototype(ri, struct, suffix=';'):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2704def free_rsp_nested_prototype(ri):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2783def kernel_can_gen_family_struct(family):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2791def print_kernel_policy_ranges(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2820def print_kernel_policy_sparse_enum_validates(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2858def print_kernel_op_table_fwd(family, cw, terminate):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2925def print_kernel_op_table_hdr(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py3034def print_kernel_family_struct_hdr(family, cw):CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py3046def print_kernel_family_struct_src(family, cw):CODE
LOWtools/cgroup/iocost_coef_gen.py106def restore_elevator_nomerges():STRING
LOWtools/docs/lib/enrich_formatter.py65 def _format_action_invocation(self, action):CODE
LOWtools/testing/selftests/drivers/sdsi/sdsi_test.py65 def test_sysfs_file_permissions(self, socket):CODE
LOWtools/testing/selftests/drivers/sdsi/sdsi_test.py78 def test_sysfs_file_ownership(self, socket):CODE
LOWtools/testing/selftests/drivers/sdsi/sdsi_test.py167 def test_enodev_when_pci_device_removed(self, socket):CODE
LOWtools/testing/selftests/drivers/net/psp.py262def assoc_sk_only_mismatch_tx(cfg):CODE
LOWtools/testing/selftests/drivers/net/netpoll_basic.py139def netcons_generate_random_target_name() -> str:CODE
LOWtools/testing/selftests/drivers/net/netpoll_basic.py282def do_netpoll_flush_monitored(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None:CODE
LOWtools/testing/selftests/drivers/net/napi_threaded.py14def _assert_napi_threaded_enabled(nl, napi_id) -> None:CODE
LOWtools/testing/selftests/drivers/net/napi_threaded.py20def _assert_napi_threaded_disabled(nl, napi_id) -> None:CODE
LOWtools/testing/selftests/drivers/net/napi_threaded.py70def enable_dev_threaded_disable_napi_threaded(cfg, nl) -> None:CODE
LOWtools/testing/selftests/drivers/net/xdp.py432def _test_xdp_native_tail_adjst(cfg, pkt_sz_lst, offset_lst):CODE
LOWtools/testing/selftests/drivers/net/xdp.py498def test_xdp_native_adjst_tail_grow_data(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py516def test_xdp_native_adjst_tail_shrnk_data(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py560def _test_xdp_native_head_adjst(cfg, prog, pkt_sz_lst, offset_lst):CODE
LOWtools/testing/selftests/drivers/net/xdp.py633def test_xdp_native_adjst_head_grow_data(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py654def test_xdp_native_adjst_head_shrnk_data(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py675def _test_xdp_native_ifc_stats(cfg, act):CODE
LOWtools/testing/selftests/drivers/net/xdp.py733def test_xdp_native_qstats_pass(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py741def test_xdp_native_qstats_drop(cfg):CODE
LOWtools/testing/selftests/drivers/net/xdp.py749def test_xdp_native_qstats_tx(cfg):CODE
LOWtools/testing/selftests/drivers/net/hw/nic_timestamp.py13def __get_hwtimestamp_support(cfg):CODE
LOWtools/testing/selftests/drivers/net/hw/rss_ctx.py190def test_rss_queue_reconfigure(cfg, main_ctx=True):CODE
191 more matches not shown…
Deep Nesting283 hits · 256 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/maintainers_include.py45CODE
LOWDocumentation/sphinx/rstFlatTable.py228CODE
LOWDocumentation/sphinx/rstFlatTable.py295CODE
LOWDocumentation/sphinx/rstFlatTable.py316CODE
LOWDocumentation/sphinx/load_config.py10CODE
LOWDocumentation/sphinx/automarkup.py124CODE
LOWDocumentation/sphinx/automarkup.py146CODE
LOWDocumentation/sphinx/kerneldoc.py95CODE
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
LOWtools/power/pm-graph/sleepgraph.py2844CODE
223 more matches not shown…
Verbosity Indicators82 hits · 130 pts
SeverityFileLineSnippetContext
LOWtools/testing/selftests/bpf/test_loader.c358 * And the purpose of this function is to extract 'foo' from the above.COMMENT
LOWtools/perf/builtin-trace.c5509 * This is important because we need to check if strace-like mode isCOMMENT
LOWtools/perf/util/symbol-elf.c598 * 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.c554 * head has numerically wrapped around. To find we need to check if we have data at theCOMMENT
LOWnet/core/dev.c7813 /* 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.c429/* The following code block is to deal with middle box issues with MPTCP,COMMENT
LOWnet/ipv4/tcp_fastopen.c478 * 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.c4029 * 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.c1875 * 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.c667 /* 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.c451 * So, here we need to check if there is any pendingCOMMENT
LOWdrivers/staging/media/deprecated/atmel/atmel-isc-base.c325 * channels. We need to check if sensor is outputting RAW BAYERCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c775 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c796 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1722 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1744 // 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.c2453 * 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.h17/* 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/atm/lanai.c1250 * We need to check if the "butt busy" bit is set beforeCOMMENT
LOWdrivers/scsi/isci/remote_device.c822 /* we need to check if this request is still valid to continue. */COMMENT
LOWdrivers/usb/host/dwc_otg/dwc_otg_cil.h164 /** This variable stores the length of the last enqueued request */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.c193 * 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/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.h114 * // Step 1:COMMENT
LOWinclude/linux/auxiliary_bus.h120 * // Step 2:COMMENT
LOWinclude/linux/auxiliary_bus.h124 * // 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.c588 * 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
22 more matches not shown…
Slop Phrases67 hits · 124 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.c376 * 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.c7509 * 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.c9982 * 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.c4046 * 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.h89 * 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.c256 * bit. It's worth noting that the A5 stepping (662) of someCOMMENT
LOWarch/arm64/kvm/nested.c698 /* Make sure we don't forget to do the laundry */COMMENT
LOWarch/arm64/kvm/hyp/nvhe/mem_protect.c554 /* Don't forget to update the vmemmap tracking for the host */COMMENT
LOWmm/memcontrol.c2418 * If the allocation has to be enforced, don't forget to raiseCOMMENT
LOWmm/memcontrol.c4462 * 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.c1137 * Don't forget to update Documentation/ on changes.COMMENT
LOWfs/btrfs/relocation.c1882 /* Don't forget to queue this reloc root for cleanup */COMMENT
LOWfs/btrfs/inode.c673 * Don't forget to free the reserved space, as for inlined extentCOMMENT
LOWfs/btrfs/fs.h218 * Note: don't forget to add new options to btrfs_show_options()COMMENT
LOWfs/ubifs/tnc.c3094 * Don't forget to update clean znode count afterCOMMENT
LOWfs/ntfs3/attrib.c826 /* Don't forget to update duplicate information in parent. */COMMENT
LOWfs/ext4/super.c4364 /* don't forget to enable journal_csum when metadata_csum is enabled. */COMMENT
7 more matches not shown…
Redundant / Tautological Comments82 hits · 122 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/automarkup.py128 # Check if this document has a namespace, and if so, tryCOMMENT
LOWDocumentation/sphinx/automarkup.py161 # 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.py1119 # Check if this is a reply to our requestCOMMENT
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.sh260 # Check if psample actions can be configured.COMMENT
LOWtools/testing/selftests/net/openvswitch/openvswitch.sh358 # Check if drop reasons can be sentCOMMENT
LOW…esting/selftests/drivers/net/netcons_fragmented_msg.sh108# Check if the message was not corruptedCOMMENT
LOWtools/testing/selftests/drivers/net/netcons_sysdata.sh109 # Check if cpu=XX exists in the file and matches the one usedCOMMENT
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
LOW…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh259 # Check if the file existsCOMMENT
LOW…ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh371# Check if netconsole was compiled as a module, otherwise exitCOMMENT
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.sh41# 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/rcutorture/bin/kvm.sh366 # 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/selftests/bpf/test_bpftool.py85 # Check if the result has all expected keys.COMMENT
LOWtools/testing/selftests/bpf/test_bpftool.py87 # Check if unexpected helpers are not included in helpers probesCOMMENT
LOWtools/testing/selftests/bpf/test_bpftool.py110 # Check if the result has all expected keys.COMMENT
LOWtools/testing/selftests/bpf/test_bpftool.py112 # Check if unexpected helpers are not included in helpers probesCOMMENT
LOWtools/testing/selftests/bpf/test_bpftool.py126 # Check if expected helpers are included at least once in anyCOMMENT
LOWtools/testing/kunit/kunit_parser.py414 # Check if line matches test result line formatCOMMENT
LOWtools/testing/ktest/ktest.pl3152 # Check if a bisect was runningCOMMENT
LOWtools/perf/check-headers.sh165# Check if we have the kernel headers (tools/perf/../../include), elseCOMMENT
LOWtools/perf/pmu-events/jevents.py1343 # 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.sh271 # Check if the two instruction counts are equal in each record.COMMENT
LOWtools/perf/tests/shell/script.sh38 # Check if python script is supportedCOMMENT
LOWtools/perf/tests/shell/test_arm_spe_fork.sh31# Check if perf hangs by checking the perf-record logs.COMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh481 # Check if CYC is supportedCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh510 # Check if recording with sample mode is workingCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh529 # Check if recording with kernel trace is workingCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh542 # Check if python script is supportedCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh567 # Check if virtual lbr is workingCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh585 # Check if power events are supportedCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh602 # Check if TNT disable is supportedCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh622 # Check if event_trace is supportedCOMMENT
LOWtools/perf/tests/shell/test_intel_pt.sh639 # Check if it works with pipeCOMMENT
LOWtools/perf/tests/shell/lib/waiting.sh64# Check if PID $1 is still running after $2 tenths of a secondCOMMENT
LOWtools/perf/tests/shell/lib/coresight.sh115 # Iterate over the list of TIDs that the test says it has and findCOMMENT
LOWtools/gpio/gpio-sloppy-logic-analyzer.sh132 # Check if we could parse something and the channel number fitsCOMMENT
LOWdrivers/gpu/drm/ci/igt_runner.sh89# Check if /proc/lockdep_stats existsCOMMENT
22 more matches not shown…
Excessive Try-Catch Wrapping76 hits · 104 pts
SeverityFileLineSnippetContext
LOWDocumentation/conf.py291except Exception:CODE
LOWDocumentation/sphinx/parser_yaml.py94 except Exception as e:CODE
LOWDocumentation/sphinx/kerneldoc.py278 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/sample/timerlat_load.py35except Exception as e:CODE
MEDIUMtools/tracing/rtla/sample/timerlat_load.py36 print(f"Error setting affinity: {e}")CODE
LOWtools/tracing/rtla/sample/timerlat_load.py43 except Exception as e:CODE
MEDIUMtools/tracing/rtla/sample/timerlat_load.py44 print(f"Error setting priority: {e}")CODE
MEDIUMtools/tracing/rtla/sample/timerlat_load.py54 print("Error opening timerlat fd, did you run timerlat -U?")CODE
LOWtools/tracing/rtla/sample/timerlat_load.py59except Exception as e:CODE
MEDIUMtools/tracing/rtla/sample/timerlat_load.py60 print(f"Error opening data fd: {e}")CODE
LOWtools/tracing/rtla/sample/timerlat_load.py73 except Exception as e:CODE
LOWtools/net/ynl/pyynl/ynl_gen_rst.py74 except Exception as exception:CODE
LOWtools/net/ynl/pyynl/ynl_gen_c.py2150 except Exception:CODE
MEDIUMtools/net/ynl/pyynl/lib/ynl.py827 print(f"Error decoding '{attr_spec.name}' from '{space}'")CODE
LOWtools/sched/root_domains_dump.py60 except Exception as e:STRING
LOWtools/sched/dl_bw_dump.py49 except Exception as e:STRING
LOWtools/testing/selftests/drivers/net/netpoll_basic.py186 except Exception as exception: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.py774 except Exception as exc:CODE
LOWtools/testing/selftests/drivers/net/hw/tso.py130 except Exception as e:CODE
LOWtools/testing/selftests/drivers/net/hw/tso.py195 except Exception as e: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.py116 except Exception as exc:CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py121 except Exception as exc:CODE
LOW…testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py270 except Exception as exc:CODE
LOWtools/testing/selftests/tc-testing/tdc.py143 except Exception as ee:CODE
LOWtools/testing/selftests/tc-testing/tdc.py487 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
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.py368 except Exception as e:CODE
MEDIUMtools/testing/kunit/kunit_kernel.py365def _wait_proc() -> None:CODE
LOWtools/verification/rvgen/__main__.py56 except Exception as e:CODE
MEDIUMtools/verification/rvgen/__main__.py57 print('Error: '+ str(e))CODE
LOWtools/verification/rvgen/rvgen/generator.py68 except Exception:CODE
MEDIUMtools/verification/rvgen/rvgen/generator.py53def _read_file(self, path):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
MEDIUMtools/mm/show_page_info.py138 print(f"Error accessing page state: {e}")CODE
LOWtools/mm/show_page_info.py139 except Exception as e:CODE
LOWtools/mm/show_page_info.py165 except Exception as e:CODE
LOWtools/perf/pmu-events/jevents.py486 except Exception as e:CODE
LOWtools/perf/pmu-events/jevents.py1351 except Exception as e:CODE
16 more matches not shown…
Cross-Language Confusion18 hits · 89 pts
SeverityFileLineSnippetContext
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.py40 listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{port},reuseport /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/perf/pmu-events/jevents.py925 if (!pe.name && name) {CODE
HIGHtools/perf/pmu-events/jevents.py1045 if (!pm.metric_name && metric) {CODE
HIGHtools/perf/pmu-events/jevents.py1119 if (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
AI Slop Vocabulary27 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/sphinx/kerneldoc.py137 # 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/forwarding/lib.sh28: "${PING6:=ping6}" # Some distros just use ping.CODE
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py702 # utilize context from ntuple filterCOMMENT
MEDIUMtools/testing/selftests/drivers/net/hw/rss_ctx.py742 # 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/arch/sparc/include/asm/barrier_64.h8 * #51. Essentially, if a memory barrier occurs soon after a mispredictedCOMMENT
MEDIUMtools/perf/scripts/python/task-analyzer.py1# task-analyzer.py - comprehensive perf tasks analysisCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c192 // 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.c1986 // Check seamless boot supportCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c224 // 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.c706 // seamless boot is enabled or not to suppress global syncCOMMENT
MEDIUMdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1654 // seamless boot is enabled or not to suppress global syncCOMMENT
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.c2059 // 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.c637 // 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.rs49/// This trait is only implemented via the `#[pin_data]` proc-macro. It is used to facilitateCOMMENT
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/kernel-doc.pl172# Essentially these are globals.COMMENT
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
Fake / Example Data53 hits · 68 pts
SeverityFileLineSnippetContext
LOWtools/testing/selftests/bpf/uptr_test_common.h14struct user_data *dummy_data;CODE
LOW…esting/selftests/bpf/prog_tests/test_task_local_data.c162 snprintf(dummy_key_name, TLD_NAME_LEN, "dummy_value%d", i);CODE
LOWnet/sched/cls_flower.c110 struct fl_flow_key dummy_key;CODE
LOWnet/sched/cls_flower.c2782 cls_flower.rule->match.key = &tmplt->dummy_key;CODE
LOWnet/sched/cls_flower.c2832 err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key,CODE
LOWnet/sched/cls_flower.c2877 cls_flower.rule->match.key = &tmplt->dummy_key;CODE
LOWnet/sched/cls_flower.c3798 key = &tmplt->dummy_key;CODE
LOWdrivers/pci/slot.c224 * the 'placeholder' slot will not be displayed.COMMENT
LOWdrivers/net/macsec.c4314 char dummy_key[DEFAULT_SAK_LEN] = { 0 };CODE
LOWdrivers/net/macsec.c4317 dummy_tfm = macsec_alloc_tfm(dummy_key,CODE
LOWdrivers/net/netdevsim/dev.c83 void *dummy_data;CODE
LOWdrivers/net/netdevsim/dev.c85 dummy_data = kmalloc(NSIM_DEV_DUMMY_REGION_SIZE, GFP_KERNEL);CODE
LOWdrivers/net/netdevsim/dev.c86 if (!dummy_data)CODE
LOWdrivers/net/netdevsim/dev.c89 get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE);CODE
LOWdrivers/net/netdevsim/dev.c91 *data = dummy_data;COMMENT
LOWdrivers/net/netdevsim/dev.c102 u8 *dummy_data;CODE
LOWdrivers/net/netdevsim/dev.c108 err = nsim_dev_take_snapshot(devlink, NULL, NULL, &dummy_data);CODE
LOWdrivers/net/netdevsim/dev.c115 kfree(dummy_data);CODE
LOWdrivers/net/netdevsim/dev.c119 dummy_data, id);CODE
LOWdrivers/net/netdevsim/dev.c123 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.c574 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.c577 transfer->len, transfer->dummy_data);CODE
LOWdrivers/spi/spi-stm32-qspi.c584 if (transfer->dummy_data) {CODE
LOWdrivers/spi/spi-mem.c484 xfers[xferpos].dummy_data = 1;CODE
LOWdrivers/spi/spi-stm32-ospi.c660 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.c663 transfer->len, transfer->dummy_data);CODE
LOWdrivers/spi/spi-stm32-ospi.c670 if (transfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1120 if (xfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1263 if (next_xfer->dummy_data) {CODE
LOWdrivers/spi/spi-tegra210-quad.c1360 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.c160 xfers[index].dummy_data = 1;CODE
LOWinclude/linux/spi/spi.h962 * @dummy_data: indicates transfer is dummy bytes transfer.COMMENT
LOWinclude/linux/spi/spi.h1088 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.c380 if (emulate_umip_insn(&insn, umip_inst, dummy_data, &dummy_data_size,CODE
LOWarch/x86/kernel/umip.c402 memcpy(reg_addr, dummy_data, dummy_data_size);CODE
LOWarch/x86/kernel/umip.c408 nr_copied = copy_to_user(uaddr, dummy_data, dummy_data_size);CODE
LOWmm/hugetlb.c878 * may be a "placeholder" entry in the map which is of the formCOMMENT
LOWfs/ecryptfs/crypto.c1526 char dummy_key[ECRYPTFS_MAX_KEY_BYTES];CODE
LOWfs/ecryptfs/crypto.c1551 get_random_bytes(dummy_key, *key_size);CODE
LOWfs/ecryptfs/crypto.c1552 rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size);CODE
LOWfs/jffs2/nodelist.c44 /* It may have been a 'placeholder' deletion dirent,COMMENT
Cross-File Repetition11 hits · 55 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/net/sunrpc/xdrgen/subcmds/definitions.py0simple parse error reporting, no recovery attemptedSTRING
HIGHtools/net/sunrpc/xdrgen/subcmds/source.py0simple parse error reporting, no recovery attemptedSTRING
HIGHtools/net/sunrpc/xdrgen/subcmds/declarations.py0simple parse error reporting, no recovery attemptedSTRING
HIGHtools/net/sunrpc/xdrgen/subcmds/lint.py0simple parse error reporting, no recovery attemptedSTRING
HIGHscripts/get_abi.py0parse abi documentation and produce results from it.STRING
HIGHscripts/lib/abi/abi_parser.py0parse abi documentation and produce results from it.STRING
HIGHscripts/lib/abi/system_symbols.py0parse abi documentation and produce results from it.STRING
Hallucination Indicators6 hits · 45 pts
SeverityFileLineSnippetContext
CRITICALDocumentation/sphinx/kernel_feat.py76 self.state.document.settings.env.app.warn(message, prefix="")CODE
CRITICALDocumentation/sphinx/kernel_include.py154 self.state.document.settings.record_dependencies.add(path)CODE
CRITICALDocumentation/sphinx/maintainers_include.py191 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
Synthetic Comment Markers6 hits · 42 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
Modern Structural Boilerplate29 hits · 33 pts
SeverityFileLineSnippetContext
LOWDocumentation/sphinx/kernel_include.py103logger = logging.getLogger(__name__)CODE
LOWDocumentation/sphinx/parser_yaml.py27logger = logging.getLogger(__name__)CODE
LOWDocumentation/sphinx/kerneldoc.py52logger = logging.getLogger(__name__)CODE
LOWtools/net/sunrpc/xdrgen/xdr_parse.py13def set_xdr_annotate(set_it: bool) -> None:CODE
LOWtools/net/ynl/pyynl/lib/__init__.py9__all__ = ["SpecAttr", "SpecAttrSet", "SpecEnumEntry", "SpecEnumSet",CODE
LOWtools/testing/selftests/net/lib/py/__init__.py19__all__ = ["KSRC",CODE
LOWtools/testing/selftests/drivers/net/shaper.py33def set_qshapers(cfg, nl_shaper) -> None:CODE
LOWtools/testing/selftests/drivers/net/shaper.py105def 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.py246 def set_searched_tree_node(self, previous: bool) -> None:CODE
LOWtools/perf/python/ilist.py276 def set_initial_focus(event: str | None) -> None:CODE
LOWtools/perf/python/ilist.py334 def update_counts(self) -> None:CODE
LOWtools/perf/python/ilist.py376 def set_selected(self, value: TreeValue) -> None:CODE
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
Structural Annotation Overuse14 hits · 26 pts
SeverityFileLineSnippetContext
LOWtools/testing/selftests/net/ioam6.sh111# WARNING: Be careful if you modify the block below - it MUST be kept #COMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c775 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c796 // Step 2: To power down DSC but skip DSC of running OPTCCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1722 // Step 1: To find out which OPTC is running & OPTC DSC is ONCOMMENT
LOWdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c1744 // 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
AI Structural Patterns21 hits · 20 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/testing/selftests/net/bpf_offload.py486CODE
LOWtools/testing/selftests/net/bpf_offload.py502CODE
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.py245CODE
LOWtools/testing/selftests/damon/_damon_sysfs.py406CODE
LOWtools/writeback/wb_monitor.py78CODE
LOWtools/perf/pmu-events/metric.py320CODE
LOWtools/perf/tests/shell/lib/perf_metric_validation.py598CODE
LOWtools/perf/tests/shell/lib/perf_metric_validation.py38CODE
LOWscripts/checktransupdate.py113CODE
LOWscripts/test_doc_build.py249CODE
LOWscripts/gdb/linux/slab.py97CODE
LOWscripts/lib/kdoc/kdoc_files.py240CODE
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.py166 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.c891 // TODO: implement movable CM locationCOMMENT
LOWdrivers/net/wireless/broadcom/b43/phy_g.c3007 //TODO: implement rev1 workaroundCOMMENT