/linux-5.10/usr/ |
D | gen_init_cpio.c | 1 // SPDX-License-Identifier: GPL-2.0 30 int (*handler)(const char *line); 33 static void push_string(const char *name) in push_string() argument 35 unsigned int name_len = strlen(name) + 1; in push_string() 37 fputs(name, stdout); in push_string() 50 static void push_rest(const char *name) in push_rest() argument 52 unsigned int name_len = strlen(name) + 1; in push_rest() 55 fputs(name, stdout); in push_rest() 76 const char name[] = "TRAILER!!!"; in cpio_trailer() local 92 (unsigned)strlen(name)+1, /* namesize */ in cpio_trailer() [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | aspeed-bmc-lenovo-hr855xg2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500"; 29 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; [all …]
|
D | aspeed-bmc-opp-palmetto.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g4.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; [all …]
|
D | aspeed-bmc-lenovo-hr630.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500"; 29 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; [all …]
|
/linux-5.10/arch/arm64/boot/dts/mediatek/ |
D | pumpkin-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = "serial0:921600n8"; 21 compatible = "linaro,optee-tz"; 26 gpio-keys { 27 compatible = "gpio-keys"; 28 input-name = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&gpio_keys_default>; 32 volume-up { [all …]
|
/linux-5.10/include/uapi/linux/ |
D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * <linux/gpio.h> - userspace ABI for the GPIO character devices 19 * The maximum size of name and label arrays. 21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs. 26 * struct gpiochip_info - Information about a certain GPIO chip 27 * @name: the Linux kernel name of this GPIO chip 28 * @label: a functional name for this GPIO chip, such as a product 33 char name[GPIO_MAX_NAME_SIZE]; member 41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits 42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of [all …]
|
/linux-5.10/Documentation/arm/samsung/ |
D | clksrc-change-registers.awk | 1 #!/usr/bin/awk -f 3 # Copyright 2010 Ben Dooks <ben-linux@fluff.org> 8 # ./clksrc-change-registers.awk arch/arm/plat-s5pc1xx/include/plat/regs-clock.h < src > dst 14 return substr(s, eqat+2, (comat-eqat)-2) 19 return substr(b, 2, length(b)-2) 69 while (getline line < ARGV[1] > 0) { 70 if (line ~ /\#define.*_MASK/ && 71 !(line ~ /USB_SIG_MASK/)) { 72 splitdefine(line, fields) 73 name = fields[0] [all …]
|
/linux-5.10/tools/perf/util/ |
D | dwarf-aux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dwarf-aux.c : libdw auxiliary interfaces 11 #include "dwarf-aux.h" 16 * cu_find_realpath - Find the realpath of the target file 47 * cu_get_comp_dir - Get the path of compilation directory 62 /* Unlike dwarf_getsrc_die(), cu_getsrc_die() only returns statement line */ 67 Dwarf_Line *line; in cu_getsrc_die() local 76 l = 0; u = nlines - 1; in cu_getsrc_die() 78 n = u - (u - l) / 2; in cu_getsrc_die() 79 line = dwarf_onesrcline(lines, n); in cu_getsrc_die() [all …]
|
D | probe-event.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 /* kprobe-tracer and uprobe-tracer tracing point */ 30 char *realname; /* function real name (if needed) */ 32 char *module; /* Module name */ 39 /* probe-tracer tracing argument referencing offset */ 43 bool user_access; /* User-memory access */ 46 /* kprobe-tracer and uprobe-tracer tracing argument */ 48 char *name; /* Argument name */ member 50 char *type; /* Type name */ 54 /* kprobe-tracer and uprobe-tracer tracing event (point + arg) */ [all …]
|
/linux-5.10/scripts/ |
D | decode_stacktrace.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 #set -x 8 echo " $0 -r <release> | <vmlinux> [base path] [modules path]" 12 if [[ $1 == "-r" ]] ; then 18 …for fn in {,/usr/lib/debug}/boot/vmlinux-$release{,.debug} /lib/modules/$release{,/build}/vmlinux … 19 if [ -e "$fn" ] ; then 31 basepath=${2-auto} 36 declare -A cache 37 declare -A modcache 41 for fn in $(find "$modpath" -name "${module//_/[-_]}.ko*") ; do [all …]
|
D | get_maintainer.pl | 2 # SPDX-License-Identifier: GPL-2.0 11 # perl scripts/get_maintainer.pl [OPTIONS] -f <file> 43 my $email_git_since = "1-year-ago"; 44 my $email_hg_since = "-365"; 83 push(@penguin_chief, "Linus Torvalds:torvalds\@linux-foundation.org"); 84 #Andrew wants in on most everything - 2009/01/14 85 #push(@penguin_chief, "Andrew Morton:akpm\@linux-foundation.org"); 101 push(@signature_tags, "Signed-off-by:"); 102 push(@signature_tags, "Reviewed-by:"); 103 push(@signature_tags, "Acked-by:"); [all …]
|
D | cleanfile | 2 # SPDX-License-Identifier: GPL-2.0 4 # Clean a text file -- or directory of text files -- of stealth whitespace. 15 # Clean up space-tab sequences, either by removing spaces or 31 my $ntab = ($npos >> 3) - ($pos >> 3); 80 $name = basename($0); 85 if ($a =~ /^-/) { 86 if ($a eq '-width' || $a eq '-w') { 89 print STDERR "Usage: $name [-width #] files...\n"; 98 print STDERR "$name: $f\n"; 100 if (! -f $f) { [all …]
|
D | cleanpatch | 2 # SPDX-License-Identifier: GPL-2.0 4 # Clean a patch file -- or directory of patch files -- of stealth whitespace. 15 # Clean up space-tab sequences, either by removing spaces or 31 my $ntab = ($npos >> 3) - ($pos >> 3); 80 $name = basename($0); 85 if ($a =~ /^-/) { 86 if ($a eq '-width' || $a eq '-w') { 89 print STDERR "Usage: $name [-width #] files...\n"; 98 print STDERR "$name: $f\n"; 100 if (! -f $f) { [all …]
|
/linux-5.10/scripts/kconfig/ |
D | conf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 46 static char line[PATH_MAX]; variable 71 p = str + l - 1; in strip() 73 *p-- = 0; in strip() 93 line[0] = '\n'; in conf_askvalue() 94 line[1] = 0; in conf_askvalue() 98 line[0] = '\n'; in conf_askvalue() 99 line[1] = 0; in conf_askvalue() 113 xfgets(line, sizeof(line), stdin); in conf_askvalue() [all …]
|
/linux-5.10/Documentation/sphinx/ |
D | maintainers_include.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 7 maintainers-include 10 Implementation of the ``maintainers-include`` reST-directive. 15 The ``maintainers-include`` reST-directive performs extensive parsing 32 app.add_directive("maintainers-include", MaintainersInclude) 40 u"""MaintainersInclude (``maintainers-include``) directive""" 44 """Parse all the MAINTAINERS lines into ReST for human-readability""" 55 # Field letter to field name mapping. 63 for line in open(path): [all …]
|
/linux-5.10/tools/testing/kunit/ |
D | kunit_parser.py | 1 # SPDX-License-Identifier: GPL-2.0 22 self.name = None 26 return 'TestSuite(' + self.status + ',' + self.name + ',' + str(self.cases) + ')' 34 self.name = '' 38 return 'TestCase(' + self.status + ',' + self.name + ',' + str(self.log) + ')' 50 kunit_start_re = re.compile(r'TAP version [0-9]+$') 52 'Kernel panic - not syncing: VFS:)') 56 for line in kernel_output: 57 line = line.rstrip() # line always has a trailing \n 58 if kunit_start_re.search(line): [all …]
|
D | kunit_config.py | 1 # SPDX-License-Identifier: GPL-2.0 15 KconfigEntryBase = collections.namedtuple('KconfigEntry', ['name', 'value']) 19 def __str__(self) -> str: 21 return r'# CONFIG_%s is not set' % (self.name) 23 return r'CONFIG_%s=%s' % (self.name, self.value) 39 def add_entry(self, entry: KconfigEntry) -> None: 42 def is_subset_of(self, other: 'Kconfig') -> bool: 46 if a.name != b.name: 55 def write_to_file(self, path: str) -> None: 60 def parse_from_string(self, blob: str) -> None: [all …]
|
/linux-5.10/tools/perf/Documentation/ |
D | perf-probe.txt | 1 perf-probe(1) 4 NAME 5 ---- 6 perf-probe - Define new dynamic tracepoints 9 -------- 11 'perf probe' [options] --add='PROBE' [...] 15 'perf probe' [options] --del='[GROUP:]EVENT' [...] 17 'perf probe' --list[=[GROUP:]EVENT] 19 'perf probe' [options] --line='LINE' 21 'perf probe' [options] --vars='PROBEPOINT' [all …]
|
/linux-5.10/drivers/gpio/ |
D | gpio-ts5500.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Digital I/O driver for Technologic Systems TS-5500 5 * Copyright (c) 2012 Savoir-faire Linux Inc. 10 * In that sense, the support is not limited to the TS-5500 blocks. 13 * TS-5500: 14 * Documentation: http://wiki.embeddedarm.com/wiki/TS-5500 17 * TS-5600: 18 * Documentation: http://wiki.embeddedarm.com/wiki/TS-5600 19 * Blocks: LCD port (identical to TS-5500 LCD). 102 * TS-5500 DIO1 block [all …]
|
/linux-5.10/tools/usb/usbip/libsrc/ |
D | names.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * names.c -- USB name database manipulation routines 8 * - names_deinit() is added. 28 char name[1]; member 34 char name[1]; member 40 char name[1]; member 46 char name[1]; member 52 char name[1]; member 58 char name[1]; member 73 return num & (HASHSZ-1); in hashnum() [all …]
|
/linux-5.10/arch/um/drivers/ |
D | line.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 22 struct line *line = chan->line; in line_interrupt() local 24 if (line) in line_interrupt() 25 chan_interrupt(line, irq); in line_interrupt() 31 * Returns the free space inside the ring buffer of this line. 33 * Should be called while holding line->lock (this does not modify data). 35 static int write_room(struct line *line) in write_room() argument 39 if (line->buffer == NULL) in write_room() 40 return LINE_BUFSIZE - 1; in write_room() [all …]
|
/linux-5.10/drivers/lightnvm/ |
D | pblk-trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 TP_PROTO(const char *name, struct ppa_addr *ppa, int state), 44 TP_ARGS(name, ppa, state), 47 __string(name, name) 53 __assign_str(name, name); 54 __entry->ppa = ppa->ppa; 55 __entry->state = state; 58 TP_printk("dev=%s grp=%llu pu=%llu chk=%llu state=%s", __get_str(name), 59 (u64)(((struct ppa_addr *)(&__entry->ppa))->m.grp), 60 (u64)(((struct ppa_addr *)(&__entry->ppa))->m.pu), [all …]
|
D | pblk-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * Implementation of a physical block-device target for Open-channel SSDs. 18 * pblk-sysfs.c - pblk's sysfs 26 struct nvm_tgt_dev *dev = pblk->dev; in pblk_sysfs_luns_show() 27 struct nvm_geo *geo = &dev->geo; in pblk_sysfs_luns_show() 32 for (i = 0; i < geo->all_luns; i++) { in pblk_sysfs_luns_show() 35 rlun = &pblk->luns[i]; in pblk_sysfs_luns_show() 36 if (!down_trylock(&rlun->wr_sem)) { in pblk_sysfs_luns_show() 38 up(&rlun->wr_sem); in pblk_sysfs_luns_show() 40 sz += scnprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_luns_show() [all …]
|
/linux-5.10/Documentation/admin-guide/ |
D | dynamic-debug-howto.rst | 14 enabled per-callsite. 18 debug and add ``ccflags := -DDYNAMIC_DEBUG_MODULE`` into the Makefile of any 33 - source filename 34 - function name 35 - line number (including ranges of line numbers) 36 - module name 37 - format string 51 printing from source file ``svcsock.c``, line 1603 you simply do:: 53 nullarbor:~ # echo 'file svcsock.c line 1603 +p' > 60 -bash: echo: write error: Invalid argument [all …]
|
/linux-5.10/drivers/crypto/vmx/ |
D | ppc-xlate.pl | 2 # SPDX-License-Identifier: GPL-2.0 18 my $name = shift; 19 my $global = \$GLOBALS{$name}; 22 $name =~ s|^[\.\_]||; 25 /aix/ && do { $name = ".$name"; 28 /osx/ && do { $name = "_$name"; 32 && do { $ret = "_GLOBAL($name)"; 37 $ret = ".globl $name\nalign 5\n$name:" if (!$ret); 38 $$global = $name; 51 $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any"); [all …]
|