/linux-5.19.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 …]
|
/linux-5.19.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("can't open add_whitelist_policy file\n"); in write_policies() 159 die("short write to %s\n", add_whitelist_policy_file); in write_policies() [all …]
|
/linux-5.19.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 …]
|
/linux-5.19.10/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 …]
|
/linux-5.19.10/drivers/soc/fsl/ |
D | guts.c | 23 char *die; member 40 { .die = "T4240", 45 { .die = "T1040", 50 { .die = "T2080", 55 { .die = "T1024", 65 { .die = "LS1043A", 70 { .die = "LS2080A", 75 { .die = "LS1088A", 80 { .die = "LS1012A", 85 { .die = "LS1046A", [all …]
|
/linux-5.19.10/tools/testing/selftests/livepatch/ |
D | functions.sh | 38 function die() { function 152 die "$ret" 157 die "failed to load module $mod" 171 die "use load_lp() to load the livepatch module $mod" 187 die "module $mod is not a livepatch" 193 die "failed to load module $mod (sysfs)" 206 die "failed to complete transition" 219 die "$mod unexpectedly loaded" 231 die "failed to unload module $mod (refcnt)" 236 die "$ret" [all …]
|
/linux-5.19.10/arch/x86/boot/tools/ |
D | build.c | 140 static void die(const char * str, ...) in die() function 152 die("Usage: build setup system zoffset.h image"); in usage() 300 die("32-bit and 64-bit EFI entry points do not match\n"); in efi_stub_entry_update() 345 die("Unable to open `%s': %m", fname); in parse_zoffset() 348 die("read-error on `zoffset.h'"); in parse_zoffset() 389 die("Unable to write `%s': %m", argv[4]); in main() 394 die("Unable to open `%s': %m", argv[1]); in main() 397 die("read-error on `setup'"); in main() 399 die("The setup must be at least 1024 bytes"); in main() 401 die("Boot block hasn't got boot flag (0xAA55)"); in main() [all …]
|
/linux-5.19.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 …]
|
D | relocs_main.c | 14 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-5.19.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
|
/linux-5.19.10/arch/x86/tools/ |
D | relocs.c | 146 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() 375 die("Not a %d bit executable\n", ELF_BITS); 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() 404 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr() 406 die("Unknown ELF version\n"); in read_ehdr() 408 die("Bad Elf header size\n"); in read_ehdr() [all …]
|
/linux-5.19.10/drivers/video/logo/ |
D | pnmtologo.c | 79 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() 135 die("Cannot open file %s: %s\n", filename, strerror(errno)); in read_image() 140 die("%s is not a PNM file\n", filename); in read_image() 153 die("%s: Binary PNM is not supported\n" in read_image() 157 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() [all …]
|
/linux-5.19.10/arch/x86/events/intel/ |
D | uncore.c | 56 int uncore_die_to_segment(int die) in uncore_die_to_segment() argument 62 (die != uncore_pcibus_to_dieid(bus))) in uncore_die_to_segment() 928 int die; in uncore_free_boxes() local 930 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes() 931 kfree(pmu->boxes[die]); in uncore_free_boxes() 1045 static int uncore_pci_get_dev_die_info(struct pci_dev *pdev, int *die) in uncore_pci_get_dev_die_info() argument 1047 *die = uncore_pcibus_to_dieid(pdev->bus); in uncore_pci_get_dev_die_info() 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() [all …]
|
/linux-5.19.10/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 63 static void die(int status) in die() function 230 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() [all …]
|
/linux-5.19.10/tools/perf/arch/x86/util/ |
D | iostat.c | 63 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-5.19.10/arch/mips/tools/ |
D | elf-entry.c | 26 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-5.19.10/fs/erofs/ |
D | inode.c | 22 struct erofs_inode_extended *die, *copied = NULL; in erofs_read_inode() local 63 die = (struct erofs_inode_extended *)dic; in erofs_read_inode() 83 die = copied; in erofs_read_inode() 85 vi->xattr_isize = erofs_xattr_ibody_size(die->i_xattr_icount); in erofs_read_inode() 87 inode->i_mode = le16_to_cpu(die->i_mode); in erofs_read_inode() 92 vi->raw_blkaddr = le32_to_cpu(die->i_u.raw_blkaddr); in erofs_read_inode() 97 new_decode_dev(le32_to_cpu(die->i_u.rdev)); in erofs_read_inode() 106 i_uid_write(inode, le32_to_cpu(die->i_uid)); in erofs_read_inode() 107 i_gid_write(inode, le32_to_cpu(die->i_gid)); in erofs_read_inode() 108 set_nlink(inode, le32_to_cpu(die->i_nlink)); in erofs_read_inode() [all …]
|
/linux-5.19.10/scripts/dtc/ |
D | flattree.c | 362 die("Unknown device tree blob version %d\n", version); in dt_to_blob() 420 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() 460 die("Unknown device tree blob version %d\n", version); in dt_to_asm() 580 die("Premature end of data parsing flat device tree\n"); in flat_read_chunk() 604 die("Premature end of data parsing flat device tree\n"); in flat_realign() 615 die("Premature end of data parsing flat device tree\n"); in flat_read_string() 652 die("String offset %d overruns string table\n", in flat_read_stringtable() 721 die("Path \"%s\" is not valid as a child of \"%s\"\n", in nodename_from_path() 771 die("Premature FDT_END in device tree blob\n"); in unflatten_tree() [all …]
|
D | dtc.c | 211 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-5.19.10/arch/microblaze/kernel/ |
D | exceptions.c | 40 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-5.19.10/tools/perf/util/ |
D | cpumap.c | 152 else if (a->die != b->die) in aggr_cpu_id__cmp() 153 return a->die - b->die; in aggr_cpu_id__cmp() 215 int die; in aggr_cpu_id__die() local 217 die = cpu__get_die_id(cpu); in aggr_cpu_id__die() 219 if (die == -1) in aggr_cpu_id__die() 220 die = 0; in aggr_cpu_id__die() 231 id.die = die; in aggr_cpu_id__die() 598 a->die == b->die && in aggr_cpu_id__equal() 608 a->die == -1 && in aggr_cpu_id__is_empty() 619 .die = -1, in aggr_cpu_id__empty()
|
/linux-5.19.10/arch/hexagon/kernel/ |
D | traps.c | 180 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()
|
/linux-5.19.10/tools/lib/subcmd/ |
D | subcmd-util.h | 18 static NORETURN inline void die(const char *err, ...) in die() function 54 die("Out of memory, realloc failed"); in xrealloc() 62 die("asprintf failed"); \ 71 die("asprintf failed"); in astrcat()
|
/linux-5.19.10/arch/ia64/kernel/ |
D | traps.c | 43 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 …]
|