Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/openbmc/qemu/util/
H A Derror.c23 static void error_handle(Error **errp, Error *err)
26 if (err->func) { in error_handle()
28 err->func, err->src_len, err->src, err->line); in error_handle()
31 err->src_len, err->src, err->line); in error_handle()
33 error_report("%s", error_get_pretty(err)); in error_handle()
24 error_handle(Error ** errp,Error * err) error_handle() argument
59 Error *err; error_setv() local
158 Error *err; error_append_hint() local
203 error_copy(const Error * err) error_copy() argument
220 error_get_class(const Error * err) error_get_class() argument
225 error_get_pretty(const Error * err) error_get_pretty() argument
230 error_report_err(Error * err) error_report_err() argument
239 warn_report_err(Error * err) warn_report_err() argument
248 warn_report_err_once_cond(bool * printed,Error * err) warn_report_err_once_cond() argument
259 error_reportf_err(Error * err,const char * fmt,...) error_reportf_err() argument
270 warn_reportf_err(Error * err,const char * fmt,...) warn_reportf_err() argument
280 error_free(Error * err) error_free() argument
306 error_propagate_prepend(Error ** dst_errp,Error * err,const char * fmt,...) error_propagate_prepend() argument
[all...]
H A Dqemu-thread-posix.c41 static void error_exit(int err, const char *msg) in error_exit() argument
43 fprintf(stderr, "qemu: %s: %s\n", msg, strerror(err)); in error_exit()
69 int err; in qemu_mutex_init() local
71 err = pthread_mutex_init(&mutex->lock, NULL); in qemu_mutex_init()
72 if (err) in qemu_mutex_init()
73 error_exit(err, __func__); in qemu_mutex_init()
79 int err; in qemu_mutex_destroy() local
83 err = pthread_mutex_destroy(&mutex->lock); in qemu_mutex_destroy()
84 if (err) in qemu_mutex_destroy()
85 error_exit(err, __func__); in qemu_mutex_destroy()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-cutils.c304 int err; in test_qemu_strtoi_correct() local
306 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_correct()
308 g_assert_cmpint(err, ==, 0); in test_qemu_strtoi_correct()
318 int err; in test_qemu_strtoi_null() local
320 err = qemu_strtoi(NULL, &endptr, 0, &res); in test_qemu_strtoi_null()
322 g_assert_cmpint(err, ==, -EINVAL); in test_qemu_strtoi_null()
333 int err; in test_qemu_strtoi_empty() local
335 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_empty()
337 g_assert_cmpint(err, ==, -EINVAL); in test_qemu_strtoi_empty()
348 int err; in test_qemu_strtoi_whitespace() local
363 int err; test_qemu_strtoi_invalid() local
378 int err; test_qemu_strtoi_trailing() local
393 int err; test_qemu_strtoi_octal() local
416 int err; test_qemu_strtoi_decimal() local
440 int err; test_qemu_strtoi_hex() local
473 int err; test_qemu_strtoi_max() local
488 int err; test_qemu_strtoi_overflow() local
537 int err; test_qemu_strtoi_min() local
552 int err; test_qemu_strtoi_underflow() local
608 int err; test_qemu_strtoi_negative() local
633 int err; test_qemu_strtoi_negzero() local
646 int err; test_qemu_strtoi_full_correct() local
659 int err; test_qemu_strtoi_full_null() local
672 int err; test_qemu_strtoi_full_empty() local
684 int err; test_qemu_strtoi_full_negative() local
696 int err; test_qemu_strtoi_full_negzero() local
708 int err; test_qemu_strtoi_full_trailing() local
720 int err; test_qemu_strtoi_full_max() local
734 int err; test_qemu_strtoi_full_erange_junk() local
748 int err; test_qemu_strtoui_correct() local
762 int err; test_qemu_strtoui_null() local
777 int err; test_qemu_strtoui_empty() local
792 int err; test_qemu_strtoui_whitespace() local
807 int err; test_qemu_strtoui_invalid() local
822 int err; test_qemu_strtoui_trailing() local
837 int err; test_qemu_strtoui_octal() local
860 int err; test_qemu_strtoui_decimal() local
884 int err; test_qemu_strtoui_hex() local
918 int err; test_qemu_strtoui_wrap() local
933 int err; test_qemu_strtoui_max() local
948 int err; test_qemu_strtoui_overflow() local
1012 int err; test_qemu_strtoui_underflow() local
1061 int err; test_qemu_strtoui_negative() local
1076 int err; test_qemu_strtoui_negzero() local
1089 int err; test_qemu_strtoui_full_correct() local
1100 int err; test_qemu_strtoui_full_null() local
1112 int err; test_qemu_strtoui_full_empty() local
1124 int err; test_qemu_strtoui_full_negative() local
1135 int err; test_qemu_strtoui_full_negzero() local
1146 int err; test_qemu_strtoui_full_trailing() local
1158 int err; test_qemu_strtoui_full_max() local
1172 int err; test_qemu_strtoui_full_erange_junk() local
1186 int err; test_qemu_strtol_correct() local
1200 int err; test_qemu_strtol_null() local
1215 int err; test_qemu_strtol_empty() local
1230 int err; test_qemu_strtol_whitespace() local
1245 int err; test_qemu_strtol_invalid() local
1260 int err; test_qemu_strtol_trailing() local
1275 int err; test_qemu_strtol_octal() local
1298 int err; test_qemu_strtol_decimal() local
1322 int err; test_qemu_strtol_hex() local
1355 int err; test_qemu_strtol_max() local
1370 int err; test_qemu_strtol_overflow() local
1414 int err; test_qemu_strtol_min() local
1429 int err; test_qemu_strtol_underflow() local
1473 int err; test_qemu_strtol_negative() local
1488 int err; test_qemu_strtol_negzero() local
1501 int err; test_qemu_strtol_full_correct() local
1514 int err; test_qemu_strtol_full_null() local
1527 int err; test_qemu_strtol_full_empty() local
1539 int err; test_qemu_strtol_full_negative() local
1551 int err; test_qemu_strtol_full_negzero() local
1563 int err; test_qemu_strtol_full_trailing() local
1575 int err; test_qemu_strtol_full_max() local
1589 int err; test_qemu_strtol_full_erange_junk() local
1603 int err; test_qemu_strtoul_correct() local
1617 int err; test_qemu_strtoul_null() local
1632 int err; test_qemu_strtoul_empty() local
1647 int err; test_qemu_strtoul_whitespace() local
1662 int err; test_qemu_strtoul_invalid() local
1677 int err; test_qemu_strtoul_trailing() local
1692 int err; test_qemu_strtoul_octal() local
1715 int err; test_qemu_strtoul_decimal() local
1739 int err; test_qemu_strtoul_hex() local
1772 int err; test_qemu_strtoul_wrap() local
1789 int err; test_qemu_strtoul_max() local
1804 int err; test_qemu_strtoul_overflow() local
1847 int err; test_qemu_strtoul_underflow() local
1891 int err; test_qemu_strtoul_negative() local
1906 int err; test_qemu_strtoul_negzero() local
1919 int err; test_qemu_strtoul_full_correct() local
1930 int err; test_qemu_strtoul_full_null() local
1942 int err; test_qemu_strtoul_full_empty() local
1954 int err; test_qemu_strtoul_full_negative() local
1965 int err; test_qemu_strtoul_full_negzero() local
1976 int err; test_qemu_strtoul_full_trailing() local
1988 int err; test_qemu_strtoul_full_max() local
2002 int err; test_qemu_strtoul_full_erange_junk() local
2016 int err; test_qemu_strtoi64_correct() local
2030 int err; test_qemu_strtoi64_null() local
2045 int err; test_qemu_strtoi64_empty() local
2060 int err; test_qemu_strtoi64_whitespace() local
2075 int err; test_qemu_strtoi64_invalid() local
2090 int err; test_qemu_strtoi64_trailing() local
2105 int err; test_qemu_strtoi64_octal() local
2128 int err; test_qemu_strtoi64_decimal() local
2152 int err; test_qemu_strtoi64_hex() local
2185 int err; test_qemu_strtoi64_max() local
2200 int err; test_qemu_strtoi64_overflow() local
2233 int err; test_qemu_strtoi64_min() local
2248 int err; test_qemu_strtoi64_underflow() local
2281 int err; test_qemu_strtoi64_negative() local
2296 int err; test_qemu_strtoi64_negzero() local
2309 int err; test_qemu_strtoi64_full_correct() local
2320 int err; test_qemu_strtoi64_full_null() local
2332 int err; test_qemu_strtoi64_full_empty() local
2344 int err; test_qemu_strtoi64_full_negative() local
2356 int err; test_qemu_strtoi64_full_negzero() local
2368 int err; test_qemu_strtoi64_full_trailing() local
2381 int err; test_qemu_strtoi64_full_max() local
2395 int err; test_qemu_strtoi64_full_erange_junk() local
2409 int err; test_qemu_strtou64_correct() local
2423 int err; test_qemu_strtou64_null() local
2438 int err; test_qemu_strtou64_empty() local
2453 int err; test_qemu_strtou64_whitespace() local
2468 int err; test_qemu_strtou64_invalid() local
2483 int err; test_qemu_strtou64_trailing() local
2498 int err; test_qemu_strtou64_octal() local
2521 int err; test_qemu_strtou64_decimal() local
2545 int err; test_qemu_strtou64_hex() local
2578 int err; test_qemu_strtou64_wrap() local
2593 int err; test_qemu_strtou64_max() local
2608 int err; test_qemu_strtou64_overflow() local
2640 int err; test_qemu_strtou64_underflow() local
2673 int err; test_qemu_strtou64_negative() local
2688 int err; test_qemu_strtou64_negzero() local
2701 int err; test_qemu_strtou64_full_correct() local
2712 int err; test_qemu_strtou64_full_null() local
2724 int err; test_qemu_strtou64_full_empty() local
2736 int err; test_qemu_strtou64_full_negative() local
2748 int err; test_qemu_strtou64_full_negzero() local
2760 int err; test_qemu_strtou64_full_trailing() local
2772 int err; test_qemu_strtou64_full_max() local
2786 int err; test_qemu_strtou64_full_erange_junk() local
2798 int err; test_qemu_strtod_simple() local
2852 int err; test_qemu_strtod_einval() local
2890 int err; test_qemu_strtod_erange() local
2926 int err; test_qemu_strtod_nonfinite() local
2962 int err; test_qemu_strtod_trailing() local
3015 int err; test_qemu_strtod_erange_junk() local
3042 int err; test_qemu_strtod_finite_simple() local
3096 int err; test_qemu_strtod_finite_einval() local
3134 int err; test_qemu_strtod_finite_erange() local
3172 int err; test_qemu_strtod_finite_nonfinite() local
3209 int err; test_qemu_strtod_finite_trailing() local
3265 int err; test_qemu_strtod_finite_erange_junk() local
[all...]
H A Dcrypto-tls-x509-helpers.c91 int err; in test_tls_load_key() local
93 err = gnutls_x509_privkey_init(&key); in test_tls_load_key()
94 if (err < 0) { in test_tls_load_key()
95 g_critical("Failed to init key %s", gnutls_strerror(err)); in test_tls_load_key()
99 err = gnutls_x509_privkey_import(key, &data, in test_tls_load_key()
101 if (err < 0) { in test_tls_load_key()
102 if (err != GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR && in test_tls_load_key()
103 err != GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) { in test_tls_load_key()
104 g_critical("Failed to import key %s", gnutls_strerror(err)); in test_tls_load_key()
108 err = gnutls_x509_privkey_import_pkcs8( in test_tls_load_key()
[all …]
H A Dtest-xs-node.c60 int err; in xs_impl_delete() local
65 err = xs_impl_rm(s, DOMID_QEMU, XBT_NULL, "/local"); in xs_impl_delete()
66 g_assert(!err); in xs_impl_delete()
225 int err; in write_str() local
228 err = xs_impl_write(s, dom_id, tx_id, path, d); in write_str()
230 return err; in write_str()
280 int err; in setup() local
284 err = write_str(s, DOMID_QEMU, XBT_NULL, abspath, ""); in setup()
285 g_assert(!err); in setup()
291 err = xs_impl_set_perms(s, DOMID_QEMU, XBT_NULL, abspath, perms); in setup()
[all …]
/openbmc/qemu/hw/9pfs/
H A Dcofs.c59 int err; in v9fs_co_readlink() local
68 err = __readlink(s, path, buf); in v9fs_co_readlink()
69 if (err < 0) { in v9fs_co_readlink()
70 err = -errno; in v9fs_co_readlink()
74 return err; in v9fs_co_readlink()
80 int err; in v9fs_co_statfs() local
89 err = s->ops->statfs(&s->ctx, path, stbuf); in v9fs_co_statfs()
90 if (err < 0) { in v9fs_co_statfs()
91 err = -errno; in v9fs_co_statfs()
95 return err; in v9fs_co_statfs()
[all …]
H A Dcofile.c29 int err = 0; in v9fs_co_st_gen() local
39 err = s->ctx.exops.get_st_gen(&s->ctx, path, st_mode, in v9fs_co_st_gen()
41 if (err < 0) { in v9fs_co_st_gen()
42 err = -errno; in v9fs_co_st_gen()
47 return err; in v9fs_co_st_gen()
52 int err; in v9fs_co_lstat() local
61 err = s->ops->lstat(&s->ctx, path, stbuf); in v9fs_co_lstat()
62 if (err < 0) { in v9fs_co_lstat()
63 err = -errno; in v9fs_co_lstat()
67 return err; in v9fs_co_lstat()
[all …]
H A Dcodir.c34 int err = 0; in do_readdir() local
42 err = -errno; in do_readdir()
46 return err; in do_readdir()
56 int err; in v9fs_co_readdir() local
62 err = do_readdir(pdu, fidp, dent); in v9fs_co_readdir()
64 return err; in v9fs_co_readdir()
78 int len, err = 0; in do_readdir_many() local
110 err = saved_dir_pos; in do_readdir_many()
117 err = -EINTR; in do_readdir_many()
122 err = do_readdir(pdu, fidp, &dent); in do_readdir_many()
[all …]
H A Dcoxattr.c28 int err; in v9fs_co_llistxattr() local
37 err = s->ops->llistxattr(&s->ctx, path, value, size); in v9fs_co_llistxattr()
38 if (err < 0) { in v9fs_co_llistxattr()
39 err = -errno; in v9fs_co_llistxattr()
43 return err; in v9fs_co_llistxattr()
50 int err; in v9fs_co_lgetxattr() local
59 err = s->ops->lgetxattr(&s->ctx, path, in v9fs_co_lgetxattr()
62 if (err < 0) { in v9fs_co_lgetxattr()
63 err = -errno; in v9fs_co_lgetxattr()
67 return err; in v9fs_co_lgetxattr()
[all …]
/openbmc/u-boot/common/spl/
H A Dspl_fat.c23 int err = 0; in spl_register_fat_device() local
26 return err; in spl_register_fat_device()
28 err = fat_register_device(block_dev, partition); in spl_register_fat_device()
29 if (err) { in spl_register_fat_device()
31 printf("%s: fat register err - %d\n", __func__, err); in spl_register_fat_device()
33 return err; in spl_register_fat_device()
38 return err; in spl_register_fat_device()
59 int err; in spl_load_image_fat() local
62 err = spl_register_fat_device(block_dev, partition); in spl_load_image_fat()
63 if (err) in spl_load_image_fat()
[all …]
H A Dspl_ext.c14 s32 err; in spl_load_image_ext() local
28 err = ext4fs_mount(0); in spl_load_image_ext()
29 if (!err) { in spl_load_image_ext()
31 printf("%s: ext4fs mount err - %d\n", __func__, err); in spl_load_image_ext()
36 err = ext4fs_open(filename, &filelen); in spl_load_image_ext()
37 if (err < 0) { in spl_load_image_ext()
41 err = ext4fs_read((char *)header, 0, sizeof(struct image_header), &actlen); in spl_load_image_ext()
42 if (err < 0) { in spl_load_image_ext()
47 err = spl_parse_image_header(spl_image, header); in spl_load_image_ext()
48 if (err < 0) { in spl_load_image_ext()
[all …]
H A Dspl_mmc.c119 int err, mmc_dev; in spl_mmc_find_device() local
125 err = mmc_initialize(NULL); in spl_mmc_find_device()
126 if (err) { in spl_mmc_find_device()
128 printf("spl: could not initialize mmc. error: %d\n", err); in spl_mmc_find_device()
130 return err; in spl_mmc_find_device()
134 err = uclass_get_device(UCLASS_MMC, mmc_dev, &dev); in spl_mmc_find_device()
135 if (!err) in spl_mmc_find_device()
139 err = *mmcp ? 0 : -ENODEV; in spl_mmc_find_device()
141 if (err) { in spl_mmc_find_device()
144 mmc_dev, err); in spl_mmc_find_device()
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/
H A Dmc.c172 int err = 0, len = 0, size, i; in mc_fixup_mac_addr() local
197 return err; in mc_fixup_mac_addr()
201 err = fdt_increase_size(blob, size); in mc_fixup_mac_addr()
202 if (err) { in mc_fixup_mac_addr()
204 fdt_strerror(err)); in mc_fixup_mac_addr()
205 return err; in mc_fixup_mac_addr()
209 err = fdt_setprop(blob, nodeoffset, propname, val, len); in mc_fixup_mac_addr()
210 if (err) { in mc_fixup_mac_addr()
211 printf("fdt_setprop: err=%s\n", fdt_strerror(err)); in mc_fixup_mac_addr()
212 return err; in mc_fixup_mac_addr()
[all …]
H A Ddprc.c18 int err; in dprc_get_container_id() local
26 err = mc_send_command(mc_io, &cmd); in dprc_get_container_id()
27 if (err) in dprc_get_container_id()
28 return err; in dprc_get_container_id()
42 int err; in dprc_open() local
50 err = mc_send_command(mc_io, &cmd); in dprc_open()
51 if (err) in dprc_open()
52 return err; in dprc_open()
82 int err; in dprc_create_container() local
92 err = mc_send_command(mc_io, &cmd); in dprc_create_container()
[all …]
H A Ddpmac.c20 int err; in dpmac_open() local
29 err = mc_send_command(mc_io, &cmd); in dpmac_open()
30 if (err) in dpmac_open()
31 return err; in dpmac_open()
36 return err; in dpmac_open()
60 int err; in dpmac_create() local
69 err = mc_send_command(mc_io, &cmd); in dpmac_create()
70 if (err) in dpmac_create()
71 return err; in dpmac_create()
104 int err; in dpmac_get_attributes() local
[all …]
/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c112 int err = 0; in ldpaa_eth_get_dpni_counter() local
118 err = dpni_get_statistics(dflt_mc_io, MC_CMD_NO_FLAGS, in ldpaa_eth_get_dpni_counter()
121 if (err < 0) { in ldpaa_eth_get_dpni_counter()
123 printf("%d for page[%d]\n", err, page); in ldpaa_eth_get_dpni_counter()
133 int err = 0; in ldpaa_eth_get_dpmac_counter() local
136 err = dpmac_get_counter(dflt_mc_io, MC_CMD_NO_FLAGS, in ldpaa_eth_get_dpmac_counter()
140 if (err < 0) { in ldpaa_eth_get_dpmac_counter()
147 err = dpmac_get_counter(dflt_mc_io, MC_CMD_NO_FLAGS, in ldpaa_eth_get_dpmac_counter()
151 if (err < 0) { in ldpaa_eth_get_dpmac_counter()
157 err = dpmac_get_counter(dflt_mc_io, MC_CMD_NO_FLAGS, in ldpaa_eth_get_dpmac_counter()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dio.c122 int err, retries = 0; in ubi_io_read() local
132 err = self_check_not_bad(ubi, pnum); in ubi_io_read()
133 if (err) in ubi_io_read()
134 return err; in ubi_io_read()
160 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_io_read()
161 if (err) { in ubi_io_read()
162 const char *errstr = mtd_is_eccerr(err) ? " (ECC error)" : ""; in ubi_io_read()
164 if (mtd_is_bitflip(err)) { in ubi_io_read()
181 err, errstr, len, pnum, offset, read); in ubi_io_read()
187 err, errstr, len, pnum, offset, read); in ubi_io_read()
[all …]
H A Dupd.c49 int err; in set_update_marker() local
64 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker()
67 return err; in set_update_marker()
83 int err; in clear_update_marker() local
104 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in clear_update_marker()
107 return err; in clear_update_marker()
123 int i, err; in ubi_start_update() local
133 err = set_update_marker(ubi, vol); in ubi_start_update()
134 if (err) in ubi_start_update()
135 return err; in ubi_start_update()
[all …]
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_empty_tree.c60 int err; in fdt_create_empty_tree() local
62 err = fdt_create(buf, bufsize); in fdt_create_empty_tree()
63 if (err) in fdt_create_empty_tree()
64 return err; in fdt_create_empty_tree()
66 err = fdt_finish_reservemap(buf); in fdt_create_empty_tree()
67 if (err) in fdt_create_empty_tree()
68 return err; in fdt_create_empty_tree()
70 err = fdt_begin_node(buf, ""); in fdt_create_empty_tree()
71 if (err) in fdt_create_empty_tree()
72 return err; in fdt_create_empty_tree()
[all …]
/openbmc/u-boot/drivers/power/pmic/
H A Das3722_gpio.c18 int err; in as3722_gpio_configure() local
26 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_configure()
27 if (err) { in as3722_gpio_configure()
28 pr_err("failed to configure GPIO#%u: %d\n", gpio, err); in as3722_gpio_configure()
29 return err; in as3722_gpio_configure()
41 int err; in as3722_gpio_set_value() local
46 err = pmic_reg_read(pmic, AS3722_GPIO_SIGNAL_OUT); in as3722_gpio_set_value()
47 if (err < 0) { in as3722_gpio_set_value()
48 pr_err("failed to read GPIO signal out register: %d\n", err); in as3722_gpio_set_value()
49 return err; in as3722_gpio_set_value()
[all …]
/openbmc/u-boot/drivers/power/
H A Dpalmas.c12 int err; in palmas_init_settings() local
18 err = palmas_i2c_write_u8(TWL603X_CHIP_P1, SMPS7_CTRL, val); in palmas_init_settings()
19 if (err) in palmas_init_settings()
21 err); in palmas_init_settings()
83 int err; in twl603x_mmc1_set_ldo9() local
96 err = palmas_i2c_write_u8(TWL603X_CHIP_P1, LDO9_VOLTAGE, vval); in twl603x_mmc1_set_ldo9()
97 if (err) { in twl603x_mmc1_set_ldo9()
99 vsel > LDO_VOLT_3V3 ? "bypass" : "voltage", err); in twl603x_mmc1_set_ldo9()
100 return err; in twl603x_mmc1_set_ldo9()
102 err = palmas_i2c_write_u8(TWL603X_CHIP_P1, LDO9_CTRL, cval); in twl603x_mmc1_set_ldo9()
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dgc.c73 int err, gc_lnum = c->gc_lnum; in switch_gc_head() local
81 err = ubifs_wbuf_sync_nolock(wbuf); in switch_gc_head()
82 if (err) in switch_gc_head()
83 return err; in switch_gc_head()
89 err = ubifs_leb_unmap(c, gc_lnum); in switch_gc_head()
90 if (err) in switch_gc_head()
91 return err; in switch_gc_head()
93 err = ubifs_wbuf_sync_nolock(wbuf); in switch_gc_head()
94 if (err) in switch_gc_head()
95 return err; in switch_gc_head()
[all …]
H A Dtnc.c137 int err; in ins_clr_old_idx_znode() local
144 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode()
145 if (err) in ins_clr_old_idx_znode()
146 return err; in ins_clr_old_idx_znode()
153 err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs); in ins_clr_old_idx_znode()
154 if (err) in ins_clr_old_idx_znode()
155 return err; in ins_clr_old_idx_znode()
250 int err; in dirty_cow_znode() local
258 err = add_idx_dirt(c, zbr->lnum, zbr->len); in dirty_cow_znode()
259 if (unlikely(err)) in dirty_cow_znode()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dmmc.c212 int err, retries = 5; in mmc_send_status() local
220 err = mmc_send_cmd(mmc, &cmd, NULL); in mmc_send_status()
221 if (!err) { in mmc_send_status()
235 return err; in mmc_send_status()
257 int err; in mmc_set_blocklen() local
266 err = mmc_send_cmd(mmc, &cmd, NULL); in mmc_set_blocklen()
269 if (err && (mmc->quirks & MMC_QUIRK_RETRY_SET_BLOCKLEN)) { in mmc_set_blocklen()
276 err = mmc_send_cmd(mmc, &cmd, NULL); in mmc_set_blocklen()
277 if (!err) in mmc_set_blocklen()
283 return err; in mmc_set_blocklen()
[all …]
/openbmc/u-boot/board/samsung/smdkv310/
H A Dsmdkv310.c92 int i, err; in board_mmc_init() local
118 err = s5p_mmc_init(2, 4); in board_mmc_init()
119 return err; in board_mmc_init()
125 int err; in board_uart_init() local
127 err = exynos_pinmux_config(PERIPH_ID_UART0, PINMUX_FLAG_NONE); in board_uart_init()
128 if (err) { in board_uart_init()
130 return err; in board_uart_init()
133 err = exynos_pinmux_config(PERIPH_ID_UART1, PINMUX_FLAG_NONE); in board_uart_init()
134 if (err) { in board_uart_init()
136 return err; in board_uart_init()
[all …]

12345678910>>...45