Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/safesetid/
A Dsafesetid-test.c120 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()
157 die("putgrent failed\n"); in ensure_group_exists()
159 die("fclose failed\n"); in ensure_group_exists()
273 die("fork\n"); in test_setuid()
287 die("waitpid\n"); in test_setuid()
329 die("fork\n"); in test_setgid()
343 die("waitpid\n"); in test_setgid()
387 die("fork\n"); in test_setgroups()
[all …]
/linux/tools/testing/selftests/mount/
A Dunprivileged-remount-test.c48 static void die(char *fmt, ...) in die() function
66 die("vsnprintf failed: %s\n", in vmaybe_write_file()
77 die("open of %s failed: %s\n", in vmaybe_write_file()
90 die("close of %s failed: %s\n", in vmaybe_write_file()
172 die ("setgid(0) failed %s\n", in create_and_enter_userns()
176 die("setuid(0) failed %s\n", in create_and_enter_userns()
189 die("fork failed: %s\n", in test_unpriv_remount()
197 die("waitpid failed: %s\n", in test_unpriv_remount()
201 die("waited for %d got %d\n", in test_unpriv_remount()
267 die("fork failed: %s\n", in test_priv_mount_unpriv_remount()
[all …]
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()
65 die("short write to %s\n", filename); in vmaybe_write_file()
67 die("write to %s failed: %s\n", in vmaybe_write_file()
121 die("creat failed: %s\n", strerror(errno)); in setup_symlink()
171 die("realpath strcmp failed\n"); in test_realpath()
183 die("statfs failed: %s\n", strerror(errno)); in test_statfs()
187 die("ST_NOSYMFOLLOW not set on %s\n", TMP); in test_statfs()
190 die("ST_NOSYMFOLLOW set on %s\n", TMP); in test_statfs()
[all …]
/linux/drivers/soc/hisilicon/
A Dkunpeng_hccs.c435 if (die->min_port_id > die->max_port_id) { in hccs_query_die_info_on_chip()
437 die->min_port_id, die->max_port_id, die_idx); in hccs_query_die_info_on_chip()
479 die->chip = chip; in hccs_query_all_die_info_on_platform()
581 ret = hccs_get_all_port_attr(hdev, die, attrs, die->port_num); in hccs_get_all_port_info_on_die()
591 port->die = die; in hccs_get_all_port_info_on_die()
617 if (!die->ports) { in hccs_query_all_port_info_on_platform()
619 i, die->die_id); in hccs_query_all_port_info_on_platform()
667 const struct hccs_die_info *die = port->die; in hccs_query_port_link_status() local
694 const struct hccs_die_info *die = port->die; in hccs_query_port_crc_err_cnt() local
738 die->die_id, ret); in hccs_get_die_all_link_status()
[all …]
/linux/tools/testing/selftests/firmware/
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()
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()
102 die("remount root in child ns failed\n"); in test_fw_in_ns()
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-devices-mapping10 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
47 # tail /sys/devices/uncore_upi_0/die*
59 UPI link 0 on die 0 is connected to UPI link 1 on die 1
60 UPI link 0 on die 1 is connected to UPI link 0 on die 3
61 UPI link 0 on die 2 is connected to UPI link 1 on die 3
[all …]
/linux/arch/sparc/boot/
A Dpiggyback.c110 die(filename); in get_start_end()
142 die("lseek"); in get_hdrs_offset()
144 die(filename); in get_hdrs_offset()
191 die(argv[4]); in main()
199 die(argv[2]); in main()
201 die(argv[2]); in main()
219 die("lseek"); in main()
234 die(argv[2]); in main()
254 die("lseek"); in main()
256 die(argv[4]); in main()
[all …]
/linux/arch/x86/boot/tools/
A Dbuild.c121 static void die(const char * str, ...) in die() function
154 die("Unable to open `%s': %m", fname); in parse_zoffset()
157 die("read-error on `zoffset.h'"); in parse_zoffset()
193 die("Unable to open `%s': %m", argv[1]); in main()
196 die("read-error on `setup'"); in main()
214 die("Unable to open `%s': %m", argv[2]); in main()
216 die("Unable to stat `%s': %m", argv[2]); in main()
227 die("Writing setup failed"); in main()
232 die("Writing kernel failed"); in main()
237 die("Writing CRC failed"); in main()
[all …]
/linux/tools/testing/selftests/livepatch/
A Dfunctions.sh51 function die() { function
152 die "$ret"
157 die "failed to load module $mod"
181 die "module $mod is not a livepatch"
187 die "failed to load module $mod (sysfs)"
200 die "failed to complete transition"
213 die "$mod unexpectedly loaded"
230 die "$ret"
255 die "failed to disable livepatch $mod"
308 die "livepatch kselftest(s) failed"
[all …]
/linux/drivers/soc/fsl/
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/tools/testing/selftests/net/netfilter/
A Drpath.sh91 die() { function
137 die "martian ping 192.168.42.1 succeeded"
139 die "martian ping fec0:42::1 succeeded"
141 ipt_zero_rule "$iptables" || die "iptables matched martian"
142 ipt_zero_rule "$ip6tables" || die "ip6tables matched martian"
145 nft_zero_rule ip || die "nft IPv4 matched martian"
146 nft_zero_rule ip6 || die "nft IPv6 matched martian"
152 die "regular ping 192.168.23.1 failed"
154 die "regular ping fec0:23::1 failed"
160 nft_zero_rule ip && die "nft IPv4 match not effective"
[all …]
A Dconntrack_reverse_clash.c30 static void die(const char *e) in die() function
50 die("socket"); in udp_socket()
80 die("bind 1"); in main()
82 die("bind 2"); in main()
100 die("child recvfrom"); in main()
109 die("parent recvfrom"); in main()
/linux/arch/s390/tools/
A Drelocs.c108 static void die(char *fmt, ...) in die() function
123 die("No ELF magic\n"); 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()
158 die("Bad program header entry\n"); in read_ehdr()
160 die("Bad section header entry\n"); in read_ehdr()
[all …]
/linux/arch/mips/boot/tools/
A Drelocs.c56 die("%s", errbuf); in regex_init()
211 die("No ELF magic\n"); in read_ehdr()
218 die("Unknown ELF Endianness\n"); in read_ehdr()
221 die("Unknown ELF version\n"); in read_ehdr()
245 die("Unknown ELF version\n"); in read_ehdr()
248 die("Bad ELF header size\n"); in read_ehdr()
310 die("Seek to %d failed: %s\n", in read_strtabs()
334 die("Seek to %d failed: %s\n", in read_symtabs()
378 die("Seek to %d failed: %s\n", in read_relocs()
419 die("Seek to %d failed: %s\n", in remove_relocs()
[all …]
/linux/arch/x86/tools/
A Drelocs.c147 die("%s", errbuf); in regex_init()
376 die("No ELF magic\n"); in read_ehdr()
380 die("Not a LSB ELF executable\n"); in read_ehdr()
382 die("Unknown ELF version\n"); in read_ehdr()
403 die("Unsupported ELF header type\n"); in read_ehdr()
405 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
407 die("Unknown ELF version\n"); in read_ehdr()
409 die("Bad ELF header size\n"); in read_ehdr()
411 die("Bad program header entry\n"); in read_ehdr()
413 die("Bad section header entry\n"); in read_ehdr()
[all …]
/linux/drivers/video/logo/
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()
149 die("%s: Binary PNM is not supported\n" in read_image()
161 die("%s\n", strerror(errno)); in read_image()
165 die("%s\n", strerror(errno)); in read_image()
286 die("Image must be monochrome\n"); in write_logo_mono()
399 die("Image must be grayscale\n"); in write_logo_gray256()
413 static void die(const char *fmt, ...) in die() function
[all …]
/linux/tools/testing/selftests/net/
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/tools/perf/arch/x86/util/
A Diostat.c64 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()
167 pmu_idx, die); in iio_mapping()
170 rp = iio_root_port_new(domain, bus, die, pmu_idx); in iio_mapping()
433 u8 die = ((struct iio_root_port *)evsel->priv)->die; in iostat_print_metric() local
434 struct perf_counts_values *count = perf_counts(evsel->counts, die, 0); in iostat_print_metric()
[all …]
/linux/arch/mips/tools/
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/x86/events/intel/
A Duncore.c958 int die; in uncore_free_boxes() local
960 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes()
1078 if (*die < 0) in uncore_pci_get_dev_die_info()
1151 int die) in uncore_pci_pmu_register() argument
1195 int die, ret; in uncore_pci_probe() local
1257 int i, die; in uncore_pci_remove() local
1288 int die; in uncore_bus_notify() local
1325 int die; in uncore_pci_sub_driver_init() local
1349 die)) in uncore_pci_sub_driver_init()
1476 int i, die; in uncore_change_type_ctx() local
[all …]
A Duncore_discovery.c145 if (die < 0) in intel_uncore_find_discovery_unit()
154 if (unit->die == die) in intel_uncore_find_discovery_unit()
166 unit = intel_uncore_find_discovery_unit(units, die, pmu_idx); in intel_uncore_find_discovery_unit_id()
185 if (a_node->die < b_node->die) in unit_less()
187 if (a_node->die > b_node->die) in unit_less()
223 int die) in uncore_insert_box_info() argument
239 node->die = die; in uncore_insert_box_info()
336 uncore_insert_box_info(&unit, die); in parse_discovery_table()
347 int die, dvsec = 0, ret = true; in intel_uncore_has_discovery_tables() local
376 die = get_device_die_id(dev); in intel_uncore_has_discovery_tables()
[all …]
/linux/scripts/dtc/
A Dflattree.c420 die("Error writing device tree blob: %s\n", in dt_to_blob()
423 die("Short write on device tree blob\n"); in dt_to_blob()
652 die("String offset %d overruns string table\n", in flat_read_stringtable()
772 die("Premature FDT_END in device tree blob\n"); in unflatten_tree()
815 die("Error reading DT blob magic number: %s\n", in dt_from_blob()
819 die("EOF reading DT blob magic number\n"); in dt_from_blob()
826 die("Blob has incorrect magic number\n"); in dt_from_blob()
833 die("EOF reading DT blob size\n"); in dt_from_blob()
853 die("EOF before reading %d bytes of DT blob\n", in dt_from_blob()
858 die("Error reading DT blob: %s\n", in dt_from_blob()
[all …]
A Ddtc.c213 die("Invalid argument \"%d\" to -a option\n", in main()
238 die("Invalid argument \"%s\" to -H option\n", in main()
285 die("Can't set both -p and -S\n"); in main()
290 die("Couldn't open dependency file %s: %s\n", depname, in main()
307 die("--annotate requires -I dts -O dts\n"); in main()
315 die("Unknown input format \"%s\"\n", inform); in main()
355 die("Couldn't open output file %s: %s\n", in main()
364 die("YAML output format requires dts input format\n"); in main()
374 die("Unknown output format \"%s\"\n", outform); in main()
/linux/arch/microblaze/kernel/
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()
/linux/tools/testing/selftests/powerpc/dexcr/
A Dchdexcr.c13 static void die(const char *msg) in die() function
82 die("unknown aspect"); in apply_option()
86 die("failed to apply option"); in apply_option()
96 die("DEXCR not detected on this hardware"); in main()
106 die("missing command"); in main()

Completed in 45 milliseconds

123456789