Home
last modified time | relevance | path

Searched full:die (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/linux-6.15/scripts/gendwarfksyms/
Ddwarf.c28 /* >0 to stop DIE processing */
38 static void process_linebreak(struct die *cache, int n) in process_linebreak()
46 static bool get_##attr##_attr(Dwarf_Die *die, unsigned int id, \
50 return dwarf_attr(die, id, &da) && \
57 static bool get_ref_die_attr(Dwarf_Die *die, unsigned int id, Dwarf_Die *value) in DEFINE_GET_ATTR()
62 return dwarf_attr(die, id, &da) && dwarf_formref_die(&da, value); in DEFINE_GET_ATTR()
66 static const char *get_##attr##_attr(Dwarf_Die *die) \
69 if (dwarf_attr(die, DW_AT_##attr, &da)) \
77 static const char *get_symbol_name(Dwarf_Die *die) in DEFINE_GET_STRING_ATTR()
82 name = get_linkage_name_attr(die); in DEFINE_GET_STRING_ATTR()
[all …]
Ddie.c11 /* {die->addr, state} -> struct die * */
22 static void init_die(struct die *cd) in init_die()
32 static struct die *create_die(Dwarf_Die *die, enum die_state state) in create_die() argument
34 struct die *cd; in create_die()
36 cd = xmalloc(sizeof(struct die)); in create_die()
38 cd->addr = (uintptr_t)die->addr; in create_die()
44 int __die_map_get(uintptr_t addr, enum die_state state, struct die **res) in __die_map_get()
46 struct die *cd; in __die_map_get()
58 struct die *die_map_get(Dwarf_Die *die, enum die_state state) in die_map_get() argument
60 struct die *cd; in die_map_get()
[all …]
Dgendwarfksyms.h130 void symbol_set_die(struct symbol *sym, Dwarf_Die *die);
137 * die.c
183 struct die { struct
193 typedef void (*die_map_callback_t)(struct die *, void *arg); argument
195 int __die_map_get(uintptr_t addr, enum die_state state, struct die **res);
196 struct die *die_map_get(Dwarf_Die *die, enum die_state state);
197 void die_map_add_string(struct die *pd, const char *str);
198 void die_map_add_linebreak(struct die *pd, int linebreak);
200 void die_map_add_die(struct die *pd, struct die *child);
256 Dwarf_Die die; member
[all …]
/linux-6.15/Documentation/ABI/testing/
Dsysfs-devices-mapping6 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 …]
/linux-6.15/tools/testing/selftests/mount/
Dunprivileged-remount-test.c48 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 …]
Dnosymfollow-test.c30 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 …]
/linux-6.15/tools/testing/selftests/safesetid/
Dsafesetid-test.c43 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 …]
/linux-6.15/drivers/soc/hisilicon/
Dkunpeng_hccs.c20 * the die:
468 u8 die_idx, struct hccs_die_info *die) in hccs_query_die_info_on_chip() argument
484 die->die_id = rsp_data->die_id; in hccs_query_die_info_on_chip()
485 die->port_num = rsp_data->port_num; in hccs_query_die_info_on_chip()
486 die->min_port_id = rsp_data->min_port_id; in hccs_query_die_info_on_chip()
487 die->max_port_id = rsp_data->max_port_id; in hccs_query_die_info_on_chip()
488 if (die->min_port_id > die->max_port_id) { in hccs_query_die_info_on_chip()
490 die->min_port_id, die->max_port_id, die_idx); in hccs_query_die_info_on_chip()
493 if (die->max_port_id > HCCS_DIE_MAX_PORT_ID) { in hccs_query_die_info_on_chip()
495 die->max_port_id, die_idx); in hccs_query_die_info_on_chip()
[all …]
/linux-6.15/drivers/soc/fsl/
Dguts.c18 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 …]
/linux-6.15/scripts/
Dextract-sys-certs.pl9 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 …]
Dextract-module-sig.pl19 die "Format: $0 -[0adnks] module-file >out\n"
30 open FD, "<$modfile" || die $modfile;
33 die "$modfile" unless (@st);
36 die "$modfile" unless (defined($len));
37 die "Short read on $modfile\n" unless ($len == $st[7]);
38 close(FD) || die $modfile;
42 die "The file is too short to have a sig magic number and descriptor\n"
51 die "Magic number not found at $len\n"
74 die "Insufficient name+kid+sig data in file\n"
/linux-6.15/tools/testing/selftests/firmware/
Dfw_namespace.c22 static void die(char *fmt, ...) in die() function
41 die("open failed: %s\n", in trigger_fw()
55 die("open failed: %s\n", in setup_fw()
58 die("write failed: %s\n", in setup_fw()
69 die("blocking firmware in parent ns failed\n"); in test_fw_in_ns()
73 die("fork failed: %s\n", in test_fw_in_ns()
82 die("waitpid failed: %s\n", in test_fw_in_ns()
86 die("waited for %d got %d\n", in test_fw_in_ns()
90 die("child did not terminate cleanly\n"); in test_fw_in_ns()
98 die("unshare(CLONE_NEWNS) failed: %s\n", in test_fw_in_ns()
[all …]
/linux-6.15/tools/perf/util/
Ddwarf-aux.c18 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit)
49 * @cu_die: a CU DIE
110 * @cu_die: a CU DIE
148 * @cu_die: A CU DIE
179 * @dw_die: A DIE of the object
195 * @dw_die: a DIE
210 * @dw_die: a DIE
233 * @in_die: a DIE of an inlined function instance
251 * die_get_type - Get type DIE
252 * @vr_die: a DIE of a variable
[all …]
Ddwarf-aux.h32 /* 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 */
61 /* Get a type die, but skip qualifiers and typedef */
64 /* Check whether the DIE is signed or not */
103 /* Walk on the instances of given DIE */
112 * Walk on lines inside given DIE. If the DIE is a subprogram, walk only on
[all …]
Dcpumap.h20 /** The die id as read from /sys/devices/system/cpu/cpuX/topology/die_id. */
21 int die; member
85 * cpu__get_die_id - Returns the die id as read from
129 * aggr_cpu_id__die - Create an aggr_cpu_id with the die and socket populated
130 * with the die and socket for cpu. The function signature is compatible with
135 * aggr_cpu_id__cluster - Create an aggr_cpu_id with cluster, die and socket
136 * populated with the cluster, die and socket for cpu. The function signature
141 * aggr_cpu_id__core - Create an aggr_cpu_id with the core, cluster, die and
142 * socket populated with the core, die and socket for cpu. The function
147 * aggr_cpu_id__core - Create an aggr_cpu_id with the cpu, core, die and socket
[all …]
/linux-6.15/arch/s390/tools/
Drelocs.c108 static void die(char *fmt, ...) in die() function
121 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
123 die("No ELF magic\n"); in read_ehdr()
125 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
127 die("ELF endian mismatch\n"); in read_ehdr()
129 die("Unknown ELF version\n"); in read_ehdr()
150 die("Unsupported ELF header type\n"); in read_ehdr()
152 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
154 die("Unknown ELF version\n"); in read_ehdr()
156 die("Bad Elf header size\n"); in read_ehdr()
[all …]
/linux-6.15/tools/perf/tests/
Dtopology.c125 // 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[cpu.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[cpu.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[cpu.cpu].die_id == id.die); in check_cpu_topology()
[all …]
/linux-6.15/arch/mips/boot/tools/
Drelocs.c56 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 …]
/linux-6.15/tools/testing/selftests/net/netfilter/
Drpath.sh105 die() { function
151 die "martian ping 192.168.42.1 succeeded"
153 die "martian ping fec0:42::1 succeeded"
155 ipt_zero_rule "$iptables" || die "iptables matched martian"
156 ipt_zero_rule "$ip6tables" || die "ip6tables matched martian"
157 ipt_zero_reverse_rule "$iptables" && die "iptables not matched martian"
158 ipt_zero_reverse_rule "$ip6tables" && die "ip6tables not matched martian"
159 nft_zero_rule ip || die "nft IPv4 matched martian"
160 nft_zero_rule ip6 || die "nft IPv6 matched martian"
166 die "regular ping 192.168.23.1 failed"
[all …]
/linux-6.15/arch/sparc/boot/
Dpiggyback.c57 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()
159die("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 …]
/linux-6.15/tools/testing/selftests/livepatch/
Dfunctions.sh53 # die(msg) - game over, man
55 function die() { function
157 die "Can't find \"test_modules/$mod.ko\", try \"make\""
174 die "$ret"
179 die "failed to load module $mod"
190 die "use load_lp() to load the livepatch module $mod"
203 die "module $mod is not a livepatch"
209 die "failed to load module $mod (sysfs)"
222 die "failed to complete transition"
235 die "$mod unexpectedly loaded"
[all …]
/linux-6.15/arch/x86/tools/
Drelocs.c149 die("%s", errbuf); in regex_init()
349 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
351 die("No ELF magic\n"); in read_ehdr()
353 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
355 die("Not a LSB ELF executable\n"); in read_ehdr()
357 die("Unknown ELF version\n"); in read_ehdr()
378 die("Unsupported ELF header type\n"); in read_ehdr()
380 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
382 die("Unknown ELF version\n"); in read_ehdr()
384 die("Bad ELF header size\n"); in read_ehdr()
[all …]
/linux-6.15/arch/x86/events/intel/
Duncore.c57 int uncore_die_to_segment(int die) in uncore_die_to_segment() argument
61 /* Find first pci bus which attributes to specified die. */ in uncore_die_to_segment()
63 (die != uncore_pcibus_to_dieid(bus))) in uncore_die_to_segment()
957 int die; in uncore_free_boxes() local
959 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes()
960 kfree(pmu->boxes[die]); in uncore_free_boxes()
1069 * Get the die information of a PCI device.
1071 * @die: The die id which the device maps to.
1073 static int uncore_pci_get_dev_die_info(struct pci_dev *pdev, int *die) in uncore_pci_get_dev_die_info() argument
1075 *die = uncore_pcibus_to_dieid(pdev->bus); in uncore_pci_get_dev_die_info()
[all …]
/linux-6.15/tools/power/x86/intel-speed-select/
Disst-daemon.c43 if (id->pkg < 0 || id->die < 0 || id->punit < 0) { in process_level_change()
44 debug_printf("Invalid package/die info for cpu:%d\n", id->cpu); in process_level_change()
49 if (tm - per_package_levels_tm[id->pkg][id->die][id->punit] < 2) in process_level_change()
52 per_package_levels_tm[id->pkg][id->die][id->punit] = tm; in process_level_change()
60 debug_printf("Get Config level %d pkg:%d die:%d current_level:%d\n", id->cpu, in process_level_change()
61 id->pkg, id->die, pkg_dev.current_level); in process_level_change()
68 if (per_package_levels_info[id->pkg][id->die][id->punit] == pkg_dev.current_level) in process_level_change()
71 debug_printf("**Config level change for cpu:%d pkg:%d die:%d from %d to %d\n", in process_level_change()
72 id->cpu, id->pkg, id->die, per_package_levels_info[id->pkg][id->die][id->punit], in process_level_change()
75 per_package_levels_info[id->pkg][id->die][id->punit] = pkg_dev.current_level; in process_level_change()
/linux-6.15/tools/perf/arch/x86/util/
Diostat.c37 #define PLATFORM_MAPPING_PATH UNCORE_IIO_PMU_PATH"/die%d"
64 u8 die; member
81 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
85 u8 die, u8 pmu_idx) in iio_root_port_new() argument
92 p->die = die; in iio_root_port_new()
155 for (int die = 0; die < cpu__max_node(); die++) { in iio_mapping() local
156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
166 pr_err("Invalid mapping data: iio_%d; die%d\n", in iio_mapping()
167 pmu_idx, die); in iio_mapping()
170 rp = iio_root_port_new(domain, bus, die, pmu_idx); in iio_mapping()
[all …]

12345678910>>...26