Home
last modified time | relevance | path

Searched refs:die (Results 1 - 25 of 280) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/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("unshar 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("setui in create_and_enter_ns()
[all...]
/kernel/linux/linux-6.6/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("unshar 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("setui in create_and_enter_ns()
[all...]
/kernel/linux/linux-6.6/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("mountin in ensure_securityfs_mounted()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
H 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()
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("cant open add_whitelist_policy file\n"); in write_policies()
159 die("shor in write_policies()
[all...]
/kernel/linux/linux-6.6/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c20 * the die:
354 u8 die_idx, struct hccs_die_info *die) in hccs_query_die_info_on_chip()
370 die->die_id = rsp_data->die_id; in hccs_query_die_info_on_chip()
371 die->port_num = rsp_data->port_num; in hccs_query_die_info_on_chip()
372 die->min_port_id = rsp_data->min_port_id; in hccs_query_die_info_on_chip()
373 die->max_port_id = rsp_data->max_port_id; in hccs_query_die_info_on_chip()
374 if (die->min_port_id > die->max_port_id) { in hccs_query_die_info_on_chip()
376 die->min_port_id, die in hccs_query_die_info_on_chip()
353 hccs_query_die_info_on_chip(struct hccs_dev *hdev, u8 chip_id, u8 die_idx, struct hccs_die_info *die) hccs_query_die_info_on_chip() argument
392 struct hccs_die_info *die; hccs_query_all_die_info_on_platform() local
453 hccs_get_all_port_attr(struct hccs_dev *hdev, struct hccs_die_info *die, struct hccs_port_attr *attrs, u16 size) hccs_get_all_port_attr() argument
501 hccs_get_all_port_info_on_die(struct hccs_dev *hdev, struct hccs_die_info *die) hccs_get_all_port_info_on_die() argument
537 struct hccs_die_info *die; hccs_query_all_port_info_on_platform() local
601 const struct hccs_die_info *die = port->die; hccs_query_port_link_status() local
628 const struct hccs_die_info *die = port->die; hccs_query_port_crc_err_cnt() local
651 hccs_get_die_all_link_status(struct hccs_dev *hdev, const struct hccs_die_info *die, u8 *all_linked) hccs_get_die_all_link_status() argument
681 hccs_get_die_all_port_lane_status(struct hccs_dev *hdev, const struct hccs_die_info *die, u8 *full_lane) hccs_get_die_all_port_lane_status() argument
710 hccs_get_die_total_crc_err_cnt(struct hccs_dev *hdev, const struct hccs_die_info *die, u64 *total_crc_err_cnt) hccs_get_die_total_crc_err_cnt() argument
889 const struct hccs_die_info *die = kobj_to_die_info(kobj); all_linked_on_die_show() local
909 const struct hccs_die_info *die = kobj_to_die_info(kobj); linked_full_lane_on_die_show() local
929 const struct hccs_die_info *die = kobj_to_die_info(kobj); crc_err_cnt_sum_on_die_show() local
963 const struct hccs_die_info *die; all_linked_on_chip_show() local
994 const struct hccs_die_info *die; linked_full_lane_on_chip_show() local
1026 const struct hccs_die_info *die; crc_err_cnt_sum_on_chip_show() local
1061 hccs_remove_die_dir(struct hccs_die_info *die) hccs_remove_die_dir() argument
1077 struct hccs_die_info *die; hccs_remove_chip_dir() local
1097 hccs_create_hccs_dir(struct hccs_dev *hdev, struct hccs_die_info *die, struct hccs_port_info *port) hccs_create_hccs_dir() argument
1113 hccs_create_die_dir(struct hccs_dev *hdev, struct hccs_chip_info *chip, struct hccs_die_info *die) hccs_create_die_dir() argument
1149 struct hccs_die_info *die; hccs_create_chip_dir() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H 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()
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("unshar in test_fw_in_ns()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/
H 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()
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("unshar in test_fw_in_ns()
[all...]
/kernel/linux/linux-6.6/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()
159 die("Calculated a negative offset, probably elftoaout generated an invalid image. Did you use a recent elftoaout ?"); 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(arg in main()
[all...]
/kernel/linux/linux-5.10/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()
158 die("lseek"); in get_hdrs_offset()
160 die(filename); in get_hdrs_offset()
187 die(argv[4]); in main()
195 die(argv[2]); in main()
197 die(argv[2]); in main()
215 die("lsee in main()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/boot/tools/
H A Drelocs.c56 die("%s", errbuf); in regex_init()
143 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
146 die("No ELF magic\n"); in read_ehdr()
149 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
152 die("Unsupported ELF Endianness\n"); in read_ehdr()
155 die("Unknown ELF version\n"); in read_ehdr()
158 die("Unsupported ELF header type\n"); in read_ehdr()
161 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
164 die("Unknown ELF version\n"); in read_ehdr()
167 die("Ba in read_ehdr()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/livepatch/
H A Dfunctions.sh37 # die(msg) - game over, man
39 function die() { function
153 die "$ret"
158 die "failed to load module $mod"
172 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 "faile
[all...]
/kernel/linux/linux-5.10/drivers/soc/fsl/
H A Dguts.c23 char *die; member
33 /* SoC die attribute definition for QorIQ platform */
40 { .die = "T4240",
45 { .die = "T1040",
50 { .die = "T2080",
55 { .die = "T1024",
65 { .die = "LS1043A",
70 { .die = "LS2080A",
75 { .die = "LS1088A",
80 { .die
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Drpath.sh85 die() { function
131 die "martian ping 192.168.42.1 succeeded"
133 die "martian ping fec0:42::1 succeeded"
135 ipt_zero_rule "$iptables" || die "iptables matched martian"
136 ipt_zero_rule "$ip6tables" || die "ip6tables matched martian"
137 ipt_zero_reverse_rule "$iptables" && die "iptables not matched martian"
138 ipt_zero_reverse_rule "$ip6tables" && die "ip6tables not matched martian"
139 nft_zero_rule ip || die "nft IPv4 matched martian"
140 nft_zero_rule ip6 || die "nft IPv6 matched martian"
146 die "regula
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/
H A Dfunctions.sh36 # die(msg) - game over, man
38 function die() { function
136 die "$ret"
141 die "failed to load module $mod"
155 die "use load_lp() to load the livepatch 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 "faile
[all...]
/kernel/linux/linux-5.10/arch/mips/boot/tools/
H A Drelocs.c56 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("Ba in read_ehdr()
[all...]
/kernel/linux/linux-6.6/arch/mips/boot/tools/
H A Drelocs.c56 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("Ba in read_ehdr()
[all...]
/kernel/linux/linux-6.6/drivers/soc/fsl/
H A Dguts.c18 char *die; member
28 /* SoC die attribute definition for QorIQ platform */
35 { .die = "T4240",
40 { .die = "T1040",
45 { .die = "T2080",
50 { .die = "T1024",
60 { .die = "LS1043A",
65 { .die = "LS2080A",
70 { .die = "LS1088A",
75 { .die
[all...]
/kernel/linux/linux-6.6/arch/x86/tools/
H A Drelocs.c147 die("%s", errbuf); in regex_init()
369 die("Cannot read ELF header: %s\n", in read_ehdr()
373 die("No ELF magic\n"); in read_ehdr()
376 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
379 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("Ba in read_ehdr()
[all...]
/kernel/linux/linux-5.10/arch/x86/tools/
H A Drelocs.c136 die("%s", errbuf); in regex_init()
341 die("Cannot read ELF header: %s\n", in read_ehdr()
345 die("No ELF magic\n"); in read_ehdr()
348 die("Not a %d bit executable\n", ELF_BITS); in read_ehdr()
351 die("Not a LSB ELF executable\n"); in read_ehdr()
354 die("Unknown ELF version\n"); in read_ehdr()
375 die("Unsupported ELF header type\n"); in read_ehdr()
377 die("Not for %s\n", ELF_MACHINE_NAME); in read_ehdr()
379 die("Unknown ELF version\n"); in read_ehdr()
381 die("Ba in read_ehdr()
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/tools/
H A Dbuild.c121 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("Unabl in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c63 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( in main()
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Duncore.c56 int uncore_die_to_segment(int die) in uncore_die_to_segment() argument
60 /* Find first pci bus which attributes to specified die. */ in uncore_die_to_segment()
62 (die != uncore_pcibus_to_dieid(bus))) in uncore_die_to_segment()
949 int die; in uncore_free_boxes() local
951 for (die = 0; die < uncore_max_dies(); die++) in uncore_free_boxes()
952 kfree(pmu->boxes[die]); in uncore_free_boxes()
1062 * Get the die information of a PCI device.
1064 * @die
1066 uncore_pci_get_dev_die_info(struct pci_dev *pdev, int *die) uncore_pci_get_dev_die_info() argument
1081 int i, die; uncore_pci_find_dev_pmu_from_types() local
1142 uncore_pci_pmu_register(struct pci_dev *pdev, struct intel_uncore_type *type, struct intel_uncore_pmu *pmu, int die) uncore_pci_pmu_register() argument
1189 int die, ret; uncore_pci_probe() local
1236 uncore_pci_pmu_unregister(struct intel_uncore_pmu *pmu, int die) uncore_pci_pmu_unregister() argument
1251 int i, die; uncore_pci_remove() local
1282 int die; uncore_bus_notify() local
1319 int die; uncore_pci_sub_driver_init() local
1374 int i, die; uncore_pci_pmus_register() local
1461 int i, die; uncore_change_type_ctx() local
1513 int die, target; uncore_event_cpu_offline() local
1539 allocate_boxes(struct intel_uncore_type **types, unsigned int die, unsigned int cpu) allocate_boxes() argument
1604 int die, target, msr_ret, mmio_ret; uncore_event_cpu_online() local
[all...]
/kernel/linux/linux-5.10/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()

Completed in 14 milliseconds

12345678910>>...12