| /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* 19 $ tail /sys/devices/uncore_iio_0/die* 31 IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000 32 IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000 33 IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000 34 IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000 41 value that means UPI link number X on die Y is connected to UPI [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/hisilicon/ |
| D | kunpeng_hccs.c | 20 * the die: 354 u8 die_idx, struct hccs_die_info *die) in hccs_query_die_info_on_chip() argument 370 die->die_id = rsp_data->die_id; in hccs_query_die_info_on_chip() 371 die->port_num = rsp_data->port_num; in hccs_query_die_info_on_chip() 372 die->min_port_id = rsp_data->min_port_id; in hccs_query_die_info_on_chip() 373 die->max_port_id = rsp_data->max_port_id; in hccs_query_die_info_on_chip() 374 if (die->min_port_id > die->max_port_id) { in hccs_query_die_info_on_chip() 376 die->min_port_id, die->max_port_id, die_idx); in hccs_query_die_info_on_chip() 379 if (die->max_port_id > HCCS_DIE_MAX_PORT_ID) { in hccs_query_die_info_on_chip() 381 die->max_port_id, die_idx); in hccs_query_die_info_on_chip() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
| D | unprivileged-remount-test.c | 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() 163 die("unshare(CLONE_NEWUSER) failed: %s\n", in create_and_enter_userns() [all …]
|
| D | nosymfollow-test.c | 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() 109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
| D | unprivileged-remount-test.c | 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() 163 die("unshare(CLONE_NEWUSER) failed: %s\n", in create_and_enter_userns() [all …]
|
| D | nosymfollow-test.c | 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() 109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/safesetid/ |
| D | safesetid-test.c | 43 static void die(char *fmt, ...) in die() function 118 die("couldn't open file\n"); in ensure_user_exists() 120 die("couldn't fseek\n"); in ensure_user_exists() 130 die("putpwent failed\n"); in ensure_user_exists() 132 die("fclose failed\n"); in ensure_user_exists() 147 die("couldn't open group file\n"); in ensure_group_exists() 149 die("couldn't fseek group file\n"); in ensure_group_exists() 157 die("putgrent failed\n"); in ensure_group_exists() 159 die("fclose failed\n"); in ensure_group_exists() 171 die("mounting securityfs failed\n"); in ensure_securityfs_mounted() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/ |
| D | guts.c | 23 char *die; member 33 /* SoC die attribute definition for QorIQ platform */ 39 /* Die: T4240, SoC: T4240/T4160/T4080 */ 40 { .die = "T4240", 44 /* Die: T1040, SoC: T1040/T1020/T1042/T1022 */ 45 { .die = "T1040", 49 /* Die: T2080, SoC: T2080/T2081 */ 50 { .die = "T2080", 54 /* Die: T1024, SoC: T1024/T1014/T1023/T1013 */ 55 { .die = "T1024", [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/ |
| D | guts.c | 18 char *die; member 28 /* SoC die attribute definition for QorIQ platform */ 34 /* Die: T4240, SoC: T4240/T4160/T4080 */ 35 { .die = "T4240", 39 /* Die: T1040, SoC: T1040/T1020/T1042/T1022 */ 40 { .die = "T1040", 44 /* Die: T2080, SoC: T2080/T2081 */ 45 { .die = "T2080", 49 /* Die: T1024, SoC: T1024/T1014/T1023/T1013 */ 50 { .die = "T1024", [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | extract-sys-certs.pl | 9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n" 26 open FD, "objdump -h $vmlinux |" || die $vmlinux; 28 close(FD) || die $vmlinux; 57 open FD, "nm $vmlinux 2>/dev/null |" || die $vmlinux; 59 close(FD) || die $vmlinux; 83 open FD, "<$sysmap" || die $sysmap; 85 close(FD) || die $sysmap; 89 die "No symbols available\n" 94 die "Can't find system certificate list" 103 open FD, "<$vmlinux" || die $vmlinux; [all …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | extract-sys-certs.pl | 9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n" 26 open FD, "objdump -h $vmlinux |" || die $vmlinux; 28 close(FD) || die $vmlinux; 57 open FD, "nm $vmlinux 2>/dev/null |" || die $vmlinux; 59 close(FD) || die $vmlinux; 83 open FD, "<$sysmap" || die $sysmap; 85 close(FD) || die $sysmap; 89 die "No symbols available\n" 94 die "Can't find system certificate list" 103 open FD, "<$vmlinux" || die $vmlinux; [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
| D | safesetid-test.c | 31 static void die(char *fmt, ...) in die() function 106 die("couldn't open file\n"); in ensure_user_exists() 108 die("couldn't fseek\n"); in ensure_user_exists() 117 die("putpwent failed\n"); in ensure_user_exists() 119 die("fclose failed\n"); in ensure_user_exists() 131 die("mounting securityfs failed\n"); in ensure_securityfs_mounted() 133 die("couldn't find securityfs for unknown reason\n"); in ensure_securityfs_mounted() 137 die("close of %s failed: %s\n", in ensure_securityfs_mounted() 155 die("cant open add_whitelist_policy file\n"); in write_policies() 159 die("short write to %s\n", add_whitelist_policy_file); in write_policies() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | dwarf-aux.c | 17 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit) 48 * @cu_die: a CU DIE 109 * @cu_die: a CU DIE 147 * @cu_die: A CU DIE 178 * @dw_die: A DIE of the object 194 * @dw_die: a DIE 209 * @dw_die: a DIE 232 * @in_die: a DIE of an inlined function instance 250 * die_get_type - Get type DIE 251 * @vr_die: a DIE of a variable [all …]
|
| D | dwarf-aux.h | 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 */ 53 /* Get declared file name of a DIE */ 56 /* Get type die */ 59 /* Get a type die, but skip qualifiers and typedef */ 62 /* Check whether the DIE is signed or not */ 97 /* Walk on the instances of given DIE */ 106 * Walk on lines inside given DIE. If the DIE is a subprogram, walk only on 107 * the lines inside the subprogram, otherwise the DIE must be a CU DIE. [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | dwarf-aux.c | 17 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit) 48 * @cu_die: a CU DIE 109 * @cu_die: a CU DIE 147 * @cu_die: A CU DIE 178 * @dw_die: A DIE of the object 194 * @dw_die: a DIE 209 * @dw_die: a DIE 232 * @in_die: a DIE of an inlined function instance 250 * die_get_type - Get type DIE 251 * @vr_die: a DIE of a variable [all …]
|
| D | dwarf-aux.h | 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 */ 53 /* Get type die */ 56 /* Get a type die, but skip qualifiers and typedef */ 59 /* Check whether the DIE is signed or not */ 94 /* Walk on the instances of given DIE */ 103 * Walk on lines inside given DIE. If the DIE is a subprogram, walk only on 104 * the lines inside the subprogram, otherwise the DIE must be a CU DIE. 116 /* Get the name of given variable DIE */ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
| D | fw_namespace.c | 26 static void die(char *fmt, ...) in die() function 45 die("open failed: %s\n", in trigger_fw() 59 die("open failed: %s\n", in setup_fw() 62 die("write failed: %s\n", in setup_fw() 73 die("blocking firmware in parent ns failed\n"); in test_fw_in_ns() 77 die("fork failed: %s\n", in test_fw_in_ns() 86 die("waitpid failed: %s\n", in test_fw_in_ns() 90 die("waited for %d got %d\n", in test_fw_in_ns() 94 die("child did not terminate cleanly\n"); in test_fw_in_ns() 102 die("unshare(CLONE_NEWNS) failed: %s\n", in test_fw_in_ns() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/firmware/ |
| D | fw_namespace.c | 26 static void die(char *fmt, ...) in die() function 45 die("open failed: %s\n", in trigger_fw() 59 die("open failed: %s\n", in setup_fw() 62 die("write failed: %s\n", in setup_fw() 73 die("blocking firmware in parent ns failed\n"); in test_fw_in_ns() 77 die("fork failed: %s\n", in test_fw_in_ns() 86 die("waitpid failed: %s\n", in test_fw_in_ns() 90 die("waited for %d got %d\n", in test_fw_in_ns() 94 die("child did not terminate cleanly\n"); in test_fw_in_ns() 102 die("unshare(CLONE_NEWNS) failed: %s\n", in test_fw_in_ns() [all …]
|
| /kernel/linux/linux-5.10/arch/loongarch/boot/tools/ |
| D | relocs.c | 56 die("%s", errbuf); in regex_init() 143 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr() 146 die("No ELF magic\n"); in read_ehdr() 149 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr() 152 die("Unsupported ELF Endianness\n"); in read_ehdr() 155 die("Unknown ELF version\n"); in read_ehdr() 158 die("Unsupported ELF header type\n"); in read_ehdr() 161 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr() 164 die("Unknown ELF version\n"); in read_ehdr() 167 die("Bad Elf header size\n"); in read_ehdr() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
| D | rpath.sh | 85 die() { function 131 die "martian ping 192.168.42.1 succeeded" 133 die "martian ping fec0:42::1 succeeded" 135 ipt_zero_rule "$iptables" || die "iptables matched martian" 136 ipt_zero_rule "$ip6tables" || die "ip6tables matched martian" 137 ipt_zero_reverse_rule "$iptables" && die "iptables not matched martian" 138 ipt_zero_reverse_rule "$ip6tables" && die "ip6tables not matched martian" 139 nft_zero_rule ip || die "nft IPv4 matched martian" 140 nft_zero_rule ip6 || die "nft IPv6 matched martian" 146 die "regular ping 192.168.23.1 failed" [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* 19 $ tail /sys/devices/uncore_iio_0/die* 31 IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000 32 IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000 33 IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000 34 IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000
|
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | topology.c | 125 // Test that CPU ID contains socket, die, core and CPU in check_cpu_topology() 137 TEST_ASSERT_VAL("Cpu map - Die ID doesn't match", in check_cpu_topology() 138 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology() 143 // Test that core ID contains socket, die and core in check_cpu_topology() 153 TEST_ASSERT_VAL("Core map - Die ID doesn't match", in check_cpu_topology() 154 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology() 159 // Test that die ID contains socket and die in check_cpu_topology() 162 TEST_ASSERT_VAL("Die map - Socket ID doesn't match", in check_cpu_topology() 166 TEST_ASSERT_VAL("Die map - Die ID doesn't match", in check_cpu_topology() 167 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/tools/ |
| D | relocs.c | 56 die("%s", errbuf); in regex_init() 208 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr() 211 die("No ELF magic\n"); in read_ehdr() 214 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr() 218 die("Unknown ELF Endianness\n"); in read_ehdr() 221 die("Unknown ELF version\n"); in read_ehdr() 239 die("Unsupported ELF header type\n"); in read_ehdr() 242 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr() 245 die("Unknown ELF version\n"); in read_ehdr() 248 die("Bad Elf header size\n"); in read_ehdr() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/tools/ |
| D | relocs.c | 56 die("%s", errbuf); in regex_init() 208 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr() 211 die("No ELF magic\n"); in read_ehdr() 214 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr() 218 die("Unknown ELF Endianness\n"); in read_ehdr() 221 die("Unknown ELF version\n"); in read_ehdr() 239 die("Unsupported ELF header type\n"); in read_ehdr() 242 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr() 245 die("Unknown ELF version\n"); in read_ehdr() 248 die("Bad ELF header size\n"); in read_ehdr() [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/boot/ |
| D | piggyback.c | 57 static void die(const char *str) in die() function 110 die(filename); in get_start_end() 142 die("lseek"); in get_hdrs_offset() 144 die(filename); in get_hdrs_offset() 159 …die("Calculated a negative offset, probably elftoaout generated an invalid image. Did you use a re… in get_hdrs_offset() 162 die("lseek"); in get_hdrs_offset() 164 die(filename); in get_hdrs_offset() 191 die(argv[4]); in main() 199 die(argv[2]); in main() 201 die(argv[2]); in main() [all …]
|