/openbmc/linux/fs/btrfs/ |
H A D | zstd.c | 423 size_t ret2; in zstd_compress_pages() local 425 ret2 = zstd_compress_stream(stream, &workspace->out_buf, in zstd_compress_pages() 427 if (zstd_is_error(ret2)) { in zstd_compress_pages() 429 zstd_get_error_code(ret2)); in zstd_compress_pages() 489 size_t ret2; in zstd_compress_pages() local 491 ret2 = zstd_end_stream(stream, &workspace->out_buf); in zstd_compress_pages() 492 if (zstd_is_error(ret2)) { in zstd_compress_pages() 494 zstd_get_error_code(ret2)); in zstd_compress_pages() 498 if (ret2 == 0) { in zstd_compress_pages() 571 size_t ret2; in zstd_decompress_bio() local [all …]
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | i2c-mux-uclass.c | 153 int ret, ret2; in i2c_mux_bus_set_bus_speed() local 159 ret2 = i2c_mux_deselect(dev); in i2c_mux_bus_set_bus_speed() 161 return ret ? ret : ret2; in i2c_mux_bus_set_bus_speed() 170 int ret, ret2; in i2c_mux_bus_probe() local 179 ret2 = i2c_mux_deselect(dev); in i2c_mux_bus_probe() 181 return ret ? ret : ret2; in i2c_mux_bus_probe() 190 int ret, ret2; in i2c_mux_bus_xfer() local 199 ret2 = i2c_mux_deselect(dev); in i2c_mux_bus_xfer() 201 return ret ? ret : ret2; in i2c_mux_bus_xfer()
|
/openbmc/linux/drivers/mfd/ |
H A D | intel-m10-bmc-pmci.c | 66 int ret, ret2; in indirect_reg_read() local 83 ret2 = indirect_clear_cmd(ctx); in indirect_reg_read() 87 if (ret2) in indirect_reg_read() 88 return ret2; in indirect_reg_read() 98 int ret, ret2; in indirect_reg_write() local 114 ret2 = indirect_clear_cmd(ctx); in indirect_reg_write() 118 return ret2; in indirect_reg_write() 257 int ret, ret2; in m10bmc_pmci_flash_read() local 272 ret2 = m10bmc_pmci_set_flash_host_mux(m10bmc, false); in m10bmc_pmci_flash_read() 278 return ret2; in m10bmc_pmci_flash_read()
|
/openbmc/linux/io_uring/ |
H A D | rw.c | 717 ssize_t ret, ret2; in __io_read() local 812 ret2 = io_setup_async_rw(req, iovec, s, true); in __io_read() 814 if (ret2) { in __io_read() 815 ret = ret > 0 ? ret : ret2; in __io_read() 902 ssize_t ret, ret2; in io_write() local 953 ret2 = call_write_iter(req->file, kiocb, &s->iter); in io_write() 955 ret2 = loop_rw_iter(WRITE, rw, &s->iter); in io_write() 957 ret2 = -EINVAL; in io_write() 961 ret2 = -EAGAIN; in io_write() 968 if (ret2 == -EOPNOTSUPP && (kiocb->ki_flags & IOCB_NOWAIT)) in io_write() [all …]
|
H A D | poll.c | 983 int ret2, ret = 0; in io_poll_remove() local 987 ret2 = io_poll_disarm(preq); in io_poll_remove() 990 if (!ret2) in io_poll_remove() 992 if (ret2 != -ENOENT) { in io_poll_remove() 993 ret = ret2; in io_poll_remove() 998 ret2 = io_poll_disarm(preq); in io_poll_remove() 1001 if (ret2) { in io_poll_remove() 1002 ret = ret2; in io_poll_remove() 1024 ret2 = io_poll_add(preq, issue_flags & ~IO_URING_F_UNLOCKED); in io_poll_remove() 1026 if (!ret2 || ret2 == -EIOCBQUEUED) in io_poll_remove()
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm-uclass.c | 91 int ret, ret2 = 0; in tpm_xfer() local 141 ret2 = ops->cleanup(dev); in tpm_xfer() 142 if (ret2) in tpm_xfer() 143 return log_msg_ret("cleanup", ret2); in tpm_xfer()
|
/openbmc/linux/net/rxrpc/ |
H A D | recvmsg.c | 172 int copy, ret = -EAGAIN, ret2; in rxrpc_recvmsg_data() local 206 ret2 = rxrpc_verify_data(call, skb); in rxrpc_recvmsg_data() 208 sp->offset, sp->len, ret2); in rxrpc_recvmsg_data() 209 if (ret2 < 0) { in rxrpc_recvmsg_data() 210 kdebug("verify = %d", ret2); in rxrpc_recvmsg_data() 211 ret = ret2; in rxrpc_recvmsg_data() 227 ret2 = skb_copy_datagram_iter(skb, rx_pkt_offset, iter, in rxrpc_recvmsg_data() 229 if (ret2 < 0) { in rxrpc_recvmsg_data() 230 ret = ret2; in rxrpc_recvmsg_data()
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-powercycle | 27 ret2=$(i2cset -f -y 4 0x44 0xfd 0x04) 30 if [ "$ret1" -ne 0 ] && { [ "$ret2" -ne 0 ] || [ "$ret3" -ne 0 ]; }; then
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl-n3000-nios.c | 300 int ret, ret2; in n3000_nios_init_done_check() local 374 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_A_MODE_STS, &state_a); in n3000_nios_init_done_check() 375 if (ret2) in n3000_nios_init_done_check() 376 return ret2; in n3000_nios_init_done_check() 378 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_B_MODE_STS, &state_b); in n3000_nios_init_done_check() 379 if (ret2) in n3000_nios_init_done_check() 380 return ret2; in n3000_nios_init_done_check()
|
/openbmc/linux/fs/ext4/ |
H A D | ialloc.c | 943 int ret2, err; in __ext4_new_inode() local 1000 ret2 = ext4_xattr_credits_for_new_inode(dir, mode, encrypt); in __ext4_new_inode() 1001 if (ret2 < 0) { in __ext4_new_inode() 1002 err = ret2; in __ext4_new_inode() 1005 nblocks += ret2; in __ext4_new_inode() 1014 ret2 = 0; in __ext4_new_inode() 1019 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in __ext4_new_inode() 1021 ret2 = find_group_other(sb, dir, &group, mode); in __ext4_new_inode() 1026 if (ret2 == -1) in __ext4_new_inode() 1069 ret2 = find_inode_bit(sb, group, inode_bitmap_bh, &ino); in __ext4_new_inode() [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-powercycle | 24 ret2=$(i2cset -y -f 0 0x44 0xfd 0x0b) 29 if [ "$ret3" -ne 0 ] && { [ "$ret1" -ne 0 ] || [ "$ret2" -ne 0 ]; }; then
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | srm_env.c | 95 unsigned long ret1, ret2; in srm_env_proc_write() local 112 ret2 = callback_save_env(); in srm_env_proc_write() 113 while((ret2 >> 61) == 1); in srm_env_proc_write()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tpa6130a2.c | 42 int ret = 0, ret2; in tpa6130a2_power() local 64 ret2 = regulator_disable(data->supply); in tpa6130a2_power() 65 if (ret2 != 0) in tpa6130a2_power() 67 "Failed to disable supply: %d\n", ret2); in tpa6130a2_power()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_ldsx_insn.c | 19 int done1, done2, ret1, ret2; variable 44 ret2 = 1; in map_val_prog()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-probe.c | 443 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local 479 ret2 = probe_file__get_events(ufd, filter, ulist); in perf_del_probe_events() 480 if (ret2 == 0) { in perf_del_probe_events() 484 ret2 = probe_file__del_strlist(ufd, ulist); in perf_del_probe_events() 485 if (ret2 < 0) in perf_del_probe_events() 487 } else if (ret2 == -ENOMEM) in perf_del_probe_events() 490 if (ret == -ENOENT && ret2 == -ENOENT) in perf_del_probe_events()
|
/openbmc/linux/fs/ocfs2/ |
H A D | acl.c | 361 int ret = 0, ret2; in ocfs2_init_acl() local 395 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl() 396 if (ret2) { in ocfs2_init_acl() 397 mlog_errno(ret2); in ocfs2_init_acl() 398 ret = ret2; in ocfs2_init_acl()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.c | 631 ssize_t ret, ret2, ret3; in process_one_client() local 650 ret2 = write(fd, buf, ret); in process_one_client() 651 if (ret2 < 0) in process_one_client() 659 do_getsockopts(&s, fd, ret, ret2); in process_one_client() 665 if (s.last_sample.mptcpi_bytes_sent != ret2) in process_one_client() 667 s.last_sample.mptcpi_bytes_sent, ret2, in process_one_client() 668 s.last_sample.mptcpi_bytes_sent - ret2); in process_one_client() 675 s.last_sample.mptcpi_bytes_acked, ret2, in process_one_client() 676 s.last_sample.mptcpi_bytes_acked - ret2); in process_one_client()
|
/openbmc/linux/mm/ |
H A D | truncate.c | 626 int ret2 = 0; in invalidate_inode_pages2_range() local 669 ret2 = folio_launder(mapping, folio); in invalidate_inode_pages2_range() 670 if (ret2 == 0) { in invalidate_inode_pages2_range() 672 ret2 = -EBUSY; in invalidate_inode_pages2_range() 674 if (ret2 < 0) in invalidate_inode_pages2_range() 675 ret = ret2; in invalidate_inode_pages2_range()
|
/openbmc/linux/drivers/gnss/ |
H A D | sirf.c | 293 int ret2; in sirf_runtime_suspend() local 312 ret2 = sirf_set_active(data, true); in sirf_runtime_suspend() 314 ret2 = regulator_enable(data->vcc); in sirf_runtime_suspend() 316 if (ret2) in sirf_runtime_suspend() 319 ret2); in sirf_runtime_suspend()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | max11410.c | 417 int ret2; in max11410_sample() local 420 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_sample() 421 ret2 || (val & MAX11410_STATUS_CONV_READY_BIT), in max11410_sample() 426 if (ret2) in max11410_sample() 427 return ret2; in max11410_sample() 858 int ret, ret2, val; in max11410_calibrate() local 865 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_calibrate() 866 ret2 || (val & MAX11410_STATUS_CAL_READY_BIT), in max11410_calibrate() 872 return ret2; in max11410_calibrate()
|
/openbmc/linux/fs/ |
H A D | direct-io.c | 552 int ret2; in dio_bio_reap() local 558 ret2 = blk_status_to_errno(dio_bio_complete(dio, bio)); in dio_bio_reap() 560 ret = ret2; in dio_bio_reap() 1059 int ret2; in drop_refcount() local 1074 ret2 = --dio->refcount; in drop_refcount() 1076 return ret2; in drop_refcount() 1266 ssize_t ret2; in __blockdev_direct_IO() local 1268 ret2 = dio_send_cur_page(dio, &sdio, &map_bh); in __blockdev_direct_IO() 1270 retval = ret2; in __blockdev_direct_IO()
|
H A D | sync.c | 153 int ret, ret2; in SYSCALL_DEFINE1() local 163 ret2 = errseq_check_and_advance(&sb->s_wb_err, &f.file->f_sb_err); in SYSCALL_DEFINE1() 166 return ret ? ret : ret2; in SYSCALL_DEFINE1()
|
/openbmc/bmcweb/test/http/ |
H A D | http_response_test.cpp | 45 std::string ret2 = boost::beast::buffers_to_string(buffer); in getData() local 46 sr.consume(ret2.size()); in getData() 47 ret += ret2; in getData()
|
/openbmc/linux/lib/crypto/ |
H A D | curve25519-selftest.c | 1285 bool success = true, ret, ret2; in curve25519_selftest() local 1306 ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in curve25519_selftest() 1308 if (ret != ret2 || in curve25519_selftest()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ad5820.c | 107 int ret = 0, ret2; in ad5820_power_off() local 120 ret2 = regulator_disable(coil->vana); in ad5820_power_off() 123 return ret2; in ad5820_power_off()
|