| /kernel/linux/linux-6.6/Documentation/translations/it_IT/process/ |
| D | clang-format.rst | 1 .. include:: ../disclaimer-ita.rst 3 :Original: :ref:`Documentation/process/clang-format.rst <clangformat>` 8 clang-format title 10 ``clang-format`` è uno strumento per formattare codice C/C++/... secondo 14 ``clang-format`` può essere usato per diversi fini: 16 - Per riformattare rapidamente un blocco di codice secondo lo stile del 20 - Identificare errori di stile, refusi e possibili miglioramenti nei 24 - Ti aiuta a seguire lo stile del codice, particolarmente utile per i 28 Il suo file di configurazione è ``.clang-format`` e si trova nella cartella 32 :ref:`Documentation/translations/it_IT/process/coding-style.rst <it_codingstyle>`. [all …]
|
| /kernel/linux/linux-5.10/Documentation/translations/it_IT/process/ |
| D | clang-format.rst | 1 .. include:: ../disclaimer-ita.rst 3 :Original: :ref:`Documentation/process/clang-format.rst <clangformat>` 8 clang-format title 10 ``clang-format`` è uno strumento per formattare codice C/C++/... secondo 14 ``clang-format`` può essere usato per diversi fini: 16 - Per riformattare rapidamente un blocco di codice secondo lo stile del 20 - Identificare errori di stile, refusi e possibili miglioramenti nei 24 - Ti aiuta a seguire lo stile del codice, particolarmente utile per i 28 Il suo file di configurazione è ``.clang-format`` e si trova nella cartella 32 :ref:`Documentation/translations/it_IT/process/coding-style.rst <it_codingstyle>`. [all …]
|
| /kernel/linux/linux-6.6/Documentation/process/ |
| D | clang-format.rst | 3 clang-format title 6 ``clang-format`` is a tool to format C/C++/... code according to 10 ``clang-format`` can be used for several purposes: 12 - Quickly reformat a block of code to the kernel style. Specially useful 15 - Spot style mistakes, typos and possible improvements in files 18 - Help you follow the coding style rules, specially useful for those 22 Its configuration file is ``.clang-format`` in the root of the kernel tree. 24 coding style. They also try to follow :ref:`Documentation/process/coding-style.rst <codingstyle>` 28 another ``.clang-format`` file in a subfolder. 31 Linux distributions for a long time. Search for ``clang-format`` in [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | clang-format.rst | 3 clang-format title 6 ``clang-format`` is a tool to format C/C++/... code according to 10 ``clang-format`` can be used for several purposes: 12 - Quickly reformat a block of code to the kernel style. Specially useful 15 - Spot style mistakes, typos and possible improvements in files 18 - Help you follow the coding style rules, specially useful for those 22 Its configuration file is ``.clang-format`` in the root of the kernel tree. 24 coding style. They also try to follow :ref:`Documentation/process/coding-style.rst <codingstyle>` 28 another ``.clang-format`` file in a subfolder. 31 Linux distributions for a long time. Search for ``clang-format`` in [all …]
|
| D | changes.rst | 32 GNU C 4.9 gcc --version 33 Clang/LLVM (optional) 10.0.1 clang --version 34 GNU make 3.81 make --version 35 binutils 2.23 ld -v 36 flex 2.5.35 flex --version 37 bison 2.0 bison --version 38 util-linux 2.10o fdformat --version 39 kmod 13 depmod -V 40 e2fsprogs 1.41.4 e2fsck -V 41 jfsutils 1.1.3 fsck.jfs -V [all …]
|
| /kernel/linux/linux-5.10/ |
| D | .clang-format | 1 # SPDX-License-Identifier: GPL-2.0 3 # clang-format configuration file. Intended for clang-format >= 4. 7 # Documentation/process/clang-format.rst 8 # https://clang.llvm.org/docs/ClangFormat.html 9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html 11 --- 12 AccessModifierOffset: -4 16 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 40 #AfterExternBlock: false # Unknown to clang-format-5.0 44 #SplitEmptyFunction: true # Unknown to clang-format-4.0 [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
| D | ptrace_test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Landlock tests - Ptrace 5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2019-2020 ANSSI 80 return -1; in get_yama_ptrace_scope() 88 /* clang-format off */ 90 /* clang-format on */ 111 * P1-. P1 -> P2 : allow 112 * \ P2 -> P1 : allow 115 /* clang-format off */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | compiler_attributes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * should be defined elsewhere (e.g. compiler_types.h or compiler-*.h). 15 * compiler- and version-agnostic (e.g. avoiding GCC_VERSION checks). 24 * __has_attribute is supported on gcc >= 5, clang >= 2.9 and icc >= 17. 45 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-a… 50 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function… 51 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribu… 52 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable… 61 * inlinable [-Wattributes]" is emitted). 63 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-f… [all …]
|
| /kernel/linux/linux-6.6/security/landlock/ |
| D | limits.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Landlock LSM - Limits for different components 5 * Copyright © 2016-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2018-2020 ANSSI 16 /* clang-format off */ 22 #define LANDLOCK_MASK_ACCESS_FS ((LANDLOCK_LAST_ACCESS_FS << 1) - 1) 25 /* clang-format on */
|
| D | errata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Landlock - Errata information 18 /* clang-format off */ 24 /* clang-format on */ 30 * compatibility or semantic reasons). However, non-visible changes for 43 #if __has_include("errata/abi-1.h") 44 #include "errata/abi-1.h" 49 #if __has_include("errata/abi-2.h") 50 #include "errata/abi-2.h" 55 #if __has_include("errata/abi-3.h") [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | compiler_attributes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * should be defined elsewhere (e.g. compiler_types.h or compiler-*.h). 15 * compiler- and version-agnostic (e.g. avoiding GCC_VERSION checks). 24 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-a… 29 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function… 30 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribu… 31 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable… 39 * in compiler-gcc.h, due to misbehaviors. 41 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alloc_005fsize-fun… 42 * clang: https://clang.llvm.org/docs/AttributeReference.html#alloc-size [all …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | Makefile.extrawarn | 1 # SPDX-License-Identifier: GPL-2.0 10 KBUILD_CFLAGS += -Wall 11 KBUILD_CFLAGS += -Wundef 12 KBUILD_CFLAGS += -Werror=implicit-function-declaration 13 KBUILD_CFLAGS += -Werror=implicit-int 14 KBUILD_CFLAGS += -Werror=return-type 15 KBUILD_CFLAGS += -Werror=strict-prototypes 16 KBUILD_CFLAGS += -Wno-format-security 17 KBUILD_CFLAGS += -Wno-trigraphs 18 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,) [all …]
|
| /kernel/linux/linux-6.6/ |
| D | .clang-format | 1 # SPDX-License-Identifier: GPL-2.0 3 # clang-format configuration file. Intended for clang-format >= 11. 7 # Documentation/process/clang-format.rst 8 # https://clang.llvm.org/docs/ClangFormat.html 9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html 11 --- 12 AccessModifierOffset: -4 68 # git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \ 69 # | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \ 70 # | LC_ALL=C sort -u [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | landlock.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Landlock - User space API 5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2018-2020 ANSSI 15 * struct landlock_ruleset_attr - Ruleset definition 24 * rule explicitly allow them: it is a deny-by-default list that should 39 * - %LANDLOCK_CREATE_RULESET_VERSION: Get the highest supported Landlock ABI 41 * - %LANDLOCK_CREATE_RULESET_ERRATA: Get a bitmask of fixed issues. 43 /* clang-format off */ 46 /* clang-format on */ [all …]
|
| /kernel/linux/linux-6.6/fs/ntfs3/ |
| D | debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. 10 // clang-format off 19 #define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B))) 55 // clang-format on
|
| /kernel/linux/linux-6.6/samples/landlock/ |
| D | sandboxer.c | 1 // SPDX-License-Identifier: BSD-3-Clause 4 * user-defined filesystem access control policy. 6 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 69 return -1; in parse_path() 77 /* clang-format off */ 85 /* clang-format on */ 94 .parent_fd = -1, in populate_ruleset() 153 /* clang-format off */ 174 /* clang-format on */ 198 "* %s: list of paths allowed to be used in a read-only way.\n", in main() [all …]
|
| /kernel/linux/linux-6.6/samples/hid/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 9 tprogs-y += hid_mouse 10 tprogs-y += hid_surface_dial 22 hid_mouse-objs := hid_mouse.o 23 hid_surface_dial-objs := hid_surface_dial.o 26 always-y := $(tprogs-y) 29 # Strip all except -D__LINUX_ARM_ARCH__ option needed to handle linux 31 ARM_ARCH_SELECTOR := $(filter -D__LINUX_ARM_ARCH__%, $(KBUILD_CFLAGS)) 37 TPROGS_CFLAGS += -D__SANE_USERSPACE_TYPES__ 39 BPF_EXTRA_CFLAGS += -I$(srctree)/arch/mips/include/asm/mach-loongson64 [all …]
|
| /kernel/linux/linux-6.6/Documentation/bpf/ |
| D | s390.rst | 12 2. One-time setup 19 * Clang with BPF support 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain 38 sudo dpkg --add-architecture s390x [all …]
|
| /kernel/linux/linux-5.10/Documentation/bpf/ |
| D | s390.rst | 12 2. One-time setup 19 * Clang with BPF support 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain 38 sudo dpkg --add-architecture s390x [all …]
|
| /kernel/linux/linux-5.10/tools/bpf/runqslower/ |
| D | Makefile | 1 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 3 CLANG ?= clang macro 5 LLVM_STRIP ?= llvm-strip 11 INCLUDES := -I$(OUTPUT) -I$(BPF_INCLUDE) -I$(abspath ../../lib) \ 12 -I$(abspath ../../include/uapi) 13 CFLAGS := -g -Wall 16 KERNEL_REL := $(shell uname -r) 17 VMLINUX_BTF_PATHS := /sys/kernel/btf/vmlinux /boot/vmlinux-$(KERNEL_REL) 27 msg = @printf ' %-8s %s%s\n' "$(1)" "$(notdir $(2))" "$(if $(3), $(3))"; 28 MAKEFLAGS += --no-print-directory [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/bpf/entrypoints/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 5 CLANG ?= clang macro 7 LLVM_STRIP ?= llvm-strip 21 INCLUDES := -I$(OUTPUT) -I$(LIBBPF_INCLUDE) -I$(TOOLS_PATH)/include/uapi 22 CFLAGS := -g -Wall 28 /boot/vmlinux-$(shell uname -r) 39 msg = @printf ' %-8s %s%s\n' "$(1)" "$(notdir $(2))" "$(if $(3), $(3))"; 40 MAKEFLAGS += --no-print-directory 52 $(Q)rm -rf $(OUTPUT) entrypoints 55 $(call msg,GEN-SKEL,$@) [all …]
|
| /kernel/linux/linux-5.10/tools/perf/Documentation/ |
| D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -------- 11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf record' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>] 15 ----------- 17 from it, into perf.data - without displaying anything. 23 ------- 27 -e:: [all …]
|
| /kernel/linux/linux-6.6/Documentation/translations/zh_CN/process/ |
| D | 4.Coding.rst | 1 .. include:: ../disclaimer-zh_CN.rst 26 ---- 32 :ref:`Documentation/translations/zh_CN/process/coding-style.rst <cn_codingstyle>` 54 注意您还可以使用 ``clang-format`` 工具来帮助您处理这些规则,快速自动重新格式 57 信息,请参阅文档 :ref:`Documentation/process/clang-format.rst <clangformat>` 161 ------------ 173 请注意,并非所有编译器警告都默认启用。使用“make KCFLAGS=-W”构建内核以 180 - FRAME_WARN 获取大于给定数量的堆栈帧的警告。 183 - DEBUG_OBJECTS 将添加代码以跟踪内核创建的各种对象的生命周期,并在出现问题 187 - DEBUG_SLAB 可以发现各种内存分配和使用错误;它应该用于大多数开发内核。 [all …]
|
| /kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/ |
| D | 4.Coding.rst | 1 .. include:: ../disclaimer-zh_CN.rst 19 ---- 25 :ref:`Documentation/translations/zh_CN/process/coding-style.rst <cn_codingstyle>` 49 请注意,您还可以使用 ``clang-format`` 工具来帮助您处理这些规则,自动重新格式 52 参阅文件 :ref:`Documentation/process/clang-format.rst <clangformat>` 156 ------------ 168 请注意,并非所有编译器警告都默认启用。使用“make EXTRA_CFLAGS=-W”构建内核以 175 - 启用 ENABLE_MUST_CHECK and FRAME_WARN 以获得一组额外的警告,以解决使用不 179 - DEBUG_OBJECTS 将添加代码,以跟踪内核创建的各种对象的生存期,并在出现问题时 183 - DEBUG_SLAB 可以发现各种内存分配和使用错误;它应该用于大多数开发内核。 [all …]
|
| /kernel/linux/linux-6.6/Documentation/rust/ |
| D | quick-start.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------------------- 15 under names like ``rustc``, ``rust-src``, ``rust-bindgen``, etc. However, 39 rustup override set $(scripts/min-tool-version.sh rustc) 45 https://forge.rust-lang.org/infra/other-installation-methods.html#standalone 52 cross-compile ``core`` and ``alloc``. 56 rustup component add rust-src 59 version later on requires re-adding the component. 64 curl -L "https://static.rust-lang.org/dist/rust-src-$(scripts/min-tool-version.sh rustc).tar.gz" | 65 tar -xzf - -C "$(rustc --print sysroot)/lib" \ [all …]
|