/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-devices-mapping | 6 each dieX file (where X is die number) holds "Segment:Root Bus" 9 For example, on 4-die Xeon platform with up to 6 IIO stacks per 10 die and, therefore, 6 IIO PMON blocks per die, the mapping of 13 $ ls /sys/devices/uncore_iio_0/die* 14 -r--r--r-- /sys/devices/uncore_iio_0/die0 15 -r--r--r-- /sys/devices/uncore_iio_0/die1 16 -r--r--r-- /sys/devices/uncore_iio_0/die2 17 -r--r--r-- /sys/devices/uncore_iio_0/die3 19 $ tail /sys/devices/uncore_iio_0/die* 31 IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000 [all …]
|
/Linux-v5.15/scripts/ |
D | extract-sys-certs.pl | 2 # SPDX-License-Identifier: GPL-2.0 9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n" 11 $#ARGV == 3 && $ARGV[0] ne "-s"); 26 open FD, "objdump -h $vmlinux |" || die $vmlinux; 28 close(FD) || die $vmlinux; 34 …if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*… 38 my $len = Math::BigInt->new("0x" . $3); 39 my $vma = Math::BigInt->new("0x" . $4); 40 my $lma = Math::BigInt->new("0x" . $5); 41 my $foff = Math::BigInt->new("0x" . $6); [all …]
|
D | extract-module-sig.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # extract-mod-sig <part> <module-file> 9 # -0: The unsigned module, no signature data at all 10 # -a: All of the signature data, including magic number 11 # -d: Just the descriptor values as a sequence of numbers 12 # -n: Just the signer's name 13 # -k: Just the key ID 14 # -s: Just the crypto signature or PKCS#7 message 19 die "Format: $0 -[0adnks] module-file >out\n" 30 open FD, "<$modfile" || die $modfile; [all …]
|
/Linux-v5.15/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 17 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit) 47 * cu_get_comp_dir - Get the path of compilation directory 48 * @cu_die: a CU DIE 51 * Since this depends on DW_AT_comp_dir, older gcc will not 76 l = 0; u = nlines - 1; in cu_getsrc_die() 78 n = u - (u - l) / 2; in cu_getsrc_die() [all …]
|
D | dwarf-aux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * dwarf-aux.h : libdw auxiliary interfaces 25 /* Walk on functions at given address */ 32 /* Get the lowest PC in DIE (including range list) */ 35 /* Ensure that this DIE is a subprogram and definition (not declaration) */ 38 /* Ensure that this DIE is an instance of a subprogram */ 47 /* Get callsite line number of inline-function instance */ 53 /* Get type die */ 56 /* Get a type die, but skip qualifiers and typedef */ 59 /* Check whether the DIE is signed or not */ [all …]
|
D | cpumap.c | 1 // SPDX-License-Identifier: GPL-2.0 25 map = perf_cpu_map__empty_new(cpus->nr); in cpu_map__from_entries() 29 for (i = 0; i < cpus->nr; i++) { in cpu_map__from_entries() 31 * Special treatment for -1, which is not real cpu number, in cpu_map__from_entries() 32 * and we need to use (int) -1 to initialize map[i], in cpu_map__from_entries() 35 if (cpus->cpu[i] == (u16) -1) in cpu_map__from_entries() 36 map->map[i] = -1; in cpu_map__from_entries() 38 map->map[i] = (int) cpus->cpu[i]; in cpu_map__from_entries() 48 int nr, nbits = mask->nr * mask->long_size * BITS_PER_BYTE; in cpu_map__from_mask() 50 nr = bitmap_weight(mask->mask, nbits); in cpu_map__from_mask() [all …]
|
/Linux-v5.15/tools/perf/tests/ |
D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define TEMPL "/tmp/perf-test-XXXXXX" 26 return -1; in get_temp() 45 session->evlist = evlist__new_default(); in session_write_header() 46 TEST_ASSERT_VAL("can't get evlist", session->evlist); in session_write_header() 50 session->evlist = evlist__new(); in session_write_header() 51 TEST_ASSERT_VAL("can't get evlist", session->evlist); in session_write_header() 52 parse_events(session->evlist, "cpu_core/cycles/", &err); in session_write_header() 55 perf_header__set_feat(&session->header, HEADER_CPU_TOPOLOGY); in session_write_header() 56 perf_header__set_feat(&session->header, HEADER_NRCPUS); in session_write_header() [all …]
|
/Linux-v5.15/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 1 // SPDX-License-Identifier: GPL-2.0 30 static void die(char *fmt, ...) in die() function 50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file() 53 die("vsnprintf output truncated\n"); in vmaybe_write_file() 59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 65 die("short write to %s\n", filename); in vmaybe_write_file() 67 die("write to %s failed: %s\n", in vmaybe_write_file() 73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno)); in create_and_enter_ns() 107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() [all …]
|
D | unprivileged-remount-test.c | 1 // SPDX-License-Identifier: GPL-2.0 48 static void die(char *fmt, ...) in die() function 66 die("vsnprintf failed: %s\n", in vmaybe_write_file() 70 die("vsnprintf output truncated\n"); in vmaybe_write_file() 77 die("open of %s failed: %s\n", in vmaybe_write_file() 83 die("short write to %s\n", filename); in vmaybe_write_file() 85 die("write to %s failed: %s\n", in vmaybe_write_file() 90 die("close of %s failed: %s\n", in vmaybe_write_file() 123 die("statvfs of %s failed: %s\n", in read_mnt_flags() 129 die("Unrecognized mount flags\n"); in read_mnt_flags() [all …]
|
/Linux-v5.15/arch/sparc/boot/ |
D | piggyback.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Simple utility to make a single-image install kernel with initial ramdisk 7 Pete Zaitcev <zaitcev@yahoo.com> endian fixes for cross-compiles, 2000. 25 * Note: run this on an a.out kernel (use elftoaout for it), 33 /* align to power-of-two size */ 57 static void die(const char *str) in die() function 110 die(filename); in get_start_end() 131 * When we search do so in steps of 4 as HdrS is on a 4-byte aligned 132 * address (it is on same alignment as sparc instructions) 142 die("lseek"); in get_hdrs_offset() [all …]
|
/Linux-v5.15/Documentation/admin-guide/pm/ |
D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
/Linux-v5.15/kernel/locking/ |
D | ww_mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 w = list_first_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_first() 14 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_first() 24 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_next() 34 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_prev() 45 w = list_last_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_last() 46 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_last() 55 struct list_head *p = &lock->wait_list; in __ww_waiter_add() 57 p = &pos->list; in __ww_waiter_add() 70 return atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS; in __ww_mutex_has_waiters() [all …]
|
/Linux-v5.15/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 static void die(int status) in die() function 73 int ans = -1; in is_sioctatmark() 113 poll(pfds, 1, -1); in wait_for_data() 181 int on = 0; in main() local 230 die(1); in main() 250 die(1); in main() 277 die(1); in main() 286 die(1); in main() 306 if ((len == -1) && (errno == 11)) in main() [all …]
|
/Linux-v5.15/arch/arm/mach-zynq/ |
D | slcr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2011-2013 Xilinx Inc. 34 * zynq_slcr_write - Write to a register in SLCR block 39 * Return: a negative value on error, 0 on success 47 * zynq_slcr_read - Read a register in SLCR block 52 * Return: a negative value on error, 0 on success 60 * zynq_slcr_unlock - Unlock SLCR registers 62 * Return: a negative value on error, 0 on success 72 * zynq_slcr_get_device_id - Read device code id 88 * zynq_slcr_system_restart - Restart the entire system. [all …]
|
/Linux-v5.15/tools/testing/selftests/livepatch/ |
D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # Kselftest framework requirement - SKIP code is 4 13 # log(msg) - write message to kernel log 14 # msg - insightful words 19 # skip(msg) - testing can't proceed 20 # msg - explanation 29 uid=$(id -u) 30 if [ $uid -ne 0 ]; then 36 # die(msg) - game over, man 37 # msg - dying words [all …]
|
/Linux-v5.15/drivers/mtd/nand/raw/ |
D | nand_micron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 * corrected by on-die ECC and should be rewritten. 20 * On chips with 8-bit ECC and additional bit can be used to distinguish 24 * ----- ----- ----- ----------- 27 * 0 1 0 4 - 6 errors corrected, recommend rewrite 29 * 1 0 0 1 - 3 errors corrected 31 * 1 1 0 7 - 8 errors corrected, recommend rewrite 77 * Configure chip properties from Micron vendor-specific ONFI table 81 struct nand_parameters *p = &chip->parameters; in micron_nand_onfi_init() [all …]
|
/Linux-v5.15/Documentation/hwmon/ |
D | xgene-hwmon.rst | 1 Kernel driver xgene-hwmon 6 * APM X-Gene SoC 9 ----------- 12 APM X-Gene SoC using the mailbox communication interface. 19 - SoC on-die temperature in milli-degree C 20 - Alarm when high/over temperature occurs 23 - CPU power in uW 24 - IO power in uW 26 sysfs-Interface 27 --------------- [all …]
|
/Linux-v5.15/include/linux/ |
D | ww_mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Wait/Die implementation: 37 #define ww_mutex_base_is_locked(b) rt_mutex_base_is_locked(&(b)->rtmutex) 90 * ww_mutex_init - initialize the w/w mutex 103 ww_mutex_base_init(&lock->base, ww_class->mutex_name, &ww_class->mutex_key); in ww_mutex_init() 104 lock->ctx = NULL; in ww_mutex_init() 106 lock->ww_class = ww_class; in ww_mutex_init() 111 * ww_acquire_init - initialize a w/w acquire context 117 * Context-based w/w mutex acquiring can be done in any order whatsoever within 119 * wait/die logic. [all …]
|
/Linux-v5.15/include/linux/mtd/ |
D | spinand.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2017 Micron Technology, Inc. 17 #include <linux/spi/spi-mem.h> 197 * struct spinand_id - SPI NAND id structure 214 * struct spinand_devid - SPI NAND device id structure 222 * read_id opcode + 1-byte address. 233 * struct manufacurer_ops - SPI NAND manufacturer specific operations 246 * struct spinand_manufacturer - SPI NAND manufacturer instance 271 * struct spinand_op_variants - SPI NAND operation variants 275 * Some operations like read-from-cache/write-to-cache have several variants [all …]
|
/Linux-v5.15/Documentation/locking/ |
D | ww-mutex-design.rst | 2 Wound/Wait Deadlock-Proof Mutex Design 5 Please read mutex-design.rst first, as it applies to wait/wound mutexes too. 7 Motivation for WW-Mutexes 8 ------------------------- 12 domains (for example VRAM vs system memory), and so on. And with 15 become ready. If you think about this in terms of waiting on a buffer 22 buffer(s) into VRAM before the GPU operates on the buffer(s), which 37 and the deadlock handling approach is called Wait-Die. The name is based on 41 and dies. Hence Wait-Die. 42 There is also another algorithm called Wound-Wait: [all …]
|
/Linux-v5.15/tools/power/cpupower/po/ |
D | de.po | 3 # Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.net> 8 "Project-Id-Version: cpufrequtils 006\n" 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 11 "PO-Revision-Date: 2019-06-02 15:23+0200\n" 12 "Last-Translator: Benjamin Weis <benjamin.weis@gmx.com>\n" 13 "Language-Team: NONE\n" 15 "MIME-Version: 1.0\n" 16 "Content-Type: text/plain; charset=UTF-8\n" 17 "Content-Transfer-Encoding: 8bit\n" [all …]
|
/Linux-v5.15/drivers/platform/x86/intel/ |
D | uncore-frequency.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Provide interface to set MSR 620 at a granularity of per die. On CPU online, 8 * one control CPU is identified per die to read/write limit. This control CPU 10 * offline in a die then remove the sysfs object for that die. 22 #include <asm/intel-family.h> 28 * struct uncore_data - Encapsulate all uncore data 30 * on system resume. 33 * @control_cpu: Designated CPU for a die to read/write 37 * settings for a die/package. 51 /* Max instances for uncore data, one for each die */ [all …]
|
/Linux-v5.15/arch/x86/boot/tools/ |
D | build.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * This file builds a disk-image from three different files: 11 * - setup: 8086 machine code, sets up system parm 12 * - system: 80386 code for actual system 13 * - zoffset.h: header with ZO_* defines 71 /*----------------------------------------------------------------------*/ 135 while (len--) in partial_crc32() 140 static void die(const char * str, ...) in die() function 152 die("Usage: build setup system zoffset.h image"); in usage() 189 num_sections--; in update_pecoff_section_header_fields() [all …]
|
/Linux-v5.15/fs/erofs/ |
D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017-2018 HUAWEI, Inc. 19 struct super_block *sb = inode->i_sb; in erofs_read_inode() 22 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode() 27 struct erofs_inode_extended *die, *copied = NULL; in erofs_read_inode() local 35 __func__, vi->nid, *ofs, blkaddr); in erofs_read_inode() 40 vi->nid, PTR_ERR(page)); in erofs_read_inode() 45 ifmt = le16_to_cpu(dic->i_format); in erofs_read_inode() 48 erofs_err(inode->i_sb, "unsupported i_format %u of nid %llu", in erofs_read_inode() 49 ifmt, vi->nid); in erofs_read_inode() [all …]
|
/Linux-v5.15/Documentation/driver-api/ |
D | hsi.rst | 5 --------------- 8 that is optimized for die-level interconnect between an Application Processor 18 commonly prefixed by AC for signals going from the application die to the 19 cellular die and CA for signals going the other way around. 23 +------------+ +---------------+ 25 | Die | | Die | 26 | | - - - - - - CAWAKE - - - - - - >| | 27 | T|------------ CADATA ------------>|R | 28 | X|------------ CAFLAG ------------>|X | 29 | |<----------- ACREADY ------------| | [all …]
|