/linux/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 43 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 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 …]
|
H A 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/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 22 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 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 41 value that means UPI link number X on die Y is connected to UPI [all …]
|
/linux/arch/sparc/boot/ |
H A 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/arch/x86/boot/tools/ |
H A D | build.c | 121 static void die(const char * str, ...) in die() function 133 die("Usage: build setup system zoffset.h image"); in usage() 154 die("Unable to open `%s': %m", fname); in parse_zoffset() 157 die("read-error on `zoffset.h'"); in parse_zoffset() 188 die("Unable to write `%s': %m", argv[4]); in main() 193 die("Unable to open `%s': %m", argv[1]); in main() 196 die("read-error on `setup'"); in main() 198 die("The setup must be at least 1024 bytes"); in main() 200 die("Boot block hasn't got boot flag (0xAA55)"); in main() 214 die("Unable to open `%s': %m", argv[2]); in main() [all …]
|
/linux/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 54 function die() { function 142 die "Can't find \"test_modules/$mod.ko\", try \"make\"" 159 die "$ret" 164 die "failed to load module $mod" 175 die "use load_lp() to load the livepatch module $mod" 188 die "module $mod is not a livepatch" 194 die "failed to load module $mod (sysfs)" 207 die "failed to complete transition" 220 die "$mod unexpectedly loaded" 232 die "failed to unload module $mod (refcnt)" [all …]
|
/linux/drivers/soc/fsl/ |
H A D | guts.c | 18 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 D | relocs.c | 108 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 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 …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | rpath.sh | 105 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 …]
|
H A D | conntrack_reverse_clash.c | 30 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/drivers/video/logo/ |
H A D | pnmtologo.c | 73 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 D | test_unix_oob.c |
|
/linux/arch/x86/events/intel/ |
H A D | uncore.c | 57 int uncore_die_to_segment(int die) in uncore_die_to_segment() argument 63 (die != uncore_pcibus_to_dieid(bus))) in uncore_die_to_segment() 958 int die; in uncore_free_boxes() local 960 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes() 961 kfree(pmu->boxes[die]); in uncore_free_boxes() 1074 static int uncore_pci_get_dev_die_info(struct pci_dev *pdev, int *die) in uncore_pci_get_dev_die_info() argument 1076 *die = uncore_pcibus_to_dieid(pdev->bus); in uncore_pci_get_dev_die_info() 1077 if (*die < 0) in uncore_pci_get_dev_die_info() 1150 int die) in uncore_pci_pmu_register() argument 1155 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_pmu_register() [all …]
|
H A D | uncore_discovery.c | 131 intel_uncore_find_discovery_unit(struct rb_root *units, int die, in intel_uncore_find_discovery_unit() argument 145 if (die < 0) in intel_uncore_find_discovery_unit() 154 if (unit->die == die) in intel_uncore_find_discovery_unit() 161 int intel_uncore_find_discovery_unit_id(struct rb_root *units, int die, in intel_uncore_find_discovery_unit_id() argument 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() 276 static int parse_discovery_table(struct pci_dev *dev, int die, in parse_discovery_table() argument [all …]
|
/linux/scripts/dtc/ |
H A 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() 772 die("Premature FDT_END in device tree blob\n"); in unflatten_tree() [all …]
|
H A D | dtc.c | 213 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/tools/testing/selftests/net/ |
H A D | fq_band_pktlimit.sh | 15 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 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/arch/microblaze/kernel/ |
H A 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/tools/power/x86/intel-speed-select/ |
H A D | isst-daemon.c | 43 if (id->pkg < 0 || id->die < 0 || id->punit < 0) { 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() 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() 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/tools/testing/selftests/powerpc/dexcr/ |
H A D | chdexcr.c | 13 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()
|
/linux/fs/erofs/ |
H A D | inode.c | 36 struct erofs_inode_extended *die, *copied = NULL; in erofs_read_inode() local 75 die = (struct erofs_inode_extended *)dic; in erofs_read_inode() 95 die = copied; in erofs_read_inode() 97 vi->xattr_isize = erofs_xattr_ibody_size(die->i_xattr_icount); in erofs_read_inode() 99 inode->i_mode = le16_to_cpu(die->i_mode); in erofs_read_inode() 100 iu = die->i_u; in erofs_read_inode() 101 i_uid_write(inode, le32_to_cpu(die->i_uid)); in erofs_read_inode() 102 i_gid_write(inode, le32_to_cpu(die->i_gid)); in erofs_read_inode() 103 set_nlink(inode, le32_to_cpu(die->i_nlink)); in erofs_read_inode() 105 inode_set_ctime(inode, le64_to_cpu(die->i_mtime), in erofs_read_inode() [all …]
|