Home
last modified time | relevance | path

Searched refs:die (Results 1 – 25 of 171) sorted by relevance

1234567

/linux/scripts/gendwarfksyms/
H A Ddwarf.c38 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()
84 name = get_name_attr(die); in DEFINE_GET_STRING_ATTR()
89 match_export_symbol(struct state * state,Dwarf_Die * die) match_export_symbol() argument
111 is_definition_private(Dwarf_Die * die) is_definition_private() argument
147 is_kabi_definition(struct die * cache,Dwarf_Die * die) is_kabi_definition() argument
197 update_fqn(struct die * cache,Dwarf_Die * die) update_fqn() argument
210 process_fqn(struct die * cache,Dwarf_Die * die) process_fqn() argument
267 process_die_container(struct state * state,struct die * cache,Dwarf_Die * die,die_callback_t func,die_match_callback_t match) process_die_container() argument
301 process_type_attr(struct state * state,struct die * cache,Dwarf_Die * die) process_type_attr() argument
326 __process_list_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type) __process_list_type() argument
412 process_array_type(struct state * state,struct die * cache,Dwarf_Die * die) process_array_type() argument
426 __process_subroutine_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type) __process_subroutine_type() argument
443 process_subroutine_type(struct state * state,struct die * cache,Dwarf_Die * die) process_subroutine_type() argument
449 process_variant_type(struct state * state,struct die * cache,Dwarf_Die * die) process_variant_type() argument
462 process_variant_part_type(struct state * state,struct die * cache,Dwarf_Die * die) process_variant_part_type() argument
473 get_kabi_status(Dwarf_Die * die,const char ** suffix) get_kabi_status() argument
504 check_struct_member_kabi_status(struct state * state,struct die * __unused,Dwarf_Die * die) check_struct_member_kabi_status() argument
531 check_union_member_kabi_status(struct state * state,struct die * __unused,Dwarf_Die * die) check_union_member_kabi_status() argument
574 get_union_kabi_status(Dwarf_Die * die,Dwarf_Die * placeholder,const char ** orig_name) get_union_kabi_status() argument
653 is_kabi_ignored(Dwarf_Die * die) is_kabi_ignored() argument
668 ___process_structure_type(struct state * state,struct die * cache,Dwarf_Die * die) ___process_structure_type() argument
691 __process_structure_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type,die_callback_t process_func,die_match_callback_t match_func) __process_structure_type() argument
750 process_enumerator_type(struct state * state,struct die * cache,Dwarf_Die * die) process_enumerator_type() argument
778 process_enumeration_type(struct state * state,struct die * cache,Dwarf_Die * die) process_enumeration_type() argument
785 process_base_type(struct state * state,struct die * cache,Dwarf_Die * die) process_base_type() argument
795 process_unspecified_type(struct state * state,struct die * cache,Dwarf_Die * die) process_unspecified_type() argument
805 process_cached(struct state * state,struct die * cache,Dwarf_Die * die) process_cached() argument
865 process_type(struct state * state,struct die * parent,Dwarf_Die * die) process_type() argument
959 get_symbol_cache(struct state * state,Dwarf_Die * die) get_symbol_cache() argument
972 process_symbol(struct state * state,Dwarf_Die * die,die_callback_t process_func) process_symbol() argument
991 __process_subprogram(struct state * state,struct die * cache,Dwarf_Die * die) __process_subprogram() argument
997 process_subprogram(struct state * state,Dwarf_Die * die) process_subprogram() argument
1003 __process_variable(struct state * state,struct die * cache,Dwarf_Die * die) __process_variable() argument
1010 process_variable(struct state * state,Dwarf_Die * die) process_variable() argument
1041 process_exported_symbols(struct state * unused,struct die * cache,Dwarf_Die * die) process_exported_symbols() argument
1103 resolve_fqns(struct state * parent,struct die * unused,Dwarf_Die * die) resolve_fqns() argument
[all...]
H A Ddie.c22 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()
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()
62 if (__die_map_get((uintptr_t)die->addr, state, &cd) == 0) { in die_map_get()
68 return create_die(die, state); in die_map_get()
[all …]
H A Dgendwarfksyms.h130 void symbol_set_die(struct symbol *sym, Dwarf_Die *die);
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);
246 Dwarf_Die die; member
259 typedef int (*die_callback_t)(struct state *state, struct die *cache,
[all …]
/linux/tools/testing/selftests/safesetid/
H A 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/tools/testing/selftests/mount/
H A 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 …]
H A 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/tools/testing/selftests/firmware/
H A 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/Documentation/ABI/testing/
H A 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/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c456 u8 die_idx, struct hccs_die_info *die) in hccs_query_die_info_on_chip() argument
472 die->die_id = rsp_data->die_id; in hccs_query_die_info_on_chip()
473 die->port_num = rsp_data->port_num; in hccs_query_die_info_on_chip()
474 die->min_port_id = rsp_data->min_port_id; in hccs_query_die_info_on_chip()
475 die->max_port_id = rsp_data->max_port_id; in hccs_query_die_info_on_chip()
476 if (die->min_port_id > die->max_port_id) { in hccs_query_die_info_on_chip()
478 die->min_port_id, die->max_port_id, die_idx); in hccs_query_die_info_on_chip()
481 if (die->max_port_id > HCCS_DIE_MAX_PORT_ID) { in hccs_query_die_info_on_chip()
483 die->max_port_id, die_idx); in hccs_query_die_info_on_chip()
494 struct hccs_die_info *die; in hccs_query_all_die_info_on_platform() local
[all …]
/linux/arch/sparc/boot/
H A 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/tools/testing/selftests/livepatch/
H A Dfunctions.sh59 function die() { function
161 die "Can't find \"test_modules/$mod.ko\", try \"make\""
178 die "$ret"
183 die "failed to load module $mod"
194 die "use load_lp() to load the livepatch module $mod"
207 die "module $mod is not a livepatch"
213 die "failed to load module $mod (sysfs)"
226 die "failed to complete transition"
239 die "$mod unexpectedly loaded"
251 die "failed to unload module $mod (refcnt)"
[all …]
/linux/drivers/soc/fsl/
H A Dguts.c18 char *die; member
35 { .die = "T4240",
40 { .die = "T1040",
45 { .die = "T2080",
50 { .die = "T1024",
60 { .die = "LS1043A",
65 { .die = "LS2080A",
70 { .die = "LS1088A",
75 { .die = "LS1012A",
80 { .die = "LS1046A",
[all …]
/linux/arch/s390/tools/
H A 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/arch/mips/boot/tools/
H A Drelocs.c56 die("%s", errbuf); in regex_init()
209 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
212 die("No ELF magic\n"); in read_ehdr()
215 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
219 die("Unknown ELF Endianness\n"); in read_ehdr()
222 die("Unknown ELF version\n"); in read_ehdr()
240 die("Unsupported ELF header type\n"); in read_ehdr()
243 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
246 die("Unknown ELF version\n"); in read_ehdr()
249 die("Bad ELF header size\n"); in read_ehdr()
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Drpath.sh97 die() {
143 die "martian ping 192.168.42.1 succeeded"
145 die "martian ping fec0:42::1 succeeded"
147 ipt_zero_rule "$iptables" || die "iptables matched martian"
148 ipt_zero_rule "$ip6tables" || die "ip6tables matched martian"
149 ipt_zero_reverse_rule "$iptables" && die "iptables not matched martian"
150 ipt_zero_reverse_rule "$ip6tables" && die "ip6tables not matched martian"
151 nft_zero_rule ip || die "nft IPv4 matched martian"
152 nft_zero_rule ip6 || die "nft IPv6 matched martian"
158 die "regula
105 die() { global() function
[all...]
H A Dconntrack_reverse_clash.c30 static void die(const char *e) in die() function
55 die("socket"); in udp_socket()
85 die("bind 1"); in main()
87 die("bind 2"); in main()
105 die("child recvfrom"); in main()
114 die("parent recvfrom"); in main()
/linux/arch/x86/tools/
H A 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/scripts/livepatch/
H A Dklp-build67 die() { function
78 [[ ! -e "$file" ]] && die "no file to stash: $file"
168 [[ "$2" != *.ko ]] && die "output filename should end with .ko"
189 [[ ! -d "$TMP_DIR" ]] && die "--short-circuit requires preserved klp-tmp dir"
196 *) die "invalid short-circuit step '$2'" ;;
237 source "$CONFIG" || die "no .config file in $(dirname "$CONFIG")"
241 die "CONFIG_LIVEPATCH not enabled"
244 die "CONFIG_KLP_BUILD not enabled"
247 die "kernel option 'CONFIG_GCC_PLUGIN_LATENT_ENTROPY' not supported"
250 die "kernel option 'CONFIG_GCC_PLUGIN_RANDSTRUCT' not supported"
[all …]
/linux/drivers/video/logo/
H A Dpnmtologo.c73 static void die(const char *fmt, ...)
86 die("%s: end of file\n", filename); in get_number()
92 die("%s: end of file\n", filename); in get_number()
109 die("%s: end of file\n", filename); in get_number()
131 die("Cannot open file %s: %s\n", filename, strerror(errno)); in read_image()
136 die("%s is not a PNM file\n", filename); in read_image()
149 die("%s: Binary PNM is not supported\n" in read_image()
153 die("%s is not a PNM file\n", filename); in read_image()
161 die("%s\n", strerror(errno)); in read_image()
165 die("%s\n", strerror(errno)); in read_image()
[all …]
/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c
/linux/arch/x86/events/intel/
H A Duncore_discovery.c114 intel_uncore_find_discovery_unit(struct rb_root *units, int die, in intel_uncore_find_discovery_unit() argument
128 if (die < 0) in intel_uncore_find_discovery_unit()
137 if (unit->die == die) in intel_uncore_find_discovery_unit()
144 int intel_uncore_find_discovery_unit_id(struct rb_root *units, int die, in intel_uncore_find_discovery_unit_id() argument
149 unit = intel_uncore_find_discovery_unit(units, die, pmu_idx); in intel_uncore_find_discovery_unit_id()
168 if (a_node->die < b_node->die) in unit_less()
170 if (a_node->die > b_node->die) in unit_less()
206 int die) in uncore_insert_box_info() argument
222 node->die = die; in uncore_insert_box_info()
261 resource_size_t addr, int die, bool *parsed) in __parse_discovery_table() argument
[all …]
H A Duncore.c58 int uncore_die_to_segment(int die) in uncore_die_to_segment() argument
64 (die != uncore_pcibus_to_dieid(bus))) in uncore_die_to_segment()
950 int die; in uncore_free_boxes() local
952 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes()
953 kfree(pmu->boxes[die]); in uncore_free_boxes()
1065 static int uncore_pci_get_dev_die_info(struct pci_dev *pdev, int *die) in uncore_pci_get_dev_die_info() argument
1067 *die = uncore_pcibus_to_dieid(pdev->bus); in uncore_pci_get_dev_die_info()
1068 if (*die < 0) in uncore_pci_get_dev_die_info()
1141 int die) in uncore_pci_pmu_register() argument
1146 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_pmu_register()
[all …]
/linux/tools/testing/selftests/net/
H A Dfq_band_pktlimit.sh15 die() { function
56 echo "${OUT1}" | grep -q '0\ pkt\ (dropped\ 10' || die "unexpected drop count at 1"
57 echo "${OUT2}" | grep -q '0\ pkt\ (dropped\ 30' || die "unexpected drop count at 2"
58 echo "${OUT3}" | grep -q '0\ pkt\ (dropped\ 40' || die "unexpected drop count at 3"
59 echo "${OUT4}" | grep -q '20\ pkt\ (dropped\ 40' || die "unexpected accept count at 4"
/linux/arch/mips/tools/
H A Delf-entry.c26 static void die(const char *msg) in die() function
43 die("Usage: elf-entry <elf-file>\n"); in main()
60 die("Input is not an ELF\n"); in main()
74 die("Invalid ELF encoding\n"); in main()
91 die("Invalid ELF encoding\n"); in main()
97 die("Invalid ELF class\n"); in main()
/linux/arch/microblaze/kernel/
H A Dexceptions.c40 void die(const char *str, struct pt_regs *fp, long err) in die() function
64 die("Exception in kernel mode", regs, signr); in _exception()
88 die("opcode exception", regs, SIGBUS); in full_exception()
97 die("bus exception", regs, SIGBUS); in full_exception()
106 die("bus exception", regs, SIGBUS); in full_exception()
115 die("Divide by zero exception", regs, SIGBUS); in full_exception()

1234567