Home
last modified time | relevance | path

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

12345678

/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/tools/testing/selftests/safesetid/
A Dsafesetid-test.c31 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()
137 die("close of %s failed: %s\n", in ensure_securityfs_mounted()
161 die("write to %s failed: %s\n", in write_policies()
166 die("close of %s failed: %s\n", in write_policies()
212 die("fork\n"); in test_setuid()
226 die("waitpid\n"); in test_setuid()
[all …]
/linux/tools/testing/selftests/firmware/
A Dfw_namespace.c26 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()
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()
106 die("remount root in child ns failed\n"); in test_fw_in_ns()
[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/drivers/soc/fsl/
A Dguts.c23 char *die; member
41 { .die = "T4240",
46 { .die = "T1040",
51 { .die = "T2080",
56 { .die = "T1024",
66 { .die = "LS1043A",
71 { .die = "LS2080A",
76 { .die = "LS1088A",
81 { .die = "LS1012A",
86 { .die = "LS1046A",
[all …]
/linux/tools/testing/selftests/livepatch/
A Dfunctions.sh38 function die() { function
136 die "$ret"
141 die "failed to load module $mod"
171 die "module $mod is not a livepatch"
177 die "failed to load module $mod (sysfs)"
190 die "failed to complete transition"
203 die "$mod unexpectedly loaded"
215 die "failed to unload module $mod (refcnt)"
220 die "$ret"
245 die "failed to disable livepatch $mod"
[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 …]
A Drelocs_main.c14 void die(char *fmt, ...) in die() function
26 die("relocs [--reloc-info|--text|--bin|--keep] vmlinux\n"); in usage()
73 die("Cannot open %s: %s\n", fname, strerror(errno)); in main()
76 die("Cannot read %s: %s", fname, strerror(errno)); in main()
/linux/arch/x86/boot/tools/
A Dbuild.c140 static void die(const char * str, ...) in die() function
345 die("Unable to open `%s': %m", fname); in parse_zoffset()
348 die("read-error on `zoffset.h'"); in parse_zoffset()
394 die("Unable to open `%s': %m", argv[1]); in main()
397 die("read-error on `setup'"); in main()
422 die("Unable to open `%s': %m", argv[2]); in main()
473 die("Writing setup failed"); in main()
478 die("Writing kernel failed"); in main()
484 die("Writing padding failed"); in main()
490 die("Writing CRC failed"); in main()
[all …]
/linux/arch/x86/tools/
A Drelocs.c146 die("%s", errbuf); in regex_init()
368 die("Cannot read ELF header: %s\n", in read_ehdr()
372 die("No ELF magic\n"); in read_ehdr()
378 die("Not a LSB ELF executable\n"); in read_ehdr()
381 die("Unknown ELF version\n"); in read_ehdr()
402 die("Unsupported ELF header type\n"); in read_ehdr()
406 die("Unknown ELF version\n"); in read_ehdr()
408 die("Bad Elf header size\n"); in read_ehdr()
410 die("Bad program header entry\n"); in read_ehdr()
412 die("Bad section header entry\n"); in read_ehdr()
[all …]
/linux/Documentation/ABI/testing/
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
/linux/arch/x86/events/intel/
A Duncore.c928 int die; in uncore_free_boxes() local
930 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes()
1048 if (*die < 0) in uncore_pci_get_dev_die_info()
1060 int i, die; in uncore_pci_find_dev_pmu_from_types() local
1064 for (die = 0; die < __uncore_max_dies; die++) { in uncore_pci_find_dev_pmu_from_types()
1230 int i, die; in uncore_pci_remove() local
1261 int die; in uncore_bus_notify() local
1298 int die; in uncore_pci_sub_driver_init() local
1353 int i, die; in uncore_pci_pmus_register() local
1357 for (die = 0; die < __uncore_max_dies; die++) { in uncore_pci_pmus_register()
[all …]
/linux/drivers/video/logo/
A Dpnmtologo.c79 static void die(const char *fmt, ...)
92 die("%s: end of file\n", filename); in get_number()
98 die("%s: end of file\n", filename); in get_number()
114 die("%s: end of file\n", filename); in get_number()
140 die("%s is not a PNM file\n", filename); in read_image()
165 die("%s\n", strerror(errno)); in read_image()
169 die("%s\n", strerror(errno)); in read_image()
292 die("Image must be monochrome\n"); in write_logo_mono()
405 die("Image must be grayscale\n"); in write_logo_gray256()
419 static void die(const char *fmt, ...) in die() function
[all …]
/linux/tools/testing/selftests/net/af_unix/
A Dtest_unix_oob.c230 die(1); in main()
250 die(1); in main()
277 die(1); in main()
286 die(1); in main()
314 die(1); in main()
324 die(1); in main()
342 die(1); in main()
351 die(1); in main()
375 die(1); in main()
383 die(1); in main()
[all …]
/linux/tools/perf/arch/x86/util/
A Diostat.c63 u8 die; member
80 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
84 u8 die, u8 pmu_idx) in iio_root_port_new() argument
91 p->die = die; in iio_root_port_new()
154 for (int die = 0; die < cpu__max_node(); die++) { in iio_mapping() local
155 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
166 pmu_idx, die); in iio_mapping()
169 rp = iio_root_port_new(domain, bus, die, pmu_idx); in iio_mapping()
432 u8 die = ((struct iio_root_port *)evsel->priv)->die; in iostat_print_metric() local
433 struct perf_counts_values *count = perf_counts(evsel->counts, die, 0); in iostat_print_metric()
[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()
771 die("Premature FDT_END in device tree blob\n"); in unflatten_tree()
818 die("Error reading DT blob magic number: %s\n", in dt_from_blob()
822 die("EOF reading DT blob magic number\n"); in dt_from_blob()
829 die("Blob has incorrect magic number\n"); in dt_from_blob()
836 die("EOF reading DT blob size\n"); in dt_from_blob()
856 die("EOF before reading %d bytes of DT blob\n", in dt_from_blob()
861 die("Error reading DT blob: %s\n", in dt_from_blob()
[all …]
A Ddtc.c211 die("Invalid argument \"%d\" to -a option\n", in main()
236 die("Invalid argument \"%s\" to -H option\n", in main()
278 die("Can't set both -p and -S\n"); in main()
283 die("Couldn't open dependency file %s: %s\n", depname, in main()
300 die("--annotate requires -I dts -O dts\n"); in main()
308 die("Unknown input format \"%s\"\n", inform); in main()
348 die("Couldn't open output file %s: %s\n", in main()
357 die("YAML output format requires dts input format\n"); in main()
367 die("Unknown output format \"%s\"\n", outform); in main()
/linux/fs/erofs/
A Dinode.c27 struct erofs_inode_extended *die, *copied = NULL; in erofs_read_inode() local
68 die = (struct erofs_inode_extended *)dic; in erofs_read_inode()
90 die = copied; in erofs_read_inode()
94 inode->i_mode = le16_to_cpu(die->i_mode); in erofs_read_inode()
104 new_decode_dev(le32_to_cpu(die->i_u.rdev)); in erofs_read_inode()
113 i_uid_write(inode, le32_to_cpu(die->i_uid)); in erofs_read_inode()
114 i_gid_write(inode, le32_to_cpu(die->i_gid)); in erofs_read_inode()
115 set_nlink(inode, le32_to_cpu(die->i_nlink)); in erofs_read_inode()
118 inode->i_ctime.tv_sec = le64_to_cpu(die->i_ctime); in erofs_read_inode()
121 inode->i_size = le64_to_cpu(die->i_size); in erofs_read_inode()
[all …]
/linux/scripts/
A Dfaddr2line52 command -v awk >/dev/null 2>&1 || die "awk isn't installed"
53 command -v ${READELF} >/dev/null 2>&1 || die "readelf isn't installed"
54 command -v ${ADDR2LINE} >/dev/null 2>&1 || die "addr2line isn't installed"
55 command -v ${SIZE} >/dev/null 2>&1 || die "size isn't installed"
56 command -v ${NM} >/dev/null 2>&1 || die "nm isn't installed"
67 die() { function
202 [[ ! -f $objfile ]] && die "can't find objfile $objfile"
/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/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/perf/util/
A Dcpumap.c155 else if (a->die != b->die) in cmp_aggr_cpu_id()
156 return a->die - b->die; in cmp_aggr_cpu_id()
205 int cpu, die; in cpu_map__get_die() local
213 die = cpu_map__get_die_id(cpu); in cpu_map__get_die()
215 if (die == -1) in cpu_map__get_die()
216 die = 0; in cpu_map__get_die()
227 id.die = die; in cpu_map__get_die()
622 a.die == b.die && in cpu_map__compare_aggr_cpu_id()
631 a.die == -1 && in cpu_map__aggr_cpu_id_is_empty()
641 .die = -1, in cpu_map__empty_aggr_cpu_id()
/linux/arch/ia64/kernel/
A Dtraps.c43 die (const char *str, struct pt_regs *regs, long err) in die() function
49 } die = { in die() local
50 .lock = __SPIN_LOCK_UNLOCKED(die.lock), in die()
57 if (die.lock_owner != cpu) { in die()
59 spin_lock_irq(&die.lock); in die()
60 die.lock_owner = cpu; in die()
61 die.lock_owner_depth = 0; in die()
66 if (++die.lock_owner_depth < 3) { in die()
78 die.lock_owner = -1; in die()
80 spin_unlock_irq(&die.lock); in die()
[all …]
/linux/arch/hexagon/kernel/
A Dtraps.c180 int die(const char *str, struct pt_regs *regs, long err) in die() function
185 } die = { in die() local
186 .lock = __SPIN_LOCK_UNLOCKED(die.lock), in die()
193 spin_lock_irq(&die.lock); in die()
195 printk(KERN_EMERG "Oops: %s[#%d]:\n", str, ++die.counter); in die()
208 spin_unlock_irq(&die.lock); in die()
224 return die(str, regs, err); in die_if_kernel()
278 die("Cache Error", regs, 0); in cache_error()

Completed in 40 milliseconds

12345678