| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/soc/hisilicon/ |
| D | kunpeng_hccs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * The Huawei Cache Coherence System (HCCS) is a multi-chip interconnection 10 * - Retrieve the following information about each port: 11 * - port type 12 * - lane mode 13 * - enable 14 * - current lane mode 15 * - link finite state machine 16 * - lane mask 17 * - CRC error count [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| 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 declared file name of a DIE */ 56 /* Get type die */ 59 /* Get a type die, but skip qualifiers and typedef */ [all …]
|
| 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 …]
|
| /kernel/linux/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 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 funcitons 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 …]
|
| /kernel/linux/linux-6.6/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() 44 session->evlist = evlist__new_default(); in session_write_header() 45 TEST_ASSERT_VAL("can't get evlist", session->evlist); in session_write_header() 47 perf_header__set_feat(&session->header, HEADER_CPU_TOPOLOGY); in session_write_header() 48 perf_header__set_feat(&session->header, HEADER_NRCPUS); in session_write_header() 49 perf_header__set_feat(&session->header, HEADER_ARCH); in session_write_header() 51 session->header.data_size += DATA_SIZE; in session_write_header() 54 !perf_session__write_header(session, session->evlist, data.file.fd, true)); in session_write_header() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/snowridgex/ |
| D | uncore-io.json | 12 … reading from DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 27 …rd writing to DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 123 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 129 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 222 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 227 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 232 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 237 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 328 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 339 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelakex/ |
| D | uncore-io.json | 94 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 100 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 193 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 198 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 203 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 208 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 299 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 310 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 321 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 332 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/skylakex/ |
| D | uncore-io.json | 12 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 27 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 131 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 182 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 193 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 204 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 215 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 226 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 237 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| D | uncore-io.json | 12 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 27 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 131 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 182 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 193 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 204 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 215 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 226 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 237 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|