Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/udev/scsi_id/
Dscsi_serial.c279 int retval; in scsi_inquiry() local
312 retval = ioctl(fd, SG_IO, io_buf); in scsi_inquiry()
313 if (retval < 0) { in scsi_inquiry()
323 retval = sg_err_category4(io_buf); in scsi_inquiry()
325 retval = sg_err_category3(io_buf); in scsi_inquiry()
327 switch (retval) { in scsi_inquiry()
333 retval = 0; in scsi_inquiry()
338 retval = scsi_dump_v4(dev_scsi, io_buf); in scsi_inquiry()
340 retval = scsi_dump(dev_scsi, io_buf); in scsi_inquiry()
343 if (!retval) { in scsi_inquiry()
[all …]
Dscsi_id.c322 int retval; in per_dev_options() local
329 retval = get_file_options(vendor_str, model_str, &newargc, &newargv); in per_dev_options()
332 while (retval == 0) { in per_dev_options()
355 retval = -1; in per_dev_options()
361 retval = -1; in per_dev_options()
366 return retval; in per_dev_options()
370 int retval; in set_inq_values() local
374 retval = scsi_std_inquiry(dev_scsi, path); in set_inq_values()
375 if (retval) in set_inq_values()
376 return retval; in set_inq_values()
[all …]
/systemd-251/src/test/
Dtest-hexdecoct.c76 static void test_unhexmem_one(const char *s, size_t l, int retval) { in test_unhexmem_one() argument
81 assert_se(unhexmem(s, l, &mem, &len) == retval); in test_unhexmem_one()
82 if (retval == 0) { in test_unhexmem_one()
187 static void test_unbase32hexmem_one(const char *hex, bool padding, int retval, const char *ans) { in test_unbase32hexmem_one() argument
191 assert_se(unbase32hexmem(hex, SIZE_MAX, padding, &mem, &len) == retval); in test_unbase32hexmem_one()
192 if (retval == 0) { in test_unbase32hexmem_one()
Dtest-udev-util.c128 static void test_udev_resolve_subsys_kernel_one(const char *str, bool read_value, int retval, const… in test_udev_resolve_subsys_kernel_one() argument
133 …log_info("\"%s\" → expect: \"%s\", %d, actual: \"%s\", %d", str, strnull(expected), retval, result… in test_udev_resolve_subsys_kernel_one()
134 assert_se(r == retval); in test_udev_resolve_subsys_kernel_one()
/systemd-251/src/import/
Dimport.c86 int retval; in open_source() local
96 retval = open_fd; in open_source()
105 retval = STDIN_FILENO; in open_source()
116 return retval; in open_source()
/systemd-251/src/libsystemd/sd-journal/
Djournal-internal.h127 #define JOURNAL_FOREACH_DATA_RETVAL(j, data, l, retval) \ argument
128 … for (sd_journal_restart_data(j); ((retval) = sd_journal_enumerate_data((j), &(data), &(l))) > 0; )
/systemd-251/src/core/
Dmain.c1439 int retval) { in become_shutdown() argument
1495 xsprintf(exit_code, "%d", retval); in become_shutdown()
2656 int r, retval = EXIT_FAILURE; in main() local
2844 retval = help() < 0 ? EXIT_FAILURE : EXIT_SUCCESS; in main()
2847 retval = version(); in main()
2851 retval = EXIT_SUCCESS; in main()
2855 retval = EXIT_SUCCESS; in main()
2859 retval = r >= 0 ? EXIT_SUCCESS : EXIT_FAILURE; in main()
2953 retval = EXIT_SUCCESS; in main()
2960 &retval, in main()
[all …]
/systemd-251/src/run/
Drun.c1108 int *retval) { in start_transient_service() argument
1118 assert(retval); in start_transient_service()
1357 *retval = 0; in start_transient_service()
1359 *retval = c.exit_status; in start_transient_service()
1361 *retval = EXIT_EXCEPTION; in start_transient_service()
1363 *retval = EXIT_FAILURE; in start_transient_service()
1720 int r, retval = EXIT_SUCCESS; in run() local
1775 r = start_transient_service(bus, &retval); in run()
1779 return retval; in run()
/systemd-251/src/shared/linux/
Dbpf.h1368 __u32 retval; member
6276 __s32 retval; member